Apexx 60 Posted August 20, 2017 Share Posted August 20, 2017 It is a bit redundant to sit to replenish mana or health while eating and drinking just when a buff falls off, and my player gets up mid-meal to buff again. Is there a check for this issue? Thanks! Link to comment https://wrobot.eu/forums/topic/6820-buff-check-when-not-eating-or-drinking/ Share on other sites More sharing options...
reapler 154 Posted August 21, 2017 Share Posted August 21, 2017 Hello, this should work: if ( !ObjectManager.Me.HaveBuff("Food") && !ObjectManager.Me.HaveBuff("Drink") //other conditions ) { new Spell("Battle Shout").Launch(); } But keep in mind it's not multi-language and special food needs an own check. Apexx 1 Link to comment https://wrobot.eu/forums/topic/6820-buff-check-when-not-eating-or-drinking/#findComment-30978 Share on other sites More sharing options...
Apexx 60 Posted August 21, 2017 Author Share Posted August 21, 2017 Will try that out, you come to the rescue again @reapler Link to comment https://wrobot.eu/forums/topic/6820-buff-check-when-not-eating-or-drinking/#findComment-30980 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now