Anti deny trigger

fine93

New Member
Reaction score
0
This is the trigger.

Events
Unit – A unit is attacked
Conditions
((Attacked unit belongs to an ally of (Owner of (Attacking unit))) equal to true
((Attacking unit) is A Hero) equal to true
(Life of (Attacked unit)) Greater or equal to 9% of attacked units max life
Actions
Unit – Order (Attacking unit) to Stop

The idea is if an allied unit is grater then or equal to 9% of its max life the attacking unit must stop attacking it if it’s below it will not stop attacking.
This is to deny the gold from the enemy.
My problem is that I cant find the third condition or dos not exist can some one tell me how
To find the third condition.

(Life of (Attacked unit)) Greater or equal to 9% of attacked units max life
 

Dirac

22710180
Reaction score
147
It's a real comparison

Percentage life of unit less than or equal to 9.00

You're posting in the wrong forum
 

luorax

Invasion in Duskwood
Reaction score
67
Third condition? There's nothing like that. There's only one condition, a simple comparsion, a "greater than or equal to (>=)". If it's false, the trigger won't fire and will let the unit attack the target. If it's true, the trigger will fire, and prevent the unit from attacking that target.

EDIT: oh well, there's two, but the second one's supposed to filter the targets so that it'll only fire if the target is an ally. Guess you have nothing to do with that.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top