• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Solved] set life Help

Status
Not open for further replies.
Level 6
Joined
Feb 18, 2010
Messages
153
how i set a trigger to

unit cast a abillity
and it heals a different unit health

like

unit begins casting a abillity

abillity been cast is heal uni

set life of uni to current life of unit + 500
 
Level 17
Joined
Nov 13, 2006
Messages
1,814
like this?

  • Untitled Trigger 001
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to *your ability*
    • Actions
      • Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + 500.00)
but why dont use the holy light for heal? or death coil
 
Level 6
Joined
Feb 18, 2010
Messages
153
i cant find +500 part only

set life unit to unit no part for + 500

EDIT: yes map has heals but i setting it as a item wizards can buy to heal computer unit when he low
 
Status
Not open for further replies.
Top