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

Dota Huskar Healing spell

Status
Not open for further replies.
Level 10
Joined
Apr 13, 2005
Messages
630
I guess just trying to figre out this trigger to reverse it as u say


Unit - Cause DT_Dealers[DT_Integers[3]] to damage DT_Targets[DT_Integers[3]], dealing DT_DamagePerInterval[DT_Integers[3]] damage of attack type DT_Attacktype[DT_Integers[3]] and damage type DT_DamageTypes[DT_Integers[3]]
 
Level 9
Joined
Apr 26, 2011
Messages
403
I don't know about vJASS, but this is easy to implement in GUI:

1, create 2 spell
- an empty_spell allow you cast on target
- a real spell that give X hp regeneration

2, write trigger :
- when empty_spell is casted on target:
--- healing x hp based on its primary attribute ( need write some code to do calculation)
--- add regeneration to target unit
--- if your regeneration spell do not have duration, try work out how to remove this regeneration after Y- seconds
 
Status
Not open for further replies.
Top