- Joined
- Jun 10, 2013
- Messages
- 473
Hey i'm trying to make a spell that damages unit with in 200 Aoe of the target point of ability being cast based on the level of intelligence my hero has multiplies by the level of the ability being cast but my trigger for some reason isn't working :
-
Arcane Blast
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Arcane Blast
-
Actions
- Set TempUnit2 = (Triggering unit)
- Set TempUnit = (Picked unit)
- Set TempPoint = (Target point of ability being cast)
- Set TempInteger = (Intelligence of TempUnit2 (Include bonuses))
- Set ability_level = (Level of Arcane Blast for TempUnit2)
- Set tempGroup1 = (Units within 200.00 of TempPoint)
-
Unit Group - Pick every unit in tempGroup1 and do (Actions)
-
Loop - Actions
- Unit - Set life of TempUnit to ((Life of TempUnit) - ((Real(TempInteger)) x (Real(ability_level))))
-
Loop - Actions
- Custom script: call RemoveLocation (udg_TempPoint)
- Custom script: call DestroyGroup (udg_tempGroup1)
-
Events
Last edited: