Example #1
0
 public override void OnStart()
 {
     this.status = 2;
     for (int i = 0; i < 4; i++)
     {
         if (this.actorMgr.Actors[i] != null)
         {
             this.actorMgr.Actors[i].AiCtrler.Locked = false;
             this.actorMgr.Actors[i].AiCtrler.EnableAI = GameCache.Data.EnableAI;
         }
         if (this.remoteActor[i] != null)
         {
             this.remoteActor[i].AiCtrler.Locked = false;
             this.remoteActor[i].AiCtrler.EnableAI = true;
         }
     }
     this.actorMgr.Actors[0].AiCtrler.AssistSkill = 0;
     MC2S_PvpCombatStart ojb = new MC2S_PvpCombatStart();
     Globals.Instance.CliSession.Send(805, ojb);
 }
Example #2
0
 public override void OnStart()
 {
     this.status = 2;
     Globals.Instance.GameMgr.SpeedUp(0.2f, true);
     for (int i = 0; i < 4; i++)
     {
         if (this.actorMgr.Actors[i] != null)
         {
             this.actorMgr.Actors[i].AiCtrler.Locked = false;
             this.actorMgr.Actors[i].AiCtrler.EnableAI = true;
         }
         if (this.remoteActor[i] != null)
         {
             this.remoteActor[i].AiCtrler.Locked = false;
             this.remoteActor[i].AiCtrler.EnableAI = true;
         }
     }
     MC2S_PvpCombatStart ojb = new MC2S_PvpCombatStart();
     Globals.Instance.CliSession.Send(805, ojb);
 }