Hi there Could you help me with a bit of scripting please - trying to do a few things : 1) How do I check if I have a certain buff on me? 2) How do I check how long left on the buff? 3) How do I check how many stacks the buff has? 4) How do I check if my target has a beneficial buff (eg to cast Consumption for a Mage) - or can I simply cast it and it will give an error and move on to the next line? 5) Does the scripting language support crafting? eg I'd like to do something like the following pseudo-code (fake item names as examples) : if count(Thin Hides) > 2 { CraftItem(Thin Leather) CraftItem(Thin Leather) CraftItem(Thin Leather Shoes) CastSpell(RuneBreak, Thin Leather Shoes) } I'd rather spend the time figuring out how the bot works and creating a routine for this, than manually going thru the 6000+ each of thin/medium/heavy/thick/exotic leather and crafting+breaking manually. Not to mention all the cloth I have! Thanks for any and all advice - keep up the great work!
1) GigaRift.Me.HasBuff("Your Buff") eg. CreateSpellCast("Your Spell", ctx => !GigaRift.Me.CurrentTarget.HasBuff("TheirBuff")), will cast a spell only if the target does not has a curtain buff or debuff. 2)can't see how long is left, only when it ends, but the above will react when it doe end 3)i don't know at the min although am looking into it for my own routine 4)same as no. 1 really 5)again i don't know not looked into it, well not overly interested in it atm