From da4387d0f4fa47df9d48ea88cd9a9b8c00724609 Mon Sep 17 00:00:00 2001 From: Poseidon Date: Wed, 3 Dec 2025 16:46:06 -0500 Subject: [PATCH] Added index to the calculation Index should always be the number pairs of ingredients used by the time the spell is finished running so multiplying the amount of XP gained (10) by the index should give the proper amount of Crafting XP. --- .../src/main/content/global/skill/magic/lunar/LunarListeners.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/src/main/content/global/skill/magic/lunar/LunarListeners.kt b/Server/src/main/content/global/skill/magic/lunar/LunarListeners.kt index b89b1a3c7..b10cbd43d 100644 --- a/Server/src/main/content/global/skill/magic/lunar/LunarListeners.kt +++ b/Server/src/main/content/global/skill/magic/lunar/LunarListeners.kt @@ -575,7 +575,7 @@ class LunarListeners : SpellListener("lunar"), Commands { if(index == size && size != 0) { removeRunes(player, true) visualizeSpell(player, Animations.LUNAR_SPELLBOOK_SUPERGLASS_MAKE_4413, Graphics.LUNAR_SPELLBOOK_SUPERGLASS_MAKE_729, 120, Sounds.LUNAR_HEATGLASS_2896) - rewardXP(player, Skills.CRAFTING, 10.0) + rewardXP(player, Skills.CRAFTING, 10.0 * index) addXP(player, 78.0) } }