Page 1 of 1
pawn:hasBuff()
Posted: Sat Feb 23, 2013 4:07 pm
by evilband7
hasBuff("Pondering Substitute", 3)
but it's not work because a returned parameter named "count" from pawn:getBuff() always be 1.
Re: pawn:hasBuff()
Posted: Sat Feb 23, 2013 6:43 pm
by lisa
start bot with commandline
then use this
Code: Select all
player:updateBuffs() table.print(player.Buffs)
I think you will find that Count is 1 but Level is increased, some buffs are different like that.
Re: pawn:hasBuff()
Posted: Sun Feb 24, 2013 2:18 am
by evilband7
lisa wrote:start bot with commandline
then use this
Code: Select all
player:updateBuffs() table.print(player.Buffs)
I think you will find that Count is 1 but Level is increased, some buffs are different like that.
thank you lisa.