Skip to content

Commit

Permalink
Add leagues tasks for solis/clue tame
Browse files Browse the repository at this point in the history
  • Loading branch information
gc committed Feb 20, 2024
1 parent e4c8207 commit f194d23
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions src/lib/leagues/eliteTasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import {
} from '../diaries';
import { implings } from '../implings';
import { Naxxus } from '../minions/data/killableMonsters/custom/bosses/Naxxus';
import { SunMoonMonsters } from '../minions/data/killableMonsters/custom/SunMoon';
import Darts from '../skilling/skills/fletching/fletchables/darts';
import Javelins from '../skilling/skills/fletching/fletchables/javelins';
import { ashes } from '../skilling/skills/prayer';
Expand Down Expand Up @@ -790,5 +791,68 @@ export const eliteTasks: Task[] = [
has: async ({ user }) => {
return slayerMaskHelms.every(mask => user.cl.has(mask.mask.id));
}
},
{
id: 3105,
name: 'Receive a eagle egg and hatch it',
has: async ({ tames, cl }) => {
return cl.has('Eagle egg') && tames.some(t => t.species_id === TameSpeciesID.Eagle);
}
},
{
id: 3106,
name: 'Feed a perk-item to your Eagle tame',
has: async ({ tames }) => {
return tames
.filter(t => t.species_id === TameSpeciesID.Eagle)
.some(t => {
const fedItems = new Bank(t.fed_items as ItemBank);
return tameFeedableItems.some(
i => i.tameSpeciesCanBeFedThis.includes(TameSpeciesID.Eagle) && fedItems.has(i.item.id)
);
});
}
},
{
id: 3107,
name: 'Create a Divine ring',
has: async ({ cl }) => {
return cl.has('Divine ring');
}
},
{
id: 3108,
name: 'Create any set of eagle jibwings',
has: async ({ cl }) => {
return [
'Abyssal jibwings (e)',
'Demonic jibwings (e)',
'3rd age jibwings (e)',
'Abyssal jibwings',
'Demonic jibwings',
'3rd age jibwings'
].some(i => cl.has(i));
}
},
{
id: 3109,
name: 'Create any set of enhanced eagle jibwings',
has: async ({ cl }) => {
return ['Abyssal jibwings (e)', 'Demonic jibwings (e)', '3rd age jibwings (e)'].some(i => cl.has(i));
}
},
{
id: 3110,
name: 'Kill Solis',
has: async ({ monsterScores }) => {
return Boolean(monsterScores[SunMoonMonsters.Solis.id]);
}
},
{
id: 3111,
name: 'Create an Axe of the high sungod',
has: async ({ cl }) => {
return cl.has('Axe of the high sungod');
}
}
];

0 comments on commit f194d23

Please sign in to comment.