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

Life Transfer Spell

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
Hmm Have you tried using Lifedrain and change values to negative with "shift-enter" to edit the field?

Then just change the targets to allies and try it :/

But I somehow remember there was some trick in lifedrain which makes the whole thing complicated...

@Rysis
Have you tried this method ?
Shift + Double Click on the "Level X - Data - Hit Points Drained:" field and press "-" followed with values
Then, go to "Stats - Target Allowed:" and untick all. Then, tick Enemies box
 
you could use healing wave (if you are fine with the effect), change target to 1 and make a trigger like this:

unit starts effect of an ability
ability being cast equal to healing wave
set life of triggering unit to life of triggering unit - 50 + 100 * level of ability being cast for triggering unit

edit:
@below me
triggering unit = casting unit
 
Last edited:
Level 11
Joined
Mar 19, 2008
Messages
800
you could use healing wave (if you are fine with the effect), change target to 1 and make a trigger like this:

unit starts effect of an ability
ability being cast equal to healing wave
set life of triggering unit to life of triggering unit - 50 + 100 * level of ability being cast for triggering unit

that didnt reduce any health of caster :p
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Add this at the trigger:

  • Actions
    • Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - (50.00 + (100.00 x (Real((Level of Life Transfer Spell for (Triggering unit)))))))
This is to reduce the caster's HP as you requested

And this is for Transfering the HP to the targeted Allies:

  • Actions
    • Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) - (50.00 + (100.00 x (Real((Level of Acid Bomb for (Triggering unit)))))))
 
Status
Not open for further replies.
Top