Add custom chance for some spells in 16180 and ranks (added in 308)

Show enchant id in error log

Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
DiSlord 2009-01-31 19:41:42 +03:00
parent 90f09e001a
commit 14a50bfce9
2 changed files with 4 additions and 1 deletions

View file

@ -12059,7 +12059,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*/