I'm trying to trigger a strafing spell called 'Insanity Strafing'. What it does is place a buff on the caster for 7 seconds. As long as the unit has the buff, the unit's damage is halved, attack speed quadripled and the unit gains a 50% chance to attack again (shown by a partially transparent image of the unit appearing (on the unit), attacking then disappearing). One problem; I have completely no idea how to do it.
I tried basing the spell off bloodlust for the 4x attack speed, and then having a partially transparent dummy unit appear, do an attack animation, then disappear as damage was dealt. I also made an item skill off Command Aura which was given to the caster then taken away after 7 seconds. But then the bloodlust lasted forever (I did change the duration to 7, but...), and the game would crash as a dummy unit was created. I ended up deleting the hopeless triggers.
I guess you could say this thread is a spell request. Could anyone code the spell for me, or tell me how do I go about coding it, if it isn't too much trouble?
I tried basing the spell off bloodlust for the 4x attack speed, and then having a partially transparent dummy unit appear, do an attack animation, then disappear as damage was dealt. I also made an item skill off Command Aura which was given to the caster then taken away after 7 seconds. But then the bloodlust lasted forever (I did change the duration to 7, but...), and the game would crash as a dummy unit was created. I ended up deleting the hopeless triggers.
I guess you could say this thread is a spell request. Could anyone code the spell for me, or tell me how do I go about coding it, if it isn't too much trouble?