Double Damage

Status
Not open for further replies.
Level 10
Joined
Nov 3, 2009
Messages
687
Hey...

How to make that when unit cast an ability and target unit of ability being cast have buff would deal double damage instead of normal? :)


It's like from World of Warcraft - Flame Shock + Lava Burst(50Dmg) = Lava Burst(100 Dmg) deal critical strike(100 Dmg double damage), when only Lava Burst it deal normal damage.
 
  • Trigger
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to X
  • Actions
    • Set BaseDamage = 200.00
    • If (All conditions are true) then do (Actions) else do (Actions)
      • If - Conditions
        • ((Target unit of ability being cast) has Buff) Equal to True
      • Then - Actions
        • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast) dealing (BaseDamage*2.00) of attack type Spells and damage type Normal
      • Else - Actions
        • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast) dealing (BaseDamage) of attack type Spells and damage type Normal
The condition is Boolean Comparison, Unit - Unit has specific buff.
BaseDamage is a variable of type "Real".
 
Status
Not open for further replies.
Back
Top