I got this trigger where i have to get 25% of a hero's strenght so i made a trigger for it:
set (Variable_Integer X (1)) = Strenght of the unit
Now i want 25% of that strenght but the probleme is the following:
(So the next action):
Set (Variable_Integer X (2))) = (Arithmetic) (Variable_Integer) (1)) x !!Should be 0.25!!
So what the probleme is is that i cant multiply the integer i can only multiply it by 1 or 2 or 3 and so on but it wont do numbers with . in it so no 0.5 or 1.5 or what i actally need 0.25
So can anyone help me to get this right
set (Variable_Integer X (1)) = Strenght of the unit
Now i want 25% of that strenght but the probleme is the following:
(So the next action):
Set (Variable_Integer X (2))) = (Arithmetic) (Variable_Integer) (1)) x !!Should be 0.25!!
So what the probleme is is that i cant multiply the integer i can only multiply it by 1 or 2 or 3 and so on but it wont do numbers with . in it so no 0.5 or 1.5 or what i actally need 0.25
So can anyone help me to get this right