Hello again and sorry for a lot of questions - I'm on a coding spree lmao.
Anyways.. I'm tinkering with different conditions to apply extra damage and such depending on attack type using the "onHealthChange" function in a creaturescript.
My question however is about what is referred to and being the differences between primary and secondary in the parameters of the function call?
Would a mutliplier on both primaryDamage and secondaryDamage for example apply on all type of damage or is it just auto attacks in one and runes/spells in another for example?
~BR
Anyways.. I'm tinkering with different conditions to apply extra damage and such depending on attack type using the "onHealthChange" function in a creaturescript.
My question however is about what is referred to and being the differences between primary and secondary in the parameters of the function call?
Would a mutliplier on both primaryDamage and secondaryDamage for example apply on all type of damage or is it just auto attacks in one and runes/spells in another for example?
Lua:
function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)
~BR