pawn:hasBuff()

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
evilband7
Posts: 15
Joined: Thu Aug 18, 2011 10:39 am

pawn:hasBuff()

#1 Post by evilband7 » Sat Feb 23, 2013 4:07 pm

hasBuff("Pondering Substitute", 3)

but it's not work because a returned parameter named "count" from pawn:getBuff() always be 1.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: pawn:hasBuff()

#2 Post by lisa » Sat Feb 23, 2013 6:43 pm

start bot with commandline

Code: Select all

rom/bot path: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.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

evilband7
Posts: 15
Joined: Thu Aug 18, 2011 10:39 am

Re: pawn:hasBuff()

#3 Post by evilband7 » Sun Feb 24, 2013 2:18 am

lisa wrote:start bot with commandline

Code: Select all

rom/bot path: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.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 13 guests