Method PlayerBotAI:HasCheat [-] [+]
Returns true if the bot has the given cheat enabled.
enum BotCheatMask
{
none = 0,
taxi = 1,
gold = 2,
health = 4,
mana = 8,
power = 16,
raid = 32,
food = 64
};
Synopsis
hasCheat = PlayerBotAI:HasCheat( cheatMask )
Arguments
number cheatMaskValid numbers: integers from 0 to 4,294,967,295.
Returns
boolean hasCheat- See method description.