Core/Spells: Implemented personal summons
This commit is contained in:
@@ -1716,7 +1716,8 @@ namespace Game.Entities
|
||||
|
||||
void CastAllObtainSpells()
|
||||
{
|
||||
for (byte slot = InventorySlots.ItemStart; slot < InventorySlots.ItemEnd; ++slot)
|
||||
int inventoryEnd = InventorySlots.ItemStart + GetInventorySlotCount();
|
||||
for (byte slot = InventorySlots.ItemStart; slot < inventoryEnd; ++slot)
|
||||
{
|
||||
Item item = GetItemByPos(InventorySlots.Bag0, slot);
|
||||
if (item)
|
||||
|
||||
@@ -4501,6 +4501,9 @@ namespace Game.Entities
|
||||
// update visibility
|
||||
UpdateObjectVisibility();
|
||||
|
||||
// recast lost by death auras of any items held in the inventory
|
||||
CastAllObtainSpells();
|
||||
|
||||
if (!applySickness)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user