- Joined
- Mar 17, 2012
- Messages
- 582
Hi there guys! Tell me please what's wrong with these triggers?

-
Magic Arrows
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
And - All (Conditions) are true
-
Conditions
-
(Unit-type of (Attacking unit)) Equal to Naga Sea Witch
-
(Level of Magic Arrows for (Attacking unit)) Greater than 0
-
-
-
-
Actions
-
Trigger - Add to Magic Arrows work <gen> the event (Unit - (Attacked unit) Takes damage)
-
Trigger - Turn on Magic Arrows work <gen>
-
-
-
Magic Arrows work
-
Events
-
Conditions
-
And - All (Conditions) are true
-
Conditions
-
(Unit-type of (Attacking unit)) Equal to Naga Sea Witch
-
(Level of Magic Arrows for (Attacking unit)) Greater than 0
-
-
-
-
Actions
-
Set Player_Number_Int = (Player number of (Owner of (Attacking unit)))
-
Set Magic_Arrows_Attacker[Player_Number_Int] = (Attacking unit)
-
Set Magic_Arrows_Target[Player_Number_Int] = (Attacked unit)
-
Unit - Cause Magic_Arrows_Attacker[Player_Number_Int] to damage Magic_Arrows_Target[Player_Number_Int], dealing ((Real((Intelligence of Magic_Arrows_Attacker[Player_Number_Int] (Include bonuses)))) x (((Real((Level of Magic Arrows for Magic_Arrows_Attacker[Player_Number_Int]))) x 0.05) + 0.05)) damage of attack type Spells and damage type Fire
-
Special Effect - Create a special effect attached to the chest of Magic_Arrows_Target[Player_Number_Int] using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
-
Special Effect - Destroy (Last created special effect)
-
Trigger - Turn off (This trigger)
-
-
