Jump to content

FiniteStateMachine


Memus
 Share

Recommended Posts

This code:

engine = new Engine(false);
engine.States.Add(new SpellState("Power Word: Fortitude", 11, c => !ObjectManager.Me.HaveBuff("Power Word: Fortitude"), true, false));
engine.States.Add(new SpellState("Divine Spirit", 10, c => !ObjectManager.Me.HaveBuff("Divine Spirit"), true, false));
engine.StartEngine(15);

Only the first/highest prioritized SpellState gets evaluated...
No matter what.
How can I make the engine process more than one state of a particular type?

Link to comment
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
 Share

×
×
  • Create New...