Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Max Health
Max Health
08-17-2006, 11:15 AM
#1
DioD
Setting unit's max health to zero will make it unkilleble.
You can set units health to zero for a moment to avoid any damage, this will also save units from timed life.
08-17-2006, 11:29 AM
#2
The)TideHunter(
Kewl, nice find.
I'll go and test it now, if it works rep's heading your way.
Thus, a unit in invunerable BUT it dosent show it, that will be a damage detection type thing a great deal of help.
08-17-2006, 11:34 AM
#3
DioD
Unit cant be killed but take damage correctly.
08-17-2006, 11:38 AM
#4
zeroXD
Nice find. I'm testing
08-17-2006, 11:48 AM
#5
DioD
Tested with heros.
Dropping hp gain items kills hero.
Picking up items with str or hp bonus turn unit vulnerable.
Custom evasion on way.
Sry for some not needed stuff inside map, this is simple debug map, i tested all inside it...
But you can use this data for your own maps.
Just run map.
Testing:
Fiend have damage monitor trigger.
Paladin just for attack
Pick up or drop items with lich
Damage lich by a paladin.
Attached Files
(12) Last Hope AoS v0.00A.w3x
(84.9 KB)
08-17-2006, 12:37 PM
#6
iNfraNe
Funny. Tho I dont really see the use.
08-17-2006, 12:42 PM
#7
Vexorian
2 years + late:
http://www.wc3campaigns.net/showthread.php?t=55262
08-17-2006, 10:56 PM
#8
DioD
Sorry, i used seach before posting and dont founded this.