Exemplo n.º 1
0
 public float ChangeHealthBy(float a_delta)
 {
     m_lastHealth = GetHealth();
     if (0f > a_delta)
     {
         a_delta *= m_damageMultiplier * m_body.GetVestMultiplier();
     }
     m_brain.ChangeStateBy(eBrainBaseState.injured, a_delta * -0.01f);
     return(GetHealth());
 }