Sirxon Posted August 14, 2012 Share Posted August 14, 2012 Well basically i want to make the enchantment, but in short way when you hit your target with the weapon the spell kicks in.Anyway the bonus damage of 30 is always the same each time you hit the target but wears out if you dont hit the target in the 5 seconds or target is dead.Here is more better description: When you hit an enemy you "dig" deeper in the wounds causing consecutive attacks to the same enemy to deal more damage. Each hit on the same target within 6 seconds, including the first hit, deals damage and increases the damage taken by subsequent attacks. If the same target is not attacked after 6 seconds, the bonus damage is lost. Link to comment Share on other sites More sharing options...
Mujuro Posted August 15, 2012 Share Posted August 15, 2012 Check out my Stormbringer mod, the runeblade I created there absorbs 15 health and stamina per hit, stacking, and lasting for 30 seconds before "unstacking". This particular version is geared towards the player; I have an NPC version of that effect that will be coming out with v4 of Sands of Time by Tonycubed. Link to comment Share on other sites More sharing options...
Sjogga Posted August 15, 2012 Share Posted August 15, 2012 Well basically i want to make the enchantment, but in short way when you hit your target with the weapon the spell kicks in.Anyway the bonus damage of 30 is always the same each time you hit the target but wears out if you dont hit the target in the 5 seconds or target is dead.Here is more better description: When you hit an enemy you "dig" deeper in the wounds causing consecutive attacks to the same enemy to deal more damage. Each hit on the same target within 6 seconds, including the first hit, deals damage and increases the damage taken by subsequent attacks. If the same target is not attacked after 6 seconds, the bonus damage is lost. Cant say for sure if this works, but try this: scriptname stackDamage extends activemagiceffect Actor Property Target auto hidden Int Property Damage = 30 auto Int Property Stacks = 1 auto hidden Keyword Property StackingSpellKW auto event OnEffectStart(actor akTarget, Actor akCaster) Target = akTarget endEvent event OnEffectFinish(actor akTarget, Actor akCaster) stacks = 1 endEvent Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, \ bool abBashAttack, bool abHitBlocked) if((akSource as Spell).hasKeyword(StackingSpellKW) Target.damageav("health", Damage*Stacks) Stacks+=1 endif endEvent Attach this script to your enchantment magic effect, along with a custom keyword. Link to comment Share on other sites More sharing options...
Sirxon Posted August 15, 2012 Author Share Posted August 15, 2012 Sjogga@Ok ill try can you tell me how should look the Magic Effect exactly? Link to comment Share on other sites More sharing options...
Sjogga Posted August 18, 2012 Share Posted August 18, 2012 Duplicate the soul trap effect, then change archetype to script. That should do it. Link to comment Share on other sites More sharing options...
Sirxon Posted August 20, 2012 Author Share Posted August 20, 2012 Oh yes will this work as an ability too? Lets say for werewolves like "upgraded" Unarmed Damage? Link to comment Share on other sites More sharing options...
Sjogga Posted August 21, 2012 Share Posted August 21, 2012 Probably. Link to comment Share on other sites More sharing options...
Sirxon Posted August 21, 2012 Author Share Posted August 21, 2012 Ok tnx for help. Link to comment Share on other sites More sharing options...
Recommended Posts