"Demoslayer" fun option (enemies drop health).
This commit is contained in:
parent
4f17e5526f
commit
883e770899
8 changed files with 144 additions and 3 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