Damn it.
This commit is contained in:
parent
d55ee022d2
commit
02c15b9c53
2 changed files with 3 additions and 4 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r422 \cu(Fri 9 Sep 12:47:11 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r422 \cu(2022-09-09 12:47:11)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r423 \cu(Fri 9 Sep 14:02:41 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r423 \cu(2022-09-09 14:02:41)\c-";
|
||||
|
|
|
|||
|
|
@ -1038,7 +1038,7 @@ Class OnFire : Inventory
|
|||
return;
|
||||
}
|
||||
// damage nearby actors
|
||||
SWWMUtility.DoExplosion(Owner,amount,0,Owner.radius+40+amount/5,Owner.radius+20,DE_NOBLEED|DE_NOSPLASH|DE_HOWL|DE_CENTERHEIGHT|DE_NONEXPLOSIVE,'Fire',null,DMG_THRUSTLESS,instigator,self);
|
||||
if ( amount > 0 ) SWWMUtility.DoExplosion(Owner,amount,0,Owner.radius+40+amount/5,Owner.radius+20,DE_NOBLEED|DE_NOSPLASH|DE_HOWL|DE_CENTERHEIGHT|DE_NONEXPLOSIVE,'Fire',null,DMG_THRUSTLESS,instigator,self);
|
||||
}
|
||||
double mult = max(Owner.radius,Owner.height)/30.;
|
||||
if ( lite ) lite.A_SoundVolume(CHAN_VOICE,min(1.,mult*amount/80.));
|
||||
|
|
@ -1066,7 +1066,6 @@ Class OnFire : Inventory
|
|||
|
||||
static OnFire Apply( Actor victim, Actor instigator, int amount )
|
||||
{
|
||||
if ( amount <= 0 ) return null;
|
||||
let t = OnFire(victim.FindInventory("OnFire"));
|
||||
if ( t )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue