mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-26 08:33:53 +00:00
Client tracks pet sit/stand - force new pets to stand rather than use client (#1155)
Co-authored-by: Noudess <noudess@gmail.com>
This commit is contained in:
parent
8a0f242fc6
commit
21a1a7bed7
@ -774,6 +774,13 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
|
||||
caster->SetPet(this);
|
||||
SetOwnerID(caster->GetID());
|
||||
SetPetOrder(SPO_Follow);
|
||||
SetAppearance(eaStanding);
|
||||
// Client has saved previous pet sit/stand - make all new pets
|
||||
// stand on charm.
|
||||
if (caster->IsClient()) {
|
||||
caster->CastToClient()->SetPetCommandState(PET_BUTTON_SIT,0);
|
||||
}
|
||||
|
||||
SetPetType(petCharmed);
|
||||
|
||||
if(caster->IsClient()){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user