The stuff from master.
This commit is contained in:
parent
9e083a7b6a
commit
5d2aecafe1
11 changed files with 159 additions and 13 deletions
|
|
@ -138,6 +138,7 @@ Class SWWMHealth : Inventory abstract
|
|||
newdamage = newdamage-GetDefaultByType(giveme).Amount;
|
||||
if ( newdamage < 0 ) Owner.GiveBody(-newdamage,GetDefaultByType(giveme).MaxAmount);
|
||||
newdamage = max(0,newdamage);
|
||||
if ( !morethanonce ) SWWMHandler.HealthFlash(Owner.PlayerNumber());
|
||||
AutoUseExtra(morethanonce);
|
||||
morethanonce = true;
|
||||
Amount--;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue