• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen 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 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