System Injury System

Doomhammer

Bob Kotick - Gamers' corporate spoilsport No. 1
Reaction score
67
how about a Bump here?

+where's my rep :D

+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.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top