Skip to content

Commit

Permalink
quest/lamp fixes (#5949)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwjgit authored Aug 6, 2024
1 parent 7816fe4 commit bdc6f78
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
5 changes: 4 additions & 1 deletion src/lib/data/itemAliases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,15 @@ setItemAlias(2993, 'Chompy bird hat (dragon archer)');
setItemAlias(2994, 'Chompy bird hat (expert ogre dragon archer)');
setItemAlias(2995, 'Chompy bird hat (expert dragon archer)');

// Item aliases
// Achievement diary lamps
setItemAlias(11_137, 'Antique lamp 1');
setItemAlias(11_139, 'Antique lamp 2');
setItemAlias(11_141, 'Antique lamp 3');
setItemAlias(11_185, 'Antique lamp 4');

// Defender of varrock quest lamp
setItemAlias(28_820, 'Antique lamp (defender of varrock)');

// Dragonfire shields
setItemAlias(11_284, 'Uncharged dragonfire shield');
setItemAlias(11_283, 'Dragonfire shield');
Expand Down
5 changes: 2 additions & 3 deletions src/lib/minions/data/quests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const quests: Quest[] = [
},
combatLevelReq: 50,
qpReq: 10,
rewards: new Bank().add(28_587).add(28_587).add(28_588).add(28_589).add(28_590).freeze(),
rewards: new Bank().add(28_587).add(28_588).add(28_589).add(28_590).freeze(),
calcTime: (user: MUser) => {
let duration = Time.Minute * 10;
if (user.combatLevel < 90) {
Expand Down Expand Up @@ -112,8 +112,7 @@ export const quests: Quest[] = [
},
combatLevelReq: 65,
qpReq: 20,
// Awaiting item update for the lamp to be added
// rewards: new Bank().add(28_820).freeze(),
rewards: new Bank().add(28_820).freeze(),
skillsRewards: {
smithing: 15_000,
hunter: 15_000
Expand Down
10 changes: 8 additions & 2 deletions src/mahoji/lib/abstracted_commands/lampCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,12 @@ export const XPLamps: IXPLamp[] = [
minimumLevel: 1,
allowedSkills: [SkillsEnum.Magic]
},
/* Needs OSJS Update
{
itemID: 28_820,
amount: 5000,
name: 'Antique lamp (defender of varrock)',
minimumLevel: 1
},*/
},
{
itemID: itemID('Antique lamp (easy ca)'),
amount: 5000,
Expand Down Expand Up @@ -149,6 +148,13 @@ export const Lampables: IXPObject[] = [
skills[skill] =
data.user.skillLevel(skill) *
([
SkillsEnum.Attack,
SkillsEnum.Strength,
SkillsEnum.Defence,
SkillsEnum.Magic,
SkillsEnum.Ranged,
SkillsEnum.Hitpoints,
SkillsEnum.Prayer,
SkillsEnum.Mining,
SkillsEnum.Woodcutting,
SkillsEnum.Herblore,
Expand Down

0 comments on commit bdc6f78

Please sign in to comment.