The stuff from master.

This commit is contained in:
Mari the Deer 2021-10-22 17:30:41 +02:00
commit 5d2aecafe1
11 changed files with 159 additions and 13 deletions

View file

@ -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--;