Page 1 of 1
Check if bot is transformed (e.g. has a costume)
Posted: Sat Nov 03, 2012 10:26 pm
by Edamh
With the various different types of potions that a bot can take and especially with the Trick-or-Treat title and daily quest, is there a check that I can use to see if the bot is transformed (e.g. has a costume)? I know that the game itself has a check to see if a character is transformed; you can't ride a mount when you're transformed. What's the equivalent check for the bot?
Thanks.
Re: Check if bot is transformed (e.g. has a costume)
Posted: Sun Nov 04, 2012 12:30 am
by rock5
Isn't there a buff you can check for?
Re: Check if bot is transformed (e.g. has a costume)
Posted: Sun Nov 04, 2012 4:20 am
by Ego95
Isn't there a buff you can check for?
What he wants to know is, if you generally can check for being transformed, not for a specific buff. I think you can't. The only way to do this is to check for different buffs like
Code: Select all
if player:hasBuff(buff) or player:hasBuff(buff2) or player:hasBuff(buff3) ...
and so on.
know that the game itself has a check to see if a character is transformed; you can't ride a mount when you're transformed
I don't think the game has a check for this. I think every buff has its own arguments what you are able to do with them. I'm not sure, but when the dwarves came out you could ride a mount with a champion in shield form because they forgot to disable this. So in my opinion there isn't a general check for this.