mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 08:22:17 +00:00
[Spells] Updated pet suspend code to use spell effect data and bonuses (#1501)
This commit is contained in:
1 parent
3b01608a71
commit
5f3c054044
7 files changed
+28
-18
No files matched your search
@@ -1659,8 +1659,9 @@ void Client::Handle_Connect_OP_ZoneEntry(const EQApplicationPacket *app)
|
||||
m_petinfo.SpellID = 0;
|
||||
}
|
||||
/* Moved here so it's after where we load the pet data. */
|
||||
if (!GetAA(aaPersistentMinion))
|
||||
if (!aabonuses.ZoneSuspendMinion && !spellbonuses.ZoneSuspendMinion && !itembonuses.ZoneSuspendMinion) {
|
||||
memset(&m_suspendedminion, 0, sizeof(PetInfo));
|
||||
}
|
||||
|
||||
/* Server Zone Entry Packet */
|
||||
outapp = new EQApplicationPacket(OP_ZoneEntry, sizeof(ServerZoneEntry_Struct));
|
||||
|
||||
Reference in new issue
Block a user