mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-17 10:11:12 +00:00
Slightly buff mini turbo timer
This commit is contained in:
parent
55e9df2865
commit
b702a8c121
2 changed files with 6 additions and 6 deletions
|
@ -1781,8 +1781,8 @@ INT16 K_GetKartTurnValue(player_t *player, INT16 turnvalue)
|
|||
|
||||
static void K_KartDrift(player_t *player, boolean onground)
|
||||
{
|
||||
fixed_t dsone = 35*3 + player->kartspeed;
|
||||
fixed_t dstwo = 70*3 + player->kartspeed*2;
|
||||
fixed_t dsone = 26*2 + player->kartspeed;
|
||||
fixed_t dstwo = dsone*2;
|
||||
|
||||
// Drifting is actually straffing + automatic turning.
|
||||
// Holding the Jump button will enable drifting.
|
||||
|
@ -1861,7 +1861,7 @@ static void K_KartDrift(player_t *player, boolean onground)
|
|||
player->kartstuff[k_drift] = 5;
|
||||
|
||||
if (player->cmd.buttons & BT_DRIFTLEFT)
|
||||
driftadditive = 3;
|
||||
driftadditive = 2;
|
||||
}
|
||||
else if (player->kartstuff[k_drift] <= -1) // Drifting to the right
|
||||
{
|
||||
|
@ -1870,7 +1870,7 @@ static void K_KartDrift(player_t *player, boolean onground)
|
|||
player->kartstuff[k_drift] = -5;
|
||||
|
||||
if (player->cmd.buttons & BT_DRIFTRIGHT)
|
||||
driftadditive = 3;
|
||||
driftadditive = 2;
|
||||
}
|
||||
|
||||
// This spawns the drift sparks
|
||||
|
|
|
@ -6405,7 +6405,7 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
//{ SRB2kart mobs
|
||||
case MT_DRIFT:
|
||||
if ((mobj->target && mobj->target->player && mobj->target->player->mo && mobj->target->player->health > 0 && !mobj->target->player->spectator)
|
||||
&& (mobj->type == MT_DRIFT && mobj->target->player->kartstuff[k_driftcharge] >= 35*3 + mobj->target->player->kartspeed))
|
||||
&& (mobj->type == MT_DRIFT && mobj->target->player->kartstuff[k_driftcharge] >= 26*2 + mobj->target->player->kartspeed))
|
||||
{
|
||||
INT32 HEIGHT;
|
||||
fixed_t radius;
|
||||
|
@ -6434,7 +6434,7 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
|
||||
// Switch blue flames to red flames
|
||||
if (mobj->target->player && mobj->type == MT_DRIFT
|
||||
&& mobj->target->player->kartstuff[k_driftcharge] >= 70*3 + mobj->target->player->kartspeed*2
|
||||
&& mobj->target->player->kartstuff[k_driftcharge] >= 52*2 + mobj->target->player->kartspeed*2
|
||||
&& !(mobj->state >= &states[S_DRIFTSPARK4] && mobj->state <= &states[S_DRIFTSPARK6]))
|
||||
P_SetMobjStateNF(mobj, S_DRIFTSPARK4);
|
||||
|
||||
|
|
Loading…
Reference in a new issue