Skip to content

Commit

Permalink
Post-rebase fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BorigTheDwarf committed Jan 25, 2025
1 parent 18a2f29 commit cf59412
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"build:watch": "swc ./src -d dist -w --strip-leading-paths",
"clean": "rimraf coverage && rimraf dist",
"lint": "biome lint",
"lint:fin": "biome lint --write --diagnostic-level=error --reporter=summary",
"lint:fin": "biome lint --write --diagnostic-level=error",
"lint:fix": "biome lint --write",
"format": "biome format",
"format:fin": "biome format --write --reporter=summary",
Expand Down
2 changes: 1 addition & 1 deletion src/engine/world/skill-util/glory-boost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { equipmentIndices, findItem } from '@engine/config';

export function checkForGemBoost(player: Player): number {
// Check if any charged glory is equipped
const neckSlotIndex = equipmentIndices['neck'];
const neckSlotIndex = equipmentIndices.neck;
const neckItem = player.equipment.items[neckSlotIndex];

if (!neckItem) {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/skills/mining/mining-task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class MiningTask extends ActorLandscapeObjectInteractionTask<Player> {
}

private hasChargedGlory(): boolean {
const neckSlotIndex = equipmentIndices['neck']; // This is 2
const neckSlotIndex = equipmentIndices.neck; // This is 2
const neckItem = this.actor.equipment.items[neckSlotIndex];
if (!neckItem) {
return false;
Expand Down

0 comments on commit cf59412

Please sign in to comment.