mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Tweak amp payouts
This commit is contained in:
parent
7fa79fa64a
commit
a1163f7c82
3 changed files with 3 additions and 3 deletions
|
|
@ -4177,7 +4177,7 @@ void K_AwardPlayerAmps(player_t *player, UINT8 amps)
|
||||||
if (!player->overdrive && player->mo && !P_MobjWasRemoved(player->mo) && player->overdriveready == 0)
|
if (!player->overdrive && player->mo && !P_MobjWasRemoved(player->mo) && player->overdriveready == 0)
|
||||||
{
|
{
|
||||||
S_StartSound(player->mo, sfx_gshac);
|
S_StartSound(player->mo, sfx_gshac);
|
||||||
player->amps *= 2;
|
player->amps += 10;
|
||||||
}
|
}
|
||||||
K_Overdrive(player);
|
K_Overdrive(player);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3192,7 +3192,7 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
||||||
|
|
||||||
if (source && source != player->mo && source->player)
|
if (source && source != player->mo && source->player)
|
||||||
{
|
{
|
||||||
K_SpawnAmps(source->player, K_PvPAmpReward(20, source->player, player), target);
|
K_SpawnAmps(source->player, K_PvPAmpReward((type == DMG_WHUMBLE) ? 30 : 20, source->player, player), target);
|
||||||
|
|
||||||
// Extend the invincibility if the hit was a direct hit.
|
// Extend the invincibility if the hit was a direct hit.
|
||||||
if (inflictor == source && source->player->invincibilitytimer &&
|
if (inflictor == source && source->player->invincibilitytimer &&
|
||||||
|
|
|
||||||
|
|
@ -2051,7 +2051,7 @@ static void K_HandleLapIncrement(player_t *player)
|
||||||
|
|
||||||
K_SpawnDriftBoostExplosion(player, 4);
|
K_SpawnDriftBoostExplosion(player, 4);
|
||||||
K_SpawnDriftElectricSparks(player, SKINCOLOR_SILVER, false);
|
K_SpawnDriftElectricSparks(player, SKINCOLOR_SILVER, false);
|
||||||
K_SpawnAmps(player, 50, player->mo);
|
K_SpawnAmps(player, 35, player->mo);
|
||||||
|
|
||||||
rainbowstartavailable = false;
|
rainbowstartavailable = false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue