From 0ea5477d6e3ff7dd3911264c17a9a425b9a2954a Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Mon, 19 Jan 2026 19:27:43 +0100 Subject: [PATCH] Items/Fixup * fix spell struct to calculate stats from when viewing item XML --- includes/dbtypes/item.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/dbtypes/item.class.php b/includes/dbtypes/item.class.php index 76854110..01dd9b46 100644 --- a/includes/dbtypes/item.class.php +++ b/includes/dbtypes/item.class.php @@ -1330,9 +1330,9 @@ class ItemList extends DBTypeList continue; if ($spell = DB::Aowow()->selectRow( - 'SELECT `effect1AuraId`, `effect1MiscValue`, `effect1BasePoints`, `effect1DieSides`, - `effect2AuraId`, `effect2MiscValue`, `effect2BasePoints`, `effect2DieSides`, - `effect3AuraId`, `effect3MiscValue`, `effect3BasePoints`, `effect3DieSides` + 'SELECT `effect1Id`, `effect1TriggerSpell`, `effect1AuraId`, `effect1MiscValue`, `effect1BasePoints`, `effect1DieSides`, + `effect2Id`, `effect2TriggerSpell`, `effect2AuraId`, `effect2MiscValue`, `effect2BasePoints`, `effect2DieSides`, + `effect3Id`, `effect3TriggerSpell`, `effect3AuraId`, `effect3MiscValue`, `effect3BasePoints`, `effect3DieSides` FROM ?_spell WHERE `id` = ?d', $this->curTpl['spellId'.$h]