Hey, I might have been a little too vague in the title, so here are the triggers first:
The ability's main trigger:
The other trigger, which constantly checks the hero's agility:
I guess I did a little bit too much unnecessary work in the second one, but whatever, at least (I thought) I finished it.
So, the original idea would be, that this hero has an ability based on Cluster Rockets, but with a much smaller AoE; the units inside the AoE would be hit with twice (or thrice, or more, based on the level of the spell) the amount of agility the casting hero has. The spell originally does very little damage (1 per rocket, 0.10 damage interval), however, the trigger is (supposed to) do the actual damage. (It also mini-stuns the enemy, but that may be left out, if I have to make the spell work somehow in another way.)
The problem is, it doesn't work. It doesn't do any damage at all.
Now, I'm not sure Cluster Rockets is the right spell for this, because I don't know if the area targeting, (even if it is a small area) can work just as a "point-target" spell. (For the "Target point of ability being cast" part.)
Any help would be appreciated. ^^ (Even I need to do this spell based on another spell)
The ability's main trigger:
Trigger:
- Airstrike Trigger 1
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to Airstrike
- Actions
- Unit - Cause (Casting unit) to damage circular area after 0.00 seconds of radius 100.00 at (Target point of ability being cast), dealing DendiAgility2 damage of attack type Spells and damage type Normal
The other trigger, which constantly checks the hero's agility:
Trigger:
- Agility Check
- Events
- Time - Every 5.00 seconds of game time
- Conditions
- Actions
- Unit Group - Pick every unit in (Units in (Playable map area) matching ((Level of Airstrike for (Picked unit)) Greater than or equal to 1)) and do (Actions)
- Loop - Actions
- Game Cache - Store (Agility of (Picked unit) (Include bonuses)) as DendiAgi of Category in (Last created game cache)
- Set DendiAgility1 = (Load DendiAgi of Category from (Last created game cache))
- Set DendiAgility2 = (Real(DendiAgility1))
I guess I did a little bit too much unnecessary work in the second one, but whatever, at least (I thought) I finished it.
So, the original idea would be, that this hero has an ability based on Cluster Rockets, but with a much smaller AoE; the units inside the AoE would be hit with twice (or thrice, or more, based on the level of the spell) the amount of agility the casting hero has. The spell originally does very little damage (1 per rocket, 0.10 damage interval), however, the trigger is (supposed to) do the actual damage. (It also mini-stuns the enemy, but that may be left out, if I have to make the spell work somehow in another way.)
The problem is, it doesn't work. It doesn't do any damage at all.
Now, I'm not sure Cluster Rockets is the right spell for this, because I don't know if the area targeting, (even if it is a small area) can work just as a "point-target" spell. (For the "Target point of ability being cast" part.)
Any help would be appreciated. ^^ (Even I need to do this spell based on another spell)