Update src/modifier/modifier-type.ts
Remove unused code I forgot to delete Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com>
This commit is contained in:
parent
3095ecebf8
commit
d7263b6677
|
@ -2100,30 +2100,6 @@ export function getDailyRunStarterModifiers(party: PlayerPokemon[]): Modifiers.P
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
export function getModifierThresholdPool(poolType: ModifierPoolType) {
|
|
||||||
let thresholds: {}
|
|
||||||
switch (poolType) {
|
|
||||||
case ModifierPoolType.PLAYER:
|
|
||||||
thresholds = modifierPoolThresholds;
|
|
||||||
break;
|
|
||||||
case ModifierPoolType.WILD:
|
|
||||||
thresholds = enemyModifierPoolThresholds;
|
|
||||||
break;
|
|
||||||
case ModifierPoolType.TRAINER:
|
|
||||||
thresholds = enemyModifierPoolThresholds;
|
|
||||||
break;
|
|
||||||
case ModifierPoolType.ENEMY_BUFF:
|
|
||||||
thresholds = enemyBuffModifierPoolThresholds;
|
|
||||||
break;
|
|
||||||
case ModifierPoolType.DAILY_STARTER:
|
|
||||||
thresholds = dailyStarterModifierPoolThresholds;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
return thresholds;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
function getNewModifierTypeOption(party: Pokemon[], poolType: ModifierPoolType, tier?: ModifierTier, upgradeCount?: integer, retryCount: integer = 0): ModifierTypeOption | null {
|
function getNewModifierTypeOption(party: Pokemon[], poolType: ModifierPoolType, tier?: ModifierTier, upgradeCount?: integer, retryCount: integer = 0): ModifierTypeOption | null {
|
||||||
const player = !poolType;
|
const player = !poolType;
|
||||||
const pool = getModifierPoolForType(poolType);
|
const pool = getModifierPoolForType(poolType);
|
||||||
|
|
Loading…
Reference in New Issue