Fix RP calculation (no QR reduction if only own RP)

This commit is contained in:
Kalle
2023-01-27 00:48:57 +02:00
parent 32f5ff6d04
commit ce39f213f9

View File

@@ -626,13 +626,12 @@ function respawnTime(
abilityPoints: args.abilityPoints,
ability: QUICK_RESPAWN_TIME_ABILITY,
});
const abilityPoints =
splattedByRP || hasRespawnPunisher
? qrApAfterRespawnPunish({
ap,
hasTacticooler: args.hasTacticooler,
})
: ap;
const abilityPoints = hasRespawnPunisher
? qrApAfterRespawnPunish({
ap,
hasTacticooler: args.hasTacticooler,
})
: ap;
const chase = abilityPointsToEffects({
abilityPoints,