Forgot ST_SummonedPet

This commit is contained in:
Michael Cook (mackal) 2017-05-18 12:59:23 -04:00
parent 5eba112b7a
commit 6bdcfaaa71
2 changed files with 2 additions and 2 deletions

View File

@ -1204,7 +1204,7 @@ void Client::ActivateAlternateAdvancementAbility(int rank_id, int target_id) {
}
//
// Modern clients don't require pet targeted for AA casts that are ST_Pet
if (spells[rank->spell].targettype == ST_Pet)
if (spells[rank->spell].targettype == ST_Pet || spells[rank->spell].targettype == ST_SummonedPet)
target_id = GetPetID();
// Bards can cast instant cast AAs while they are casting another song

View File

@ -8607,7 +8607,7 @@ void Client::Handle_OP_ItemVerifyRequest(const EQApplicationPacket *app)
}
// Modern clients don't require pet targeted for item clicks that are ST_Pet
if (spell_id > 0 && spells[spell_id].targettype == ST_Pet)
if (spell_id > 0 && (spells[spell_id].targettype == ST_Pet || spells[spell_id].targettype == ST_SummonedPet))
target_id = GetPetID();
Log(Logs::General, Logs::None, "OP ItemVerifyRequest: spell=%i, target=%i, inv=%i", spell_id, target_id, slot_id);