• 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.

spell damage

Status
Not open for further replies.
Level 9
Joined
Aug 1, 2008
Messages
453
Right now i am trying to make a spell damage system, and i've found a weird bug.. I'm trying to make it so when a unit casts a spell it heals them for the Interger amount.. This is what i have so far.
  • Healing
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
    • Actions
      • Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + (Real(Player_Healing[(Player number of (Owner of (Casting unit)))])))
And it's not healing the unit for any additional health when the Player_Healing = 300. +rep if helped.

EDIT: The spell doesn't do any damage at all.
 
Last edited:
Status
Not open for further replies.
Top