• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Use stats for spell damage

Status
Not open for further replies.
Level 4
Joined
Sep 6, 2010
Messages
100
  • Unearth Damage 000000000000
    • Events
      • Unit - Shadow 0002 <gen> Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Unearth
    • Actions
      • Unit - Cause Shadow 0002 <gen> to damage (Target unit of ability being cast), dealing ((Real((Strength of Shadow 0002 <gen> (Include bonuses)))) x 50.00) damage of attack type Spells and damage type Normal
This doesn't work, anyone got any ideas why? The spell I'm using is the same as fire strike.
 
Try
  • Spell
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Mountain King
      • (Ability being cast) Equal to Storm Bolt
    • Actions
      • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (10.00 x (Real((Strength of (Triggering unit) (Include bonuses))))) damage of attack type Spells and damage type Normal
 
Level 4
Joined
Sep 6, 2010
Messages
100
  • Unearth Damage 000000000000
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Shadow
      • (Ability being cast) Equal to Unearth
    • Actions
      • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (50.00 x (Real((Strength of Shadow 0002 <gen> (Include bonuses))))) damage of attack type Spells and damage type Normal
Nope, doesn't do any extra damage...
 
Level 4
Joined
Sep 6, 2010
Messages
100
SOLVED:
  • Unearth Damage 000000000000
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Unearth
    • Actions
      • Unit - Cause Shadow 0002 <gen> to damage circular area after 1.00 seconds of radius 300.00 at (Target point of ability being cast), dealing (5.00 x (Real((Strength of Shadow 0002 <gen> (Include bonuses))))) damage of attack type Spells and damage type Normal
Apparentely its circular area, not target :p
 
Status
Not open for further replies.
Top