osrs-tools
Version:
A comprehensive TypeScript library for Old School RuneScape (OSRS) data and utilities, including quest data, skill requirements, and game item information
66 lines (65 loc) • 1.76 kB
JavaScript
import { Npc } from "../Npc";
import { NpcDrop } from "../NpcDrop";
/**
* Rooster
* Wiki reference: https://oldschool.runescape.wiki/w/Rooster
*
* A proud rooster found in farms. Similar to chickens but slightly larger.
*/
export const rooster = new Npc({
id: 1021,
name: "Rooster",
examine: "A proud rooster.",
members: false,
officialWikiUrl: "https://oldschool.runescape.wiki/w/Rooster",
combatLevel: 1,
stats: {
hitpoints: 3,
attack: 1,
strength: 1,
defence: 1,
magic: 1,
ranged: 1,
},
aggressiveStats: {
attackBonus: -47,
strengthBonus: -42,
magicStrengthBonus: 0,
rangedStrengthBonus: 0,
},
defences: {
melee: { stab: -42, slash: -42, crush: -42 },
magic: { bonus: -42, elementalWeakness: undefined },
ranged: { light: -42, standard: -42, heavy: -42 },
},
combat: {
maxHit: 0,
attackSpeed: 4,
respawnTime: 15,
isAggressive: false,
isAttackable: true,
attackStyles: ["Stab"],
isPoisonous: false,
hasWeaponVenom: false,
weaknesses: [],
},
immunities: {
canBePoison: false, // Immune
isPoisonous: false,
canBeVenom: false, // Immune
canBeCannoned: true,
canBeThralled: true,
},
locations: ["Lumbridge Farms", "Falador Farms"],
drops: [
new NpcDrop("Bones", 1, "Always"),
new NpcDrop("Raw chicken", 1, "Always"),
new NpcDrop("Feather", [5, 15], "1/2"),
],
trivia: [
"A proud rooster found in farms",
"Similar to chickens in combat difficulty",
"Slightly larger than hens",
],
});
export default rooster;