Tweaks to casings and dropped mags.
This commit is contained in:
parent
8d4e6f82df
commit
63152988fe
9 changed files with 43 additions and 17 deletions
|
|
@ -216,8 +216,15 @@ Class EvisceratorChunk : Actor
|
|||
{
|
||||
target.SpawnBlood(pos,AngleTo(target),damage);
|
||||
A_StartSound("eviscerator/hitf",CHAN_WEAPON,CHANF_OVERLAP,.1);
|
||||
if ( swwm_extraalert || !Random[Eviscerator](0,3) ) A_AlertMonsters(900);
|
||||
}
|
||||
else
|
||||
{
|
||||
let l = Spawn("ChunkImpact",pos);
|
||||
l.angle = angle+180;
|
||||
l.pitch = -pitch;
|
||||
A_StartSound("eviscerator/hit",CHAN_WEAPON,CHANF_OVERLAP,.1);
|
||||
}
|
||||
if ( swwm_extraalert || !Random[Eviscerator](0,3) ) A_AlertMonsters(900);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
@ -238,10 +245,20 @@ Class EvisceratorChunk : Actor
|
|||
if ( victim.health-amt <= 0 )
|
||||
{
|
||||
// bleed if not gibbed (reduces effect spam)
|
||||
if ( !victim.bNOBLOOD && !victim.bINVULNERABLE && (victim.health-amt > victim.GetGibHealth()) )
|
||||
if ( victim.health-amt > victim.GetGibHealth() )
|
||||
{
|
||||
victim.SpawnBlood(pos,AngleTo(victim),damage);
|
||||
A_StartSound("eviscerator/hitf",CHAN_WEAPON,CHANF_OVERLAP,.1);
|
||||
if ( !victim.bNOBLOOD && !victim.bINVULNERABLE )
|
||||
{
|
||||
victim.SpawnBlood(pos,AngleTo(victim),damage);
|
||||
A_StartSound("eviscerator/hitf",CHAN_WEAPON,CHANF_OVERLAP,.1);
|
||||
}
|
||||
else
|
||||
{
|
||||
let l = Spawn("ChunkImpact",pos);
|
||||
l.angle = angle+180;
|
||||
l.pitch = -pitch;
|
||||
A_StartSound("eviscerator/hit",CHAN_WEAPON,CHANF_OVERLAP,.1);
|
||||
}
|
||||
}
|
||||
vel *= .65; // reduce velocity as it rips
|
||||
return 1;
|
||||
|
|
|
|||
|
|
@ -416,7 +416,7 @@ Class SWWMCasing : Actor abstract
|
|||
}
|
||||
Goto Spawn;
|
||||
Death:
|
||||
XZW1 A -1
|
||||
XZW1 B -1
|
||||
{
|
||||
pitch = roll = 0;
|
||||
angle = FRandom[Junk](0,360);
|
||||
|
|
|
|||
|
|
@ -1908,11 +1908,12 @@ Class SparksterMag : SWWMCasing
|
|||
States
|
||||
{
|
||||
Death:
|
||||
#### # -1
|
||||
XZW1 BC -1
|
||||
{
|
||||
pitch = 0;
|
||||
angle = FRandom[Junk](0,360);
|
||||
roll = 0;
|
||||
frame = RandomPick[Junk](1,2);
|
||||
}
|
||||
Stop;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue