Slow decrease of health and mana?

Status
Not open for further replies.

Vassara

V

Vassara

how would i slowly decrease the health of players over the course of the game as is done in the wilderness survival style maps??

Thank you for your help.
 
  • Events - Time - Every x seconds of game time //How often you want this to happen
  • Conditions
  • Actions - Unit group - Pick every unit in group1 and do (Actions)
    • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - x) //How mch you want to remove
    • Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) - x) //How mch you want to remove
You will ofc need to add units to the unit group, that you wish for this trigger to effect.

You will want to do multiple if/then/else, if you are going to have different conditions for life/mana removal (eg: have campfire that prevents hp loss etc.)...
 
Status
Not open for further replies.
Back
Top