• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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 8
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