From db8301ce633e0009d9e528794f63be67095c7a7f Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 1 Feb 2009 16:12:51 -0600 Subject: Add custom chance for some spells in 16180 and ranks (added in 308) Show enchant id in error log Signed-off-by: DiSlord --HG-- branch : trunk --- src/game/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Player.cpp') diff --git a/src/game/Player.cpp b/src/game/Player.cpp index e7afb155c5e..410bf1de68c 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -12397,7 +12397,7 @@ void Player::ApplyEnchantment(Item *item,EnchantmentSlot slot,bool apply, bool a // processed in Player::CastItemUseSpell break; default: - sLog.outError("Unknown item enchantment display type: %d",enchant_display_type); + sLog.outError("Unknown item enchantment (id = %d) display type: %d", enchant_id, enchant_display_type); break; } /*switch(enchant_display_type)*/ } /*for*/ -- cgit v1.2.3