Begginings of achievement system.
Fix projectile detection.
This commit is contained in:
parent
8c47601d90
commit
1cbfd4b97d
20 changed files with 1369 additions and 35 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue