Doomhammer
Bob Kotick - Gamers' corporate spoilsport No. 1
- Reaction score
- 67
how about a Bump here?
+where's my rep
+I'd like to fix the lines...
...which pretty much scales the time the effect is shown between ~3.5 sec (1.5 sec animation overlap) for severly damaged units and ~2.0 sec for damaged units.
+where's my rep
+I'd like to fix the lines...
JASS:
function ShowBlood takes nothing returns nothing
local unit u=GetEnumUnit()
call Blood_On_Unit(u,(3.5-GetUnitState(u,UNIT_STATE_LIFE)/GetUnitState(u,UNIT_STATE_MAX_LIFE))*4.285)
set u=null
endfunction
...which pretty much scales the time the effect is shown between ~3.5 sec (1.5 sec animation overlap) for severly damaged units and ~2.0 sec for damaged units.