• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Stat Ability of Damage

Status
Not open for further replies.
Level 37
Joined
Mar 6, 2006
Messages
9,243
  • Untitled Trigger 039
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to *your ability*
    • Actions
      • Set r1 = ((Real((Agility of (Triggering unit) (Include bonuses)))) x 5.00)
      • Unit - Cause (Triggering unit) to damage *target*, dealing r1 damage of attack type Spells and damage type Normal
When seting the variable, first use Arithmetic. Then you need Conversion - Integer to real for to convert the agility.
 
Status
Not open for further replies.
Top