• 🏆 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!

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