- Joined
- Mar 12, 2008
- Messages
- 437
[Solved] Spell not working
Good morning.
First of all, I don't want any replies about fixing the leaks/fixing the damage/killing the units/etc. I know that I have not fixed the leaks/fixed the damage/killed the units/etc. I will do that later as this starts working. Now,
I'm making a Thunder Clapish spell. What it does is deal damage to enemies around the caster as well as giving them a negative Inner Fire buff, reducing armour and attack damage.
It's not working. What the trigger currently does is create as many dummy units that are picked, and one dummy gives one unit the buff. The other dummies don't do anything.
Does anyone know how to make all units recieve the buff? Any aid would be appreciated.
And now, for an explanation of all the things:
Reducing Blast - The Thunder Clapish spell. Based off Channel.
Dummy - The dummy unit, already has "Inner Fire".
Good morning.
-
Reducing Blast
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Reducing Blast
-
Actions
- Set Point[1] = (Position of (Casting unit))
-
Unit Group - Pick every unit in (Units within (200.00 + (30.00 x (Real((Level of (Ability being cast) for (Casting unit)))))) of Point[1]) and do (Actions)
-
Loop - Actions
- Set Point[2] = (Position of (Picked unit))
- Unit - Create 1 Dummy erwgfarewgr for (Owner of (Casting unit)) at Point[2] facing Default building facing degrees
- Unit - Order (Last created unit) to Human Priest - Inner Fire (Picked unit)
-
Loop - Actions
-
Events
First of all, I don't want any replies about fixing the leaks/fixing the damage/killing the units/etc. I know that I have not fixed the leaks/fixed the damage/killed the units/etc. I will do that later as this starts working. Now,
I'm making a Thunder Clapish spell. What it does is deal damage to enemies around the caster as well as giving them a negative Inner Fire buff, reducing armour and attack damage.
It's not working. What the trigger currently does is create as many dummy units that are picked, and one dummy gives one unit the buff. The other dummies don't do anything.
Does anyone know how to make all units recieve the buff? Any aid would be appreciated.
And now, for an explanation of all the things:
Reducing Blast - The Thunder Clapish spell. Based off Channel.
Dummy - The dummy unit, already has "Inner Fire".
Last edited: