osrs-tools
Version:
A comprehensive TypeScript library for Old School RuneScape (OSRS) data and utilities, including quest data, skill requirements, and game item information
20 lines (19 loc) • 629 B
JavaScript
import { AttackUnlocks } from './AttackLevelUnlocks';
/**
* Attack skill in OSRS
* The Attack skill determines a player's accuracy and ability to wield certain weapons.
* As players level up their Attack skill, they unlock the ability to use more powerful weapons with higher attack bonuses.
* This class implements the Skill interface and includes specific unlocks related to the Attack skill.
*/
export class Attack {
level;
experience;
name;
unlocks;
constructor() {
this.level = 1;
this.experience = 0;
this.name = 'Attack';
this.unlocks = [...AttackUnlocks];
}
}