here are some of the code:
function quiver takes nothing returns nothing
return GetUnitAbilityLevel(GetAttacker(), quiverability) > 0
endfunction
function firearrow takes integer times returns real
local integer times2
local integer total = 1
loop
set total =...
You can declare the function in the map stuff thing and with
function Sleep takes (whatever) return (whatever)
endfunction
then you can create a function in the trigger u want that does what u want. u will have the function in the map section but it will be in the trigger u want to. I have...
I want to make a unit so that it is damaged the same amount of damage will apply to another unit at the time the attack struck. I was thinking to do this trought take the current hp of the unit and when the unit got attacked I would get the new hp and calculate te diffrence and take the...