EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Pet taunt, on Live (https://www.eqemulator.org/forums/showthread.php?t=33284)

provocating 04-05-2011 11:58 AM

Pet taunt, on Live
 
I am trying to remember, on Live could you toggle pet taunt on / off from the pet buttons ? On my SoF and UF clients I can turn it on but have to turn it off with a /pet taunt off. I see this in client_packet.cpp that it does look like it is supposed to be handled. I may either have something wrong on my server or it could be my client. I plan on trying Titanium when I get home.

Code:

        case PET_TAUNT: {
                if((mypet->GetPetType() == petAnimation && GetAA(aaAnimationEmpathy) >= 3) || mypet->GetPetType() != petAnimation) {
                        Message(0,"%s says, 'Now taunting foes, Master!",mypet->GetCleanName());
                        mypet->CastToNPC()->SetTaunting(true);
                }
                break;
        }
        case PET_NOTAUNT: {
                if((mypet->GetPetType() == petAnimation && GetAA(aaAnimationEmpathy) >= 3) || mypet->GetPetType() != petAnimation) {
                        Message(0,"%s says, 'No longer taunting foes, Master!",mypet->GetCleanName());
                        mypet->CastToNPC()->SetTaunting(false);
                }
                break;
        }



All times are GMT -4. The time now is 12:48 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.