mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 15:08:22 +00:00
[Spells] Adds a rule to allow right-click memorize from spell scrolls. (#1377)
* [Spells] Adds a rule to allow right-click memorize from spell scrolls. * Typo.
This commit is contained in:
@@ -8876,7 +8876,12 @@ void Client::Handle_OP_ItemVerifyRequest(const EQApplicationPacket *app)
|
||||
}
|
||||
else if (item->ItemType == EQ::item::ItemTypeSpell)
|
||||
{
|
||||
return;
|
||||
if (RuleB(Spells, AllowSpellMemorizeFromItem)) {
|
||||
DeleteItemInInventory(slot_id, 1, true);
|
||||
MemorizeSpellFromItem(item->ID);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if ((item->Click.Type == EQ::item::ItemEffectClick) || (item->Click.Type == EQ::item::ItemEffectExpendable) || (item->Click.Type == EQ::item::ItemEffectEquipClick) || (item->Click.Type == EQ::item::ItemEffectClick2))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user