AutoBot3000 0 Posted May 4, 2018 Share Posted May 4, 2018 Hi Everyone, I'd like to create a series of conditions to have my Rogue use vanish when 20% hp is reached and "reset" himself. Currently: 1) Engage Target 2) HP (Me) Reaches 20% 3) Cast Vanish 4) Target resets (Evade) 5) Rogue chases evading monster continuing attack -------- Are there any conditions that I can utilize to "End Combat" or reset? Looking to complete this using "Conditions" please. Thanks! -AutoBot3000 Link to comment Share on other sites More sharing options...
MrKitties 0 Posted July 26, 2018 Share Posted July 26, 2018 BUMP Link to comment Share on other sites More sharing options...
Marsbar 227 Posted July 30, 2018 Share Posted July 30, 2018 On 7/26/2018 at 6:09 PM, MrKitties said: BUMP Fight.StopFight(); It's not a condition but a c# function you need to call. If using the xml fight class editor instead of a spell you can add c# code (need to set the option to true where its c#, not a spell). There you'd add something like; Fight.StopFight(); SpellManager.CastSpellByNameLUA("Vanish"); Thread.Sleep(500); Link to comment Share on other sites More sharing options...
callsoul 3 Posted June 26, 2021 Share Posted June 26, 2021 if else need to find a proper place to regen (food), how the full code should look like? i mean, stop fight, vanish, find a point outside of mob arrgo radius, and go there for regen? to put it in "spell name" in a Fight class, and in properities set "a c# code"=true for it to work? Link to comment 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