[Core]Fix temporary enchantment duration

This commit is contained in:
xfury 2015-12-15 02:43:01 +08:00
parent e89cf4bc44
commit 504a7c3b88

View File

@ -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);
}
}