From 874c41de5df9eeb977328d3c86b97a0debc843f5 Mon Sep 17 00:00:00 2001 From: nwjgit <69014816+nwjgit@users.noreply.github.com> Date: Tue, 17 Sep 2024 06:29:40 -0500 Subject: [PATCH] Add Armoured Zombie (#388) --- src/EMonster.ts | 1 + src/data/monsters_data.json | 40 +++++++++++++++++ .../monsters/low/a-f/ArmouredZombie.ts | 45 +++++++++++++++++++ src/simulation/monsters/low/index.ts | 2 + update-history/item-update-2024-9-4.json | 1 + update-history/item-update-2024-9-4.txt | 7 +++ 6 files changed, 96 insertions(+) create mode 100644 src/simulation/monsters/low/a-f/ArmouredZombie.ts create mode 100644 update-history/item-update-2024-9-4.json create mode 100644 update-history/item-update-2024-9-4.txt diff --git a/src/EMonster.ts b/src/EMonster.ts index 64fcbf1bf..4e3385575 100644 --- a/src/EMonster.ts +++ b/src/EMonster.ts @@ -308,6 +308,7 @@ export enum EMonster { MANIACAL_MONKEY = 7118, ZOMBIE_PIRATE = 13489, TORMENTED_DEMON = 13600, + ARMOURED_ZOMBIE = 12720, BARROWS = 1673, TZTOKJAD = 3127, HESPORI = 8583, diff --git a/src/data/monsters_data.json b/src/data/monsters_data.json index d190559bc..0fe253cc7 100644 --- a/src/data/monsters_data.json +++ b/src/data/monsters_data.json @@ -14639,6 +14639,46 @@ "slayerXP": 1400, "assignableSlayerMasters": ["konar", "nieve", "duradel"] }, + "12720": { + "members": true, + "combatLevel": 85, + "hitpoints": 85, + "maxHit": 8, + "attackType": ["crush"], + "attackSpeed": 4, + "aggressive": true, + "poisonous": false, + "immuneToPoison": false, + "immuneToVenom": false, + "attributes": ["undead"], + "category": ["zombies"], + "examineText": "This is a rotten one.", + "wikiName": "Armoured zombie (Melee)", + "wikiURL": "https://oldschool.runescape.wiki/w/Armoured_zombie#Melee", + "attackLevel": 73, + "strengthLevel": 72, + "defenceLevel": 68, + "magicLevel": 1, + "rangedLevel": 1, + "attackStab": 0, + "attackSlash": 0, + "attackCrush": 0, + "attackMagic": 0, + "attackRanged": 0, + "defenceStab": 20, + "defenceSlash": 20, + "defenceCrush": 0, + "defenceMagic": 0, + "defenceRanged": 10, + "attackAccuracy": 0, + "meleeStrength": 0, + "rangedStrength": 0, + "magicDamage": 0, + "isSlayerMonster": true, + "slayerLevelRequired": 1, + "slayerXP": 85, + "assignableSlayerMasters": ["turael", "spria", "mazchna"] + }, "13489": { "members": true, "combatLevel": 22, diff --git a/src/simulation/monsters/low/a-f/ArmouredZombie.ts b/src/simulation/monsters/low/a-f/ArmouredZombie.ts new file mode 100644 index 000000000..08500968a --- /dev/null +++ b/src/simulation/monsters/low/a-f/ArmouredZombie.ts @@ -0,0 +1,45 @@ +import LootTable from "../../../../structures/LootTable"; +import SimpleMonster from "../../../../structures/SimpleMonster"; +import HerbDropTable from "../../../subtables/HerbDropTable"; +import { GemTable } from "../../../subtables/RareDropTable"; + +export const ArmouredZombieTable = new LootTable({ limit: 128 }) + .every("bones") + + /* Runes and ammunition */ + .add("Pure essence", [20, 50], 12) + .add("Adamant arrow", 12, 8) + .add("Blood rune", [4, 10], 4) + .add("Cosmic rune", [10, 20], 3) + .add("Nature rune", [4, 10], 2) + .add("Chaos rune", [10, 20], 1) + .add("Death rune", [4, 10], 1) + + /* Herbs */ + .add(HerbDropTable, 1, 43) + + /* Other */ + .add("Coins", [50, 400], 31) + .add("Oak plank", 5, 6) + .add("Plank", 10, 5) + .add("Adamant mace", 1, 3) + .add("Coins", [10, 20], 3) + .add("Teak plank", 2, 2) + .add("Adamant kiteshield", 1, 1) + .add("Eye of newt", [2, 6], 1) + .add("Fishing bait", 6, 1) + + /* Gem drop table */ + .add(GemTable, 1, 1) + + /* Tertiary */ + .tertiary(128, "Clue scroll (hard)") + .tertiary(800, "Broken zombie axe") + .tertiary(5000, "Zombie champion scroll"); + +export default new SimpleMonster({ + id: 12_720, + name: "Armoured Zombie", + table: ArmouredZombieTable, + aliases: ["armoured zombie"], +}); diff --git a/src/simulation/monsters/low/index.ts b/src/simulation/monsters/low/index.ts index 7ba90748a..d3218f574 100644 --- a/src/simulation/monsters/low/index.ts +++ b/src/simulation/monsters/low/index.ts @@ -6,6 +6,7 @@ import AlKharidWarrior from "./a-f/AlKharidWarrior"; import AncientZygomite from "./a-f/AncientZygomite"; import Ankou from "./a-f/Ankou"; import ArmadylianGuard from "./a-f/ArmadylianGuard"; +import ArmouredZombie from "./a-f/ArmouredZombie"; import AsynShade from "./a-f/AsynShade"; import Aviansie from "./a-f/Aviansie"; import BabyBlackDragon from "./a-f/BabyBlackDragon"; @@ -535,5 +536,6 @@ export const allLowMonsters = { ManiacalMonkey, ZombiePirate, TormentedDemon, + ArmouredZombie, Crab, }; diff --git a/update-history/item-update-2024-9-4.json b/update-history/item-update-2024-9-4.json new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/update-history/item-update-2024-9-4.json @@ -0,0 +1 @@ +{} diff --git a/update-history/item-update-2024-9-4.txt b/update-history/item-update-2024-9-4.txt new file mode 100644 index 000000000..514938b08 --- /dev/null +++ b/update-history/item-update-2024-9-4.txt @@ -0,0 +1,7 @@ +Updated on 04/09/2024, 11:19:20 am AEST Sydney / 09/03/2024, 06:19:20 PM PDT California + +Name Changes: + Ring of shadows to Ring of shadows (uncharged) + +New Items: No items. +Deleted Items: No items.