Fixed maze reward chest amount

Fixed ToG quest point requirements
This commit is contained in:
Oven Bread
2025-04-06 09:17:16 +00:00
committed by Ryan
parent 3a7dfab628
commit 53c90ad6d6
2 changed files with 3 additions and 2 deletions
@@ -160,7 +160,7 @@ class MazeInterface : InteractionListener, EventHook<TickEvent>, MapArea {
animate(player, 536)
// val actualScenery = RegionManager.getObject(node.location.z, node.location.x, node.location.y, 3626)
val tableRoll = CHEST_REWARDS.roll()
addItemOrBank(player, tableRoll[0].id)
addItemOrBank(player, tableRoll[0].id, tableRoll[0].amount)
when (tableRoll[0].id){
Items.AIR_RUNE_556 -> sendItemDialogue(player, Items.AIR_RUNE_556, "You've found some air runes!")
Items.WATER_RUNE_555 -> sendItemDialogue(player, Items.WATER_RUNE_555, "You've found some water runes!")
@@ -51,6 +51,7 @@ class TearsOfGuthix : Quest(Quests.TEARS_OF_GUTHIX, 120, 119, 1, 449, 451, 0, 1,
fun hasRequirements(player: Player): Boolean {
return arrayOf(
getQuestPoints(player) >= 43,
hasLevelStat(player, Skills.FIREMAKING, 49),
hasLevelStat(player, Skills.CRAFTING, 20),
hasLevelStat(player, Skills.MINING, 20),
@@ -71,7 +72,7 @@ class TearsOfGuthix : Quest(Quests.TEARS_OF_GUTHIX, 120, 119, 1, 449, 451, 0, 1,
line(player, "Level 49 firemaking", line++, hasLevelStat(player, Skills.FIREMAKING, 49))
line(player, "!!Level 20 crafting??", line++, hasLevelStat(player, Skills.CRAFTING, 20))
line(player, "!!Level 20 mining??", line++, hasLevelStat(player, Skills.MINING, 20))
line(player, "!!43 quest points??", line++, getQuestPoints(player) >= 55)
line(player, "!!43 quest points??", line++, getQuestPoints(player) >= 43)
line(player, "!!Level 49 crafting would be an advantage??", line++, hasLevelStat(player, Skills.CRAFTING, 49))
line(player, "!!Level 49 smithing would be an advantage??", line++, hasLevelStat(player, Skills.SMITHING, 49))
} else if (stage < 100) {