Luan Luciano
Member
I'm creating a life leech system, but I want it to be done only by attacks with enchanted weapons ...
I edited a new wand by the weapons file... but its 'origin' damage is ORIGIN_SPELL, just like any other spells, how could I differentiate them?
Lua:
onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)
I edited a new wand by the weapons file... but its 'origin' damage is ORIGIN_SPELL, just like any other spells, how could I differentiate them?