Jump to content

Recommended Posts

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
https://wrobot.eu/forums/topic/9328-rogue-vanish-set-up/
Share on other sites

  • 2 months later...
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
https://wrobot.eu/forums/topic/9328-rogue-vanish-set-up/#findComment-46223
Share on other sites

  • 2 years later...

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
https://wrobot.eu/forums/topic/9328-rogue-vanish-set-up/#findComment-62357
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...