Merge pull request #28 from af4t/master

Melee tomes named "Skill:  ", again
This commit is contained in:
JJ 2013-03-08 08:42:54 -08:00
commit 2af6e8cd16
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,8 @@
EQEMu Changelog (Started on Sept 24, 2003 15:50)
-------------------------------------------------------
== 03/07/2013 ==
af4t: Melee tomes with names beginning "Skill:" (e.g. RNG Warder's Wrath, etc) can be memorized now, by hand-in-to-guildmaster or right-click-from-inventory.
== 03/02/2013 ==
af4t: Stop NPCs aggroing each other with buffs/beneficial spells.
@ -32,7 +35,6 @@ af4t: Add Touch of the Wicked AA redux to SK Improved Harm Touch and Leech Touch
== 02/22/2013 ==
demonstar55: Mobs will now be removed from XTargets when they get back to their way point, should be last instance of XTarget mobs not clearing when they are not aggroed anymore
af4t: Melee tomes with names beginning "Skill:" (e.g. RNG Warder's Wrath, etc) can be memorized now.
== 02/19/2013 ==
Derision: World should no longer crash if the start_zone query fails at character creation.

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