Jump to content

Recommended Posts

Posted

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.

Posted
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.
Posted

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.

Posted

Sjogga@

Ok ill try can you tell me how should look the Magic Effect exactly?

Posted
Oh yes will this work as an ability too? Lets say for werewolves like "upgraded" Unarmed Damage?
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...