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

Block Damage Percent/System of Tarrasque

Status
Not open for further replies.

hdm

hdm

Level 9
Joined
Nov 19, 2011
Messages
384
What is that ability of stout shield and Vanguard : "x % to block n damage" ?...I tried to find it but I couldn't find

Also,how can I make that system of tarrasque,I mean,while out of battle it heals and,while in battle, it doesn't ?(It doesn't need to be 6 seconds):pgrin:
 
Level 8
Joined
Jan 8, 2010
Messages
493
if you are looking for the basic "% to block x amount of damage", you'll want the ability Hardened Skin. i forgot if Stout Shield and Vanguard are "% to block x amount of damage if heroes, n if creeps". but if they are, these are triggered using a damage detection system.

Heart of Tarrasque is also triggered, i don't know the exact way though. but basically it's when a unit with a Tarrasque is damaged, the item is replaced by another item (the white-colored Tarrasque). after some seconds if the unit is not damaged by a Hero, the item is replaced back with the original Tarrasque.
one way for it would be to use a damage detection system (look for Bribe's Damage Engine in the Spell's section if you want a GUI one) and use a periodic trigger that runs every 1 second. when a unit is damaged, use a dummy unit to add a buff to the damaged unit which lasts for 6 seconds, add the damaged unit to a unit group (eg. TarrasqueGroup) and replace the Tarrasque. in your periodic trigger, check if units in the TarrasqueGroup has that buff. if it doesn't, replace unit's the Tarrasque with the original one and remove the unit from the unit group.
if you found other simpler ways of doing it you can do it too :)
 
Status
Not open for further replies.
Top