• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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