Spell Damage Based on Atk damage

Status
Not open for further replies.
I wanna know this system too
Something along "GetUnitDamage" or something
Example:
  • Example
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Storm Bolt
    • Actions
      • Custom script: call GetUnitDamage(GetTriggerUnit())
      • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing *Damage set up by script* damage of attack type Spells and damage type Normal
I know it's f*cking incorrect usage of JASS script but you'll get what I mean, right ?
 

Attachments

Status
Not open for further replies.
Back
Top