Remove boss at level over 100 logic
This commit is contained in:
1 parent
7c291ce0cf
commit
4f8a1621d8
4 files changed
+4
-4
No files matched your search
@@ -600,7 +600,7 @@ const modifierPool = {
|
||||
new WeightedModifierType(modifierTypes.ULTRA_BALL, 8),
|
||||
new WeightedModifierType(modifierTypes.EVOLUTION_ITEM, 12),
|
||||
new WeightedModifierType(modifierTypes.ATTACK_TYPE_BOOSTER, 5),
|
||||
new WeightedModifierType(modifierTypes.OVAL_CHARM, 1),
|
||||
//new WeightedModifierType(modifierTypes.OVAL_CHARM, 1),
|
||||
new WeightedModifierType(modifierTypes.HEALING_CHARM, 1),
|
||||
new WeightedModifierType(modifierTypes.LEFTOVERS, 2),
|
||||
new WeightedModifierType(modifierTypes.SHELL_BELL, 2),
|
||||
|
||||
@@ -657,7 +657,7 @@ export class PartyShareModifier extends PersistentModifier {
|
||||
for (let modifier of modifiers) {
|
||||
if (modifier instanceof PokemonHeldItemModifier) {
|
||||
const heldItemModifier = modifier as PokemonHeldItemModifier;
|
||||
const extraStacks = Math.floor(modifier.stackCount / Math.max(party.length - (this.getStackCount() - 1), 1));
|
||||
const extraStacks = Math.floor(modifier.stackCount / Math.max(party.length - (this.stackCount - 1), 1));
|
||||
for (let s = 0; s < extraStacks; s++) {
|
||||
for (let p of party) {
|
||||
if (p.id === heldItemModifier.pokemonId)
|
||||
|
||||
Reference in new issue
Block a user