public Parser() { emitter = new Emitter(); readers = new Stack <Reader>(); variables = new Dictionary <string, Var>(); }
static void OpFilterHPBelow(Emitter e, int args, bool returnResult) { e.Literal(FilterHPBelow); e.Emit(Op.FilterTargets); }
static void OpSelectRandom(Emitter e, int args, bool returnResult) { e.Literal(SelectRandom); e.Emit(Op.SelectTarget); }
static void OpFilterRange(Emitter e, int args, bool returnResult) { e.Literal(FilterRange); e.Emit(Op.FilterTargets); }
static void OpSelectEnemies(Emitter e, int args, bool returnResult) { e.Literal(SelectEnemies); e.Emit(Op.SelectTargets); }