Skill level code

fhar143

Active Member
Reaction score
0
Thanks to all who reply about the question about the "Demon bolt" i have posted.

Anyone can tell me how to encode in the trigger editor that when i level the skill, the effect changes.

Example:

Level 1 - Sacrifices 30% current hit points.
Level 2 - Sacrifices 40% current hit points.
Level 3 - Sacrifices 50% current hit points.

the variable "SacrificeValue" will change it's value when the skill is leveled up.

or any logic for that... thanks..
 

Exide

I am amazingly focused right now!
Reaction score
448
Set SacrificeValue = 20 + ((Level of *Ability* for *unit*) * 10)
 

Kikac_NNGK

Well-Known Member
Reaction score
33
Trigger:
  • Actions
    • Set TempReal = (0.10 x ((Percentage life of (*Your Unit*)) x (Real((Level of *Your Ability* for (*Your Unit*))))))
    • Unit - Set life of (*Your Unit*) to TempReal

I think that should work
 
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