Begginings of achievement system.

Fix projectile detection.
This commit is contained in:
Mari the Deer 2021-03-22 01:26:15 +01:00
commit 1cbfd4b97d
20 changed files with 1369 additions and 35 deletions

View file

@ -481,10 +481,11 @@ Class PartyTime : Actor
}
action void A_Confetti()
{
if ( !bAMBUSH ) A_StartSound("misc/tada",CHAN_ITEM);
if ( !bAMBUSH && !bSTANDSTILL ) A_StartSound("misc/tada",CHAN_ITEM);
double ang, pt;
int numpt = Random[ExploS](100,120);
if ( bAMBUSH ) numpt *= 4;
else if ( bSTANDSTILL ) numpt *= 2;
for ( int i=0; i<numpt; i++ )
{
ang = FRandom[ExploS](0,360);