[Trigger] How to convert attribute to real?

Status
Not open for further replies.
Level 2
Joined
Mar 27, 2008
Messages
24
I made this trigger:
  • Yeo
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Killing unit) is A Hero) Equal to True
      • (Unit-type of (Killing unit)) Equal to Yeo
    • Actions
      • Hero - Modify Agility of (Killing unit): Add (((500 / 100) x (Level of Experience for (Killing unit))) + 0)
it worked fine then i changed the value 500 to 4:

  • Yeo
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Killing unit) is A Hero) Equal to True
      • (Unit-type of (Killing unit)) Equal to Yeo
    • Actions
      • Hero - Modify Agility of (Killing unit): Add (((4 / 100) x (Level of Experience for (Killing unit))) + 0)
No agi point gained till kill count is 100. Can someone help me solve this? :confused:
 
Status
Not open for further replies.
Back
Top