Increasing/Decreasing Incoming Damage by Percents

Status
Not open for further replies.
Level 11
Joined
Jun 21, 2007
Messages
505
Hi, I have in my map a variable which changes amount of damage of a certain type, and that variable is initially equal to 1.00.
I can change that variable whenever I want.
When a specific unit receives damage, that type of incoming damage is taken, and is multiplied by the variable to control it.

How can I manage that correctly?

Perhaps it has something to do with manipulating attacking/attacked units' behavior manually via triggers?
 
Do you realize what you're asking for? Every time a unit is attacked/damaged this trigger will run. Don't you think that'll cause lag? Unless of course your unit count is limited..

  • Attacked
    • Events
      • Unit - Unit Takes Damage
    • Conditions
    • Actions
      • Unit - Cause (Damage source) to damage (Triggering unit), dealing ((Variable x (Damage taken)) - (Damage taken)) damage of attack type Normal and damage type Normal
Something like this?
 
Status
Not open for further replies.
Back
Top