Additional slot 5 trail colors.

This commit is contained in:
Mari the Deer 2023-11-27 16:04:44 +01:00
commit c35261a34f
7 changed files with 79 additions and 17 deletions

View file

@ -104,7 +104,7 @@ Class Eviscerator : SWWMWeapon
else if ( trail == 9 ) p.trailcolor = (i%6)+2;
else if ( trail == 10 )
{
switch ( i%6 )
switch ( i%5 )
{
case 0:
case 3:
@ -119,6 +119,23 @@ Class Eviscerator : SWWMWeapon
break;
}
}
else if ( trail == 11 ) p.trailcolor = (i&1)?7:4;
else if ( trail == 12 ) p.trailcolor = (i&1)?6:2;
else if ( trail == 13 )
{
switch ( i%3 )
{
case 0:
p.trailcolor = 2;
break;
case 1:
p.trailcolor = 1;
break;
case 2:
p.trailcolor = 4;
break;
}
}
}
for ( int i=0; i<8; i++ )
{

View file

@ -460,7 +460,7 @@ Class EvisceratorProj : Actor
else if ( trail == 9 ) p.trailcolor = (i%6)+2;
else if ( trail == 10 )
{
switch ( i%6 )
switch ( i%5 )
{
case 0:
case 3:
@ -475,6 +475,23 @@ Class EvisceratorProj : Actor
break;
}
}
else if ( trail == 11 ) p.trailcolor = (i&1)?7:4;
else if ( trail == 12 ) p.trailcolor = (i&1)?6:2;
else if ( trail == 13 )
{
switch ( i%3 )
{
case 0:
p.trailcolor = 2;
break;
case 1:
p.trailcolor = 1;
break;
case 2:
p.trailcolor = 4;
break;
}
}
}
int numpt = Random[Eviscerator](10,15);
for ( int i=0; i<numpt; i++ )