Melee tomes named "Skill: ...": had overlooked learn-by-right-click, updated.

This commit is contained in:
af4t 2013-03-07 09:42:16 -05:00
parent adf42c8750
commit c81549a441
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
EQEMu Changelog (Started on Sept 24, 2003 15:50)
-------------------------------------------------------
== 03/07/2013 ==
af4t: Melee tomes named "Skill: ...": had overlooked learn-by-right-click, updated.
== 03/02/2013 ==
af4t: Stop NPCs aggroing each other with buffs/beneficial spells.

View File

@ -2082,7 +2082,7 @@ void Client::Handle_OP_ItemVerifyRequest(const EQApplicationPacket *app)
}
else if (inst->IsType(ItemClassCommon))
{
if(item->ItemType == ItemTypeSpell && strstr((const char*)item->Name, "Tome of "))
if(item->ItemType == ItemTypeSpell && (strstr((const char*)item->Name, "Tome of ") || strstr((const char*)item->Name, "Skill: ")))
{
DeleteItemInInventory(slot_id, 1, true);
TrainDiscipline(item->ID);