From 504a7c3b88d943a03ed80701059aaab93f84cb1d Mon Sep 17 00:00:00 2001 From: xfury Date: Tue, 15 Dec 2015 02:43:01 +0800 Subject: [PATCH] [Core]Fix temporary enchantment duration --- src/game/WorldHandlers/SpellEffects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/WorldHandlers/SpellEffects.cpp b/src/game/WorldHandlers/SpellEffects.cpp index 294097cb..3028cfdb 100644 --- a/src/game/WorldHandlers/SpellEffects.cpp +++ b/src/game/WorldHandlers/SpellEffects.cpp @@ -4204,7 +4204,7 @@ void Spell::EffectEnchantHeldItem(SpellEffectIndex eff_idx) { return; } // Apply the temporary enchantment - item->SetEnchantment(slot, enchant_id, duration * IN_MILLISECONDS, 0); + item->SetEnchantment(slot, enchant_id, duration, 0); item_owner->ApplyEnchantment(item, slot, true); } }