Skip to content

Commit

Permalink
change(item): Adjust Crystallized Shadow drop chance (pokeclicker#5336)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwertypop04 authored Jun 19, 2024
1 parent 3170266 commit 31632d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/modules/GameConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ export const HELD_UNDERGROUND_ITEM_CHANCE = 2048;
export const GRISEOUS_ITEM_CHANCE = 50;
export const DNA_ITEM_CHANCE = 45;
export const LIGHT_ITEM_CHANCE = 75;
export const SHADOW_ITEM_CHANCE = 8;
export const RUST_ITEM_CHANCE = 90;
export const MANE_ITEM_CHANCE = 10;
export const CHRISTMAS_ITEM_CHANCE = 10;
Expand Down
1 change: 1 addition & 0 deletions src/scripts/GameConstants.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ namespace GameConstants {
declare const GRISEOUS_ITEM_CHANCE: number;
declare const DNA_ITEM_CHANCE: number;
declare const LIGHT_ITEM_CHANCE: number;
declare const SHADOW_ITEM_CHANCE: number;
declare const RUST_ITEM_CHANCE: number;
declare const MANE_ITEM_CHANCE: number;
declare const CHRISTMAS_ITEM_CHANCE: number;
Expand Down
4 changes: 3 additions & 1 deletion src/scripts/pokemons/PokemonFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,13 +297,15 @@ class PokemonFactory {
case 'Pure_light':
chance = GameConstants.LIGHT_ITEM_CHANCE;
break;
case 'Crystallized_shadow':
chance = GameConstants.SHADOW_ITEM_CHANCE;
break;
case 'Rusted_Sword':
case 'Rusted_Shield':
chance = GameConstants.RUST_ITEM_CHANCE;
break;
case 'Black_mane_hair':
case 'White_mane_hair':
case 'Crystallized_shadow':
chance = GameConstants.MANE_ITEM_CHANCE;
break;
case 'Magikarp_Biscuit':
Expand Down

0 comments on commit 31632d4

Please sign in to comment.