event
a unit takes damage
condition
attacked unit has buff (mindlessbody's buff)
action
set life of attacked unit to (life of attacked unit + damage taken)
order attacking unit to damage mindlessbody for (damage taken)
just add a buff to the unit you want to protect from taking damage then...
You can use barrage imho. Use disabled spellbooks and a trigger to add and remove the barrage from your unit in the game. Make two spellbooks with same "base order id" Change the data fields of "barrage" as you need to and add it into one of your spellbooks. Add the other spellbook to your unit...
Hello. I'm living a problem with an ability. If i shoot the ability more than one other arrows stops moving. Here is my the triggers. And yea i know they leak. I'm gonna take care of them later.
shot
Events
Unit - A unit Starts the effect of an ability
Conditions...
Thanks for the replies. I'm trying to add Custom script: call RemoveLocation (udg_Strafe_Caster_Pos)
but then trigger doesnt run. Because "StrafeCast" trigger needs it for all the units in Strafe_Group. So where should i put that?
Hello. I'm trying to make a skill like strafe which amazon had in Diablo 2. Problem is, caster damages the units more than once and no matter what i just cant fix this. Any help will be appreciated. Thanks
StrafeLearn
Events
Unit - A unit Learns a skill
Conditions...
Editing "WaveNo" did the trick. But seeing your triggers, made me wanna change mine. I will see what i can do with these new stuffs. Thank you both for your answers.
Open trigger editor (F4) there you will see something like
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)...
Hello. I was trying to find a way to spawn creeps with just one trigger so i wont need another spawn trigger for each wave. I managed to find an old post in this forum and changed a little bit.
my variables are:
CreepType : unit-type array
WaveNo : integer array
setcreeptypes...