Question - Pet buff question

Joined
Dec 2, 2014
RedCents
1,815¢
I'm having a little trouble checking a petbuff and was wondering if anyone had any ideas? The code below evaluates true once after every fight, even if the pet has the buff on it. After the buff is recast it doesn't evaluate true until after the next fight. Is it a buff populating issue?

Rich (BB code):
/if (!${Me.PetBuff[${LockJaw}]} && (!${Me.Casting.ID}) && ${Me.Book[${LockJaw}]} && ${Me.CurrentMana}>${Spell[${LockJaw}].Mana}) { 
		/echo lockjaw
		/call SpellQueue "${LockJaw}" ${Me.ID}
	}
 
It is most likely because the (!${Me.Casting.ID}) is evaluating to FALSE, whitch means you are casting something when the /if statement is being checked. That statement will only cast if your NOT casting and that would be after each fight. Most like somewhere before or after this code you start casting other things.
 
Question - Pet buff question

Users who are viewing this thread

Back
Top
Cart