Hello,
I would like to ask for help regarding my trigger for a custom spell. It is supposed to deal damage according to the targeted unit's missing health (somewhat like Reaper's Scythe in Dota for Necrophos), and if the targeted unit died, reset every cooldown on casting unit afterwards. However, I have seen to run into a problem, as (probably due to a conversion issue, but that's just my wild guess) no damage is being dealt to the enemies. Might the problem be the subtraction, or the multiplication with the 0.80/1/1.20/1.50x mutliplier?
Also as a sidenote, I can't really do JASS or stuff only GUI, so if the trigger might be not perfect or efficient it's because of this.
Edit: Also, the z_Emperor_PublicExecHP is a real variable, and also the spell itself is simple unit target (Storm Bolt modified), it works if i put 300 or some number instead of the arithmetic stuff, forgot to add that info.
Thanks for the help in advance!
I would like to ask for help regarding my trigger for a custom spell. It is supposed to deal damage according to the targeted unit's missing health (somewhat like Reaper's Scythe in Dota for Necrophos), and if the targeted unit died, reset every cooldown on casting unit afterwards. However, I have seen to run into a problem, as (probably due to a conversion issue, but that's just my wild guess) no damage is being dealt to the enemies. Might the problem be the subtraction, or the multiplication with the 0.80/1/1.20/1.50x mutliplier?

Also as a sidenote, I can't really do JASS or stuff only GUI, so if the trigger might be not perfect or efficient it's because of this.
Edit: Also, the z_Emperor_PublicExecHP is a real variable, and also the spell itself is simple unit target (Storm Bolt modified), it works if i put 300 or some number instead of the arithmetic stuff, forgot to add that info.
Thanks for the help in advance!
Last edited: