PDA

View Full Version : /pet attack


Shin Noir
08-29-2009, 02:22 PM
if you /duel another player with a bot and the bot has a pet, the pet spams "That is not a legal target master" over and over.

Taurinus
09-02-2009, 02:39 AM
Hey Shin,

This isn't a bug per se. I just looked this up in the source, and the bots are responding properly due to being designed to only attack clients who are a) in the zone 'Arena' or b) are flagged for PvP. Dueling does not flag the client for PvP.

Best to just poof the bot before dueling.

Edit: Should be noted that both the bot owner and target must be flagged for PvP.

lich2594
08-14-2010, 07:36 PM
Which file, in the source code, is this in? I need to tweak it for my server.

I need to adjust the pvp flag check, for the bot's pet.

lich2594
08-14-2010, 08:57 PM
Never mind, I found it under bot.cpp at Bot::IsBotAttackAllowed.