• 🏆 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!

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