Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
        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);
            }
        }
Exemplo n.º 3
0
 public GProfile(GContext main)
 {
     this.main = main;
 }