MorbazanRhot
New Member
- Reaction score
- 7
So I'm working with enhancing my spell damage by scaling it with the casters intelligence, but I've run into a problem: timing the damage to when the spell hits. This isn't as much of a problem with aoe spells because you can set the damage to happen after a certain amount of time, but for single target spells I've had to live with just using waits and hoping for the best (never a good thing). Let me give an example:
Firebolt Bonus
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Firebolt yes
Actions
Wait 0.30 seconds
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (0.50 x (Real(WizardSpellDamage))) damage of attack type Spells and damage type Fire
Now the first problem is that based on the distance from the target it may hit at a different time than projected making the damage look even more off. An even bigger problem is that if you issue another order (most usually move) before the wait time is up, the bonus damage wont even resolve. So that leads me to my question: Is there a way to make the trigger occur when a unit takes damage from or is affected by a spell as opposed to when the spell is cast/resolves? Or if there's no answer for that, is there atleast a better way of timing the damage so that it's not so buggy? Thanks a lot in advance, and of course, easy +rep for anyone who can help .
Firebolt Bonus
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Firebolt yes
Actions
Wait 0.30 seconds
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (0.50 x (Real(WizardSpellDamage))) damage of attack type Spells and damage type Fire
Now the first problem is that based on the distance from the target it may hit at a different time than projected making the damage look even more off. An even bigger problem is that if you issue another order (most usually move) before the wait time is up, the bonus damage wont even resolve. So that leads me to my question: Is there a way to make the trigger occur when a unit takes damage from or is affected by a spell as opposed to when the spell is cast/resolves? Or if there's no answer for that, is there atleast a better way of timing the damage so that it's not so buggy? Thanks a lot in advance, and of course, easy +rep for anyone who can help .