Skip to content

Commit

Permalink
Fix drygore blowpipe missing dart types
Browse files Browse the repository at this point in the history
  • Loading branch information
jayktaylor committed Dec 4, 2024
1 parent 54474dc commit d8622b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions src/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import { CombatStyleStance } from '@/types/PlayerCombatStyle';

export const NATURES_REPRISAL_MOCK_ID = 1000012;

export const DRYGORE_BLOWPIPE_MOCK_ID = 1000004;
export const BLOWPIPE_IDS: number[] = [
12926, // regular
28688, // blazing
DRYGORE_BLOWPIPE_MOCK_ID,
30374, // drygore
];

// The maximum number of loadouts that users can have. Do not lower it, else it will cause share link issues.
Expand Down
3 changes: 1 addition & 2 deletions src/state.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import { spellByName } from '@/types/Spell';
import {
DEFAULT_ATTACK_SPEED,
LEAGUES_FIVE_MOCK_ID_MAPPINGS,
NATURES_REPRISAL_MOCK_ID,
NUMBER_OF_LOADOUTS,
} from '@/lib/constants';
import { defaultLeaguesState } from '@/lib/LeaguesV';
Expand Down Expand Up @@ -473,7 +472,7 @@ class GlobalState implements State {

case 2:
data.loadouts.forEach((l) => {
if (l.equipment?.weapon?.id === NATURES_REPRISAL_MOCK_ID) {
if (l.equipment?.weapon?.id === 1000012) { // old mock version of Nature's reprisal
l.equipment.weapon.category = EquipmentCategory.MULTISTYLE;
}
});
Expand Down

0 comments on commit d8622b3

Please sign in to comment.