osrs-tools
Version:
A comprehensive TypeScript library for Old School RuneScape (OSRS) data and utilities, including quest data, skill requirements, and game item information
34 lines • 820 B
TypeScript
/**
* Slayer Extend class
* Represents a slayer reward that increases task requirements
* Reference: https://oldschool.runescape.wiki/w/Slayer#Rewards
*/
export declare class SlayerExtend {
readonly name: string;
readonly cost: number;
readonly notes: string;
readonly appliesTo?: string[];
constructor(data: {
name: string;
cost: number;
notes: string;
appliesTo?: string[];
});
/**
* Get the extend name
*/
getName(): string;
/**
* Get the cost in slayer points
*/
getCost(): number;
/**
* Get the notes/description of the extend
*/
getNotes(): string;
/**
* Get the tasks this extend applies to
*/
getAppliesToTasks(): string[] | undefined;
}
//# sourceMappingURL=SlayerExtend.d.ts.map