osrs-tools
Version:
A comprehensive TypeScript library for Old School RuneScape (OSRS) data and utilities, including quest data, skill requirements, and game item information
65 lines (64 loc) • 1.68 kB
JavaScript
import { Npc } from "../Npc";
import { NpcDrop } from "../NpcDrop";
/**
* Duck
* Wiki reference: https://oldschool.runescape.wiki/w/Duck
*
* A weak waterfowl found near water. One of the weakest enemies in OSRS.
*/
export const duck = new Npc({
id: 1018,
name: "Duck",
examine: "A waterfowl.",
members: false,
officialWikiUrl: "https://oldschool.runescape.wiki/w/Duck",
combatLevel: 1,
stats: {
hitpoints: 2,
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: ["Mills", "Ponds", "Various water locations"],
drops: [
new NpcDrop("Bones", 1, "Always"),
new NpcDrop("Raw duck", 1, "Rare"),
],
trivia: [
"One of the weakest enemies in OSRS",
"Found near water bodies",
"Slightly weaker than Chickens",
],
});
export default duck;