public GProfile(GContext main, string NextStep, string mount, string condition, string parameter, string ChangeToIfClose, string Event, string Distance) { this.mount = mount; this.condition = condition; this.parameter = parameter; this.NextStep = NextStep; this.main = main; this.ChangeToIfClose = ChangeToIfClose; this.Event = Event; this.Distance = Distance; }
public bool TargetEnemy(GContext context, GPlayerSelf me, KeyHelper keyhelper) { GSpellTimer timer = new GSpellTimer(60 * 1000); keyhelper.SendKey("Common.TargetEnemy"); Thread.Sleep(1000); while (!me.TargetGUID.Equals(GUID) && !timer.isReady) { keyhelper.SendKey("Common.TargetEnemy"); Thread.Sleep(1000); } if (me.TargetGUID.Equals(GUID)) { return(true); } else { return(false); } }
public GProfile(GContext main) { this.main = main; }