- Joined
- Jan 14, 2017
- Messages
- 75
Hello,
I (tried to) create a trigger for a passive ability I made, but it doesn't seem to work. The passive ability is as follows:
Gives the Blood Mage the ability Flame Armor; a passive ability that damages enemies near him and, when he attempts to attack, there is a 10/20/30% chance (depending on level) that he hurls a fireball at the target, dealing extra damage.
Here is the trigger I made:
I (tried to) create a trigger for a passive ability I made, but it doesn't seem to work. The passive ability is as follows:
Gives the Blood Mage the ability Flame Armor; a passive ability that damages enemies near him and, when he attempts to attack, there is a 10/20/30% chance (depending on level) that he hurls a fireball at the target, dealing extra damage.
Here is the trigger I made:
-
FA
-
Events
- Unit - A unit Is attacked
-
Conditions
- (Level of Flame Armor (Neutral Hostile) for (Attacked unit)) Greater than 0
- (Random integer number between 1 and 100) Equal to (15 x (Level of Flame Armor (Neutral Hostile) for (Attacking unit)))
-
Or - Any (Conditions) are true
-
Conditions
- (Random integer number between 1 and 100) Less than or equal to (10 x (Level of Flame Armor (Neutral Hostile) for (Attacking unit)))
-
Conditions
-
Actions
- Unit - Create 1 Dummy for Neutral Passive at (Position of (Attacking unit)) facing (Position of (Attacked unit))
- Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
- Unit - Add Fireball for Flame Armor to (Last created unit)
- Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning (Attacked unit)
- If ((Level of Flame Armor (Neutral Hostile) for (Triggering unit)) Greater than or equal to 1) then do (Unit - Add Permanent Immolation (Neutral Hostile 2) to (Triggering unit)) else do (Unit - Set level of Permanent Immolation (Neutral Hostile 2) for (Triggering unit) to (Level of Flame Armor (Neutral Hostile) for (Triggering unit)))
-
Events