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

sipmle ability request

Status
Not open for further replies.
Level 1
Joined
Mar 5, 2012
Messages
5
Hi!

I need an ability, which is the healing bomb,
It is similar to the acid bomb, but it's healing the targeted friendly units over time.

Can somebody help me?
 
Level 4
Joined
Aug 5, 2011
Messages
99
if you dont need any special animation, just set the damage property of acid bomb to negative value (shift click or go to settings --> allow negative values) and set the targets allowed to alies
 
Level 1
Joined
Mar 5, 2012
Messages
5
yes i tried to get neagtive value for acid bomb, but it doesnt work, i set it -5 damage per sec, allow to friendly units, but it still damage the allies not heals.
 
Level 4
Joined
Aug 5, 2011
Messages
99
arghhhhhhhhhh yeah ur right... it does damage still :s
guess you will have to do it with triggers ... when the spell is cast, damage all units with acid bomb buff for a negative amount
 
Level 4
Joined
Aug 5, 2011
Messages
99
  • acid bomb
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) has buff Acid Bomb) Equal to True)) and do (Actions)
        • Loop - Actions
          • Unit - Cause (Picked unit) to damage (Picked unit), dealing -10.00 damage of attack type Spells and damage type Normal
set the damages to 0 on the spell itself and set the ammount of healing in the trigger...
 
Level 1
Joined
Mar 5, 2012
Messages
5
  • <Untitled Trigger 001
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set groupbomb = (Units in (Playable map area) matching (((Matching unit) has buff Acid Bomb) Equal to True))
      • Unit Group - Pick every unit in groupbomb and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + 10.00)
      • Custom script: call DestroyGroup(udg_groupbomb)

i edit your soultion, it works, every 1 sec heals 10 hp, but i wanna to works as the acid bomb, the main target is heals more and the other affected units heals less perc second.

Can somebody help me?
 
Level 1
Joined
Mar 5, 2012
Messages
5
THY

So i only need to heal the primary target over time with more hp, and the secondary targets over time with lesser hp, don't need armor bonus or something other bonus.
Yeah multi level support will be useful.

Thanks to help me!!!!!!
 
Status
Not open for further replies.
Top