Ejemplo n.º 1
0
		private BT222()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(0));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					node3.AddChild(new Mogo.AI.InSkillRange(1));
					node3.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,100));
					node3.AddChild(new Mogo.AI.Escape(1000));
				}
				node1.AddChild(new Mogo.AI.LookOn(1000,100,0,0,500,2,200,2,200,2,200,94,0,1));
			}
		}
Ejemplo n.º 2
0
 private BT222()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(0));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             node3.AddChild(new Mogo.AI.InSkillRange(1));
             node3.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 100));
             node3.AddChild(new Mogo.AI.Escape(1000));
         }
         node1.AddChild(new Mogo.AI.LookOn(1000, 100, 0, 0, 500, 2, 200, 2, 200, 2, 200, 94, 0, 1));
     }
 }
Ejemplo n.º 3
0
 private BT102()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(0));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     node11.AddChild(new Mogo.AI.InSkillCoolDown(3));
                     node11.AddChild(new Mogo.AI.InSkillRange(3));
                     node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 10));
                     node11.AddChild(new Mogo.AI.CastSpell(3, 0));
                     node11.AddChild(new Mogo.AI.EnterCD(1500));
                 }
                 {
                     Mogo.AI.SequenceNode node17 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node17);
                     node17.AddChild(new Mogo.AI.InSkillCoolDown(2));
                     node17.AddChild(new Mogo.AI.InSkillRange(2));
                     node17.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 20));
                     node17.AddChild(new Mogo.AI.CastSpell(2, 0));
                     node17.AddChild(new Mogo.AI.EnterCD(1500));
                 }
                 {
                     Mogo.AI.SequenceNode node23 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node23);
                     node23.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     node23.AddChild(new Mogo.AI.InSkillRange(1));
                     node23.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 30));
                     node23.AddChild(new Mogo.AI.CastSpell(1, 0));
                     node23.AddChild(new Mogo.AI.EnterCD(1500));
                 }
                 node10.AddChild(new Mogo.AI.EnterRest(500));
             }
         }
     }
 }
Ejemplo n.º 4
0
		private BT102()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(0));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							node11.AddChild(new Mogo.AI.InSkillCoolDown(3));
							node11.AddChild(new Mogo.AI.InSkillRange(3));
							node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,10));
							node11.AddChild(new Mogo.AI.CastSpell(3,0));
							node11.AddChild(new Mogo.AI.EnterCD(1500));
						}
						{
							Mogo.AI.SequenceNode node17 = new Mogo.AI.SequenceNode();
							node10.AddChild(node17);
							node17.AddChild(new Mogo.AI.InSkillCoolDown(2));
							node17.AddChild(new Mogo.AI.InSkillRange(2));
							node17.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,20));
							node17.AddChild(new Mogo.AI.CastSpell(2,0));
							node17.AddChild(new Mogo.AI.EnterCD(1500));
						}
						{
							Mogo.AI.SequenceNode node23 = new Mogo.AI.SequenceNode();
							node10.AddChild(node23);
							node23.AddChild(new Mogo.AI.InSkillCoolDown(1));
							node23.AddChild(new Mogo.AI.InSkillRange(1));
							node23.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,30));
							node23.AddChild(new Mogo.AI.CastSpell(1,0));
							node23.AddChild(new Mogo.AI.EnterCD(1500));
						}
						node10.AddChild(new Mogo.AI.EnterRest(500));
					}
				}
			}
		}
Ejemplo n.º 5
0
 private BT12()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(30));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     node11.AddChild(new Mogo.AI.InSkillCoolDown(2));
                     node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 80));
                     node11.AddChild(new Mogo.AI.CastSpell(2, 0));
                     node11.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node16);
                     node16.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     node16.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 60));
                     node16.AddChild(new Mogo.AI.CastSpell(1, 0));
                     node16.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node21 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node21);
                     node21.AddChild(new Mogo.AI.EnterRest(300));
                 }
             }
         }
     }
 }
Ejemplo n.º 6
0
		private BT11()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(30));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							node11.AddChild(new Mogo.AI.InSkillCoolDown(2));
							node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,80));
                            node11.AddChild(new Mogo.AI.CastSpell(2, 0));
							node11.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
							node10.AddChild(node16);
							node16.AddChild(new Mogo.AI.InSkillCoolDown(1));
							node16.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,60));
                            node16.AddChild(new Mogo.AI.CastSpell(1, 0));
							node16.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node21 = new Mogo.AI.SequenceNode();
							node10.AddChild(node21);
							node21.AddChild(new Mogo.AI.EnterRest(300));
						}
					}
				}
			}
		}
Ejemplo n.º 7
0
 private BT1006()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(30));
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node8 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node8);
                 {
                     Mogo.AI.SequenceNode node9 = new Mogo.AI.SequenceNode();
                     node8.AddChild(node9);
                     node9.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     {
                         Mogo.AI.SelectorNode node11 = new Mogo.AI.SelectorNode();
                         node9.AddChild(node11);
                         {
                             Mogo.AI.SequenceNode node12 = new Mogo.AI.SequenceNode();
                             node11.AddChild(node12);
                             node12.AddChild(new Mogo.AI.InSkillRange(1));
                             node12.AddChild(new Mogo.AI.CastSpell(1, 0));
                             node12.AddChild(new Mogo.AI.EnterCD(0));
                         }
                         {
                             Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
                             node11.AddChild(node16);
                             node16.AddChild(new Mogo.AI.ChooseCastPoint(1));
                             node16.AddChild(new Mogo.AI.MoveTo());
                         }
                     }
                 }
                 node8.AddChild(new Mogo.AI.LookOn(500, 200, 1000, 50, 1000, 50, 1000, 50, 1000, 50, 1000, 0, 50, 1));
             }
         }
     }
 }
Ejemplo n.º 8
0
		private BT1006()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(30));
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node8 = new Mogo.AI.SelectorNode();
						node3.AddChild(node8);
						{
							Mogo.AI.SequenceNode node9 = new Mogo.AI.SequenceNode();
							node8.AddChild(node9);
							node9.AddChild(new Mogo.AI.InSkillCoolDown(1));
							{
								Mogo.AI.SelectorNode node11 = new Mogo.AI.SelectorNode();
								node9.AddChild(node11);
								{
									Mogo.AI.SequenceNode node12 = new Mogo.AI.SequenceNode();
									node11.AddChild(node12);
									node12.AddChild(new Mogo.AI.InSkillRange(1));
                                    node12.AddChild(new Mogo.AI.CastSpell(1, 0));
									node12.AddChild(new Mogo.AI.EnterCD(0));
								}
								{
									Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
									node11.AddChild(node16);
									node16.AddChild(new Mogo.AI.ChooseCastPoint(1));
									node16.AddChild(new Mogo.AI.MoveTo());
								}
							}
						}
                        node8.AddChild(new Mogo.AI.LookOn(500, 200, 1000, 50, 1000, 50, 1000, 50, 1000, 50, 1000, 0, 50, 1));
					}
				}
			}
		}
Ejemplo n.º 9
0
		private BT2222()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				{
					Mogo.AI.SequenceNode node2 = new Mogo.AI.SequenceNode();
					node1.AddChild(node2);
					node2.AddChild(new Mogo.AI.CastSpell(2,0));
				}
				{
					Mogo.AI.SequenceNode node4 = new Mogo.AI.SequenceNode();
					node1.AddChild(node4);
					node4.AddChild(new Mogo.AI.InSkillCoolDown(1));
					node4.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,80));
					node4.AddChild(new Mogo.AI.CastSpell(1,0));
				}
			}
		}
Ejemplo n.º 10
0
 private BT2222()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         {
             Mogo.AI.SequenceNode node2 = new Mogo.AI.SequenceNode();
             node1.AddChild(node2);
             node2.AddChild(new Mogo.AI.CastSpell(2, 0));
         }
         {
             Mogo.AI.SequenceNode node4 = new Mogo.AI.SequenceNode();
             node1.AddChild(node4);
             node4.AddChild(new Mogo.AI.InSkillCoolDown(1));
             node4.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 80));
             node4.AddChild(new Mogo.AI.CastSpell(1, 0));
         }
     }
 }
Ejemplo n.º 11
0
 private BT10000()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         {
             Mogo.AI.SequenceNode node2 = new Mogo.AI.SequenceNode();
             node1.AddChild(node2);
             {
                 Mogo.AI.SelectorNode node3 = new Mogo.AI.SelectorNode();
                 node2.AddChild(node3);
                 node3.AddChild(new Mogo.AI.MercenaryAOI());
                 node3.AddChild(new Mogo.AI.FollowOwner());
             }
             {
                 Mogo.AI.Not node6 = new Mogo.AI.Not();
                 node2.AddChild(node6);
                 node6.Proxy(new Mogo.AI.ISCD());
             }
             node2.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node9 = new Mogo.AI.SelectorNode();
                 node2.AddChild(node9);
                 {
                     Mogo.AI.SequenceNode node10 = new Mogo.AI.SequenceNode();
                     node9.AddChild(node10);
                     node10.AddChild(new Mogo.AI.InSkillRange(1));
                     node10.AddChild(new Mogo.AI.CastSpell(1, 0));
                     node10.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node14 = new Mogo.AI.SequenceNode();
                     node9.AddChild(node14);
                     node14.AddChild(new Mogo.AI.CastSpell(5, 0));
                     node14.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 node9.AddChild(new Mogo.AI.LookOn(500, 100, 1000, 33, 2000, 0, 1500, 35, 1500, 36, 1000, 0, 38, 1));
             }
         }
     }
 }
Ejemplo n.º 12
0
		private BT10000()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				{
					Mogo.AI.SequenceNode node2 = new Mogo.AI.SequenceNode();
					node1.AddChild(node2);
					{
						Mogo.AI.SelectorNode node3 = new Mogo.AI.SelectorNode();
						node2.AddChild(node3);
						node3.AddChild(new Mogo.AI.MercenaryAOI());
						node3.AddChild(new Mogo.AI.FollowOwner());
					}
					{
						Mogo.AI.Not node6 = new Mogo.AI.Not();
						node2.AddChild(node6);
						node6.Proxy(new Mogo.AI.ISCD());
					}
					node2.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node9 = new Mogo.AI.SelectorNode();
						node2.AddChild(node9);
						{
							Mogo.AI.SequenceNode node10 = new Mogo.AI.SequenceNode();
							node9.AddChild(node10);
							node10.AddChild(new Mogo.AI.InSkillRange(1));
							node10.AddChild(new Mogo.AI.CastSpell(1,0));
							node10.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node14 = new Mogo.AI.SequenceNode();
							node9.AddChild(node14);
							node14.AddChild(new Mogo.AI.CastSpell(5,0));
							node14.AddChild(new Mogo.AI.EnterCD(0));
						}
						node9.AddChild(new Mogo.AI.LookOn(500,100,1000,33,2000,0,1500,35,1500,36,1000,0,38,1));
					}
				}
			}
		}
Ejemplo n.º 13
0
 private BT1044()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(30));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SelectorNode node11 = new Mogo.AI.SelectorNode();
                     node10.AddChild(node11);
                     {
                         Mogo.AI.SequenceNode node12 = new Mogo.AI.SequenceNode();
                         node11.AddChild(node12);
                         node12.AddChild(new Mogo.AI.InSkillRange(2));
                         node12.AddChild(new Mogo.AI.CastSpell(2, 0));
                         node12.AddChild(new Mogo.AI.EnterCD(0));
                     }
                     {
                         Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
                         node11.AddChild(node16);
                         node16.AddChild(new Mogo.AI.ChooseCastPoint(2));
                         node16.AddChild(new Mogo.AI.MoveTo());
                     }
                 }
                 {
                     Mogo.AI.SelectorNode node19 = new Mogo.AI.SelectorNode();
                     node10.AddChild(node19);
                     {
                         Mogo.AI.SequenceNode node20 = new Mogo.AI.SequenceNode();
                         node19.AddChild(node20);
                         node20.AddChild(new Mogo.AI.InSkillRange(1));
                         node20.AddChild(new Mogo.AI.CastSpell(1, 0));
                         node20.AddChild(new Mogo.AI.EnterCD(0));
                     }
                     {
                         Mogo.AI.SequenceNode node24 = new Mogo.AI.SequenceNode();
                         node19.AddChild(node24);
                         node24.AddChild(new Mogo.AI.ChooseCastPoint(1));
                         node24.AddChild(new Mogo.AI.MoveTo());
                     }
                 }
                 node10.AddChild(new Mogo.AI.EnterRest(400));
             }
         }
     }
 }
Ejemplo n.º 14
0
		private BT10203()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				{
					Mogo.AI.SequenceNode node2 = new Mogo.AI.SequenceNode();
					node1.AddChild(node2);
					node2.AddChild(new Mogo.AI.AOI(0));
					{
						Mogo.AI.Not node4 = new Mogo.AI.Not();
						node2.AddChild(node4);
						node4.Proxy(new Mogo.AI.ISCD());
					}
					node2.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node7 = new Mogo.AI.SelectorNode();
						node2.AddChild(node7);
						{
							Mogo.AI.SequenceNode node8 = new Mogo.AI.SequenceNode();
							node7.AddChild(node8);
							node8.AddChild(new Mogo.AI.InSkillCoolDown(7));
							node8.AddChild(new Mogo.AI.CmpTargetDistance(Mogo.AI.CmpType.lt,400));
							node8.AddChild(new Mogo.AI.CastSpell(7,1));
							node8.AddChild(new Mogo.AI.EnterCD(1000));
						}
						{
							Mogo.AI.SequenceNode node13 = new Mogo.AI.SequenceNode();
							node7.AddChild(node13);
							node13.AddChild(new Mogo.AI.InSkillCoolDown(5));
							node13.AddChild(new Mogo.AI.InSkillRange(5));
							node13.AddChild(new Mogo.AI.CastSpell(5,0));
							node13.AddChild(new Mogo.AI.EnterCD(1000));
						}
						{
							Mogo.AI.SequenceNode node18 = new Mogo.AI.SequenceNode();
							node7.AddChild(node18);
							node18.AddChild(new Mogo.AI.InSkillCoolDown(6));
							node18.AddChild(new Mogo.AI.InSkillRange(6));
							node18.AddChild(new Mogo.AI.CastSpell(6,0));
							node18.AddChild(new Mogo.AI.EnterCD(1000));
						}
						{
							Mogo.AI.SequenceNode node23 = new Mogo.AI.SequenceNode();
							node7.AddChild(node23);
							node23.AddChild(new Mogo.AI.InSkillCoolDown(1));
							node23.AddChild(new Mogo.AI.InSkillRange(1));
							node23.AddChild(new Mogo.AI.CastSpell(1,0));
							node23.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node28 = new Mogo.AI.SequenceNode();
							node7.AddChild(node28);
							node28.AddChild(new Mogo.AI.ChooseCastPoint(1));
							node28.AddChild(new Mogo.AI.MoveTo());
						}
						node7.AddChild(new Mogo.AI.EnterRest(1000));
					}
				}
			}
		}
Ejemplo n.º 15
0
 private BT2017()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(0));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     node11.AddChild(new Mogo.AI.InSkillCoolDown(5));
                     node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 20));
                     node11.AddChild(new Mogo.AI.CastSpell(5, 0));
                     node11.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node16);
                     node16.AddChild(new Mogo.AI.InSkillCoolDown(4));
                     node16.AddChild(new Mogo.AI.InSkillRange(4));
                     node16.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 20));
                     node16.AddChild(new Mogo.AI.CastSpell(4, 0));
                     node16.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node22 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node22);
                     node22.AddChild(new Mogo.AI.InSkillCoolDown(3));
                     node22.AddChild(new Mogo.AI.InSkillRange(3));
                     node22.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 30));
                     node22.AddChild(new Mogo.AI.CastSpell(3, 0));
                     node22.AddChild(new Mogo.AI.EnterCD(200));
                 }
                 {
                     Mogo.AI.SequenceNode node28 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node28);
                     node28.AddChild(new Mogo.AI.InSkillCoolDown(2));
                     node28.AddChild(new Mogo.AI.InSkillRange(2));
                     node28.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 40));
                     node28.AddChild(new Mogo.AI.CastSpell(2, 0));
                     node28.AddChild(new Mogo.AI.EnterCD(-4000));
                 }
                 {
                     Mogo.AI.SequenceNode node34 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node34);
                     node34.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     node34.AddChild(new Mogo.AI.InSkillRange(1));
                     node34.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 70));
                     node34.AddChild(new Mogo.AI.CastSpell(1, 0));
                     node34.AddChild(new Mogo.AI.EnterCD(200));
                 }
                 {
                     Mogo.AI.SequenceNode node40 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node40);
                     node40.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 80));
                     node40.AddChild(new Mogo.AI.ChooseCastPoint(1));
                     node40.AddChild(new Mogo.AI.MoveTo());
                 }
                 node10.AddChild(new Mogo.AI.EnterRest(200));
             }
         }
     }
 }
Ejemplo n.º 16
0
		private BT2010()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(0));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							{
								Mogo.AI.Not node12 = new Mogo.AI.Not();
								node11.AddChild(node12);
								node12.Proxy(new Mogo.AI.InSkillRange(1));
							}
							{
								Mogo.AI.SelectorNode node14 = new Mogo.AI.SelectorNode();
								node11.AddChild(node14);
								{
									Mogo.AI.SequenceNode node15 = new Mogo.AI.SequenceNode();
									node14.AddChild(node15);
									node15.AddChild(new Mogo.AI.InSkillRange(3));
									node15.AddChild(new Mogo.AI.InSkillCoolDown(3));
									node15.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,30));
									node15.AddChild(new Mogo.AI.CastSpell(3,0));
									node15.AddChild(new Mogo.AI.EnterCD(500));
								}
								{
									Mogo.AI.SequenceNode node21 = new Mogo.AI.SequenceNode();
									node14.AddChild(node21);
									node21.AddChild(new Mogo.AI.InSkillRange(5));
									node21.AddChild(new Mogo.AI.InSkillCoolDown(5));
									node21.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,20));
									node21.AddChild(new Mogo.AI.CastSpell(5,0));
									node21.AddChild(new Mogo.AI.EnterCD(500));
								}
								{
									Mogo.AI.SequenceNode node27 = new Mogo.AI.SequenceNode();
									node14.AddChild(node27);
									node27.AddChild(new Mogo.AI.InSkillRange(6));
									node27.AddChild(new Mogo.AI.InSkillCoolDown(6));
									node27.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,30));
									node27.AddChild(new Mogo.AI.CastSpell(6,0));
									node27.AddChild(new Mogo.AI.EnterCD(500));
								}
							}
						}
						{
							Mogo.AI.SequenceNode node33 = new Mogo.AI.SequenceNode();
							node10.AddChild(node33);
							node33.AddChild(new Mogo.AI.InSkillRange(1));
							{
								Mogo.AI.SelectorNode node35 = new Mogo.AI.SelectorNode();
								node33.AddChild(node35);
								{
									Mogo.AI.SequenceNode node36 = new Mogo.AI.SequenceNode();
									node35.AddChild(node36);
									node36.AddChild(new Mogo.AI.InSkillCoolDown(1));
									node36.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,30));
									node36.AddChild(new Mogo.AI.CastSpell(1,0));
									node36.AddChild(new Mogo.AI.EnterCD(500));
								}
								{
									Mogo.AI.SequenceNode node41 = new Mogo.AI.SequenceNode();
									node35.AddChild(node41);
									node41.AddChild(new Mogo.AI.InSkillCoolDown(4));
									node41.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,30));
									node41.AddChild(new Mogo.AI.CastSpell(4,0));
									node41.AddChild(new Mogo.AI.EnterCD(500));
								}
								{
									Mogo.AI.SequenceNode node46 = new Mogo.AI.SequenceNode();
									node35.AddChild(node46);
									node46.AddChild(new Mogo.AI.InSkillRange(2));
									node46.AddChild(new Mogo.AI.InSkillCoolDown(2));
									node46.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,30));
									node46.AddChild(new Mogo.AI.CastSpell(2,0));
									node46.AddChild(new Mogo.AI.EnterCD(500));
								}
							}
						}
						{
							Mogo.AI.SequenceNode node52 = new Mogo.AI.SequenceNode();
							node10.AddChild(node52);
							node52.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,80));
							node52.AddChild(new Mogo.AI.ChooseCastPoint(1));
							node52.AddChild(new Mogo.AI.MoveTo());
						}
						node10.AddChild(new Mogo.AI.EnterRest(500));
					}
				}
			}
		}
Ejemplo n.º 17
0
		private BT3017()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(30));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							node11.AddChild(new Mogo.AI.InSkillCoolDown(4));
							{
								Mogo.AI.SequenceNode node13 = new Mogo.AI.SequenceNode();
								node11.AddChild(node13);
								node13.AddChild(new Mogo.AI.InSkillRange(4));
								node13.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
                                node13.AddChild(new Mogo.AI.CastSpell(4, 0));
								node13.AddChild(new Mogo.AI.EnterCD(0));
							}
						}
						{
							Mogo.AI.SequenceNode node18 = new Mogo.AI.SequenceNode();
							node10.AddChild(node18);
							node18.AddChild(new Mogo.AI.InSkillCoolDown(3));
							{
								Mogo.AI.SequenceNode node20 = new Mogo.AI.SequenceNode();
								node18.AddChild(node20);
								node20.AddChild(new Mogo.AI.InSkillRange(3));
								node20.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
                                node20.AddChild(new Mogo.AI.CastSpell(3, 0));
								node20.AddChild(new Mogo.AI.EnterCD(0));
							}
						}
						{
							Mogo.AI.SequenceNode node25 = new Mogo.AI.SequenceNode();
							node10.AddChild(node25);
							node25.AddChild(new Mogo.AI.InSkillCoolDown(2));
							{
								Mogo.AI.SequenceNode node27 = new Mogo.AI.SequenceNode();
								node25.AddChild(node27);
								node27.AddChild(new Mogo.AI.InSkillRange(2));
								node27.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
                                node27.AddChild(new Mogo.AI.CastSpell(2, 0));
								node27.AddChild(new Mogo.AI.EnterCD(0));
							}
						}
						{
							Mogo.AI.SequenceNode node32 = new Mogo.AI.SequenceNode();
							node10.AddChild(node32);
							node32.AddChild(new Mogo.AI.InSkillCoolDown(1));
							{
								Mogo.AI.SequenceNode node34 = new Mogo.AI.SequenceNode();
								node32.AddChild(node34);
								node34.AddChild(new Mogo.AI.InSkillRange(1));
								node34.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,80));
                                node34.AddChild(new Mogo.AI.CastSpell(1, 0));
								node34.AddChild(new Mogo.AI.EnterCD(0));
							}
							{
								Mogo.AI.SequenceNode node39 = new Mogo.AI.SequenceNode();
								node32.AddChild(node39);
								node39.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,80));
								node39.AddChild(new Mogo.AI.ChooseCastPoint(1));
								node39.AddChild(new Mogo.AI.MoveTo());
							}
						}
						node10.AddChild(new Mogo.AI.EnterRest(200));
					}
				}
			}
		}
Ejemplo n.º 18
0
 private BT1020()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(30));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     node11.AddChild(new Mogo.AI.InSkillCoolDown(2));
                     {
                         Mogo.AI.SelectorNode node13 = new Mogo.AI.SelectorNode();
                         node11.AddChild(node13);
                         {
                             Mogo.AI.SequenceNode node14 = new Mogo.AI.SequenceNode();
                             node13.AddChild(node14);
                             node14.AddChild(new Mogo.AI.InSkillRange(2));
                             node14.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                             node14.AddChild(new Mogo.AI.CastSpell(2, 0));
                             node14.AddChild(new Mogo.AI.EnterCD(0));
                         }
                         {
                             Mogo.AI.SequenceNode node19 = new Mogo.AI.SequenceNode();
                             node13.AddChild(node19);
                             node19.AddChild(new Mogo.AI.ChooseCastPoint(2));
                             node19.AddChild(new Mogo.AI.MoveTo());
                         }
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node22 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node22);
                     node22.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     {
                         Mogo.AI.SelectorNode node24 = new Mogo.AI.SelectorNode();
                         node22.AddChild(node24);
                         {
                             Mogo.AI.SequenceNode node25 = new Mogo.AI.SequenceNode();
                             node24.AddChild(node25);
                             node25.AddChild(new Mogo.AI.InSkillRange(1));
                             node25.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                             node25.AddChild(new Mogo.AI.CastSpell(1, 0));
                             node25.AddChild(new Mogo.AI.EnterCD(0));
                         }
                         {
                             Mogo.AI.SequenceNode node30 = new Mogo.AI.SequenceNode();
                             node24.AddChild(node30);
                             node30.AddChild(new Mogo.AI.ChooseCastPoint(1));
                             node30.AddChild(new Mogo.AI.MoveTo());
                         }
                     }
                 }
                 {
                     Mogo.AI.SelectorNode node33 = new Mogo.AI.SelectorNode();
                     node10.AddChild(node33);
                     {
                         Mogo.AI.SequenceNode node34 = new Mogo.AI.SequenceNode();
                         node33.AddChild(node34);
                         node34.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 30));
                         node34.AddChild(new Mogo.AI.EnterRest(200));
                     }
                     {
                         Mogo.AI.SequenceNode node37 = new Mogo.AI.SequenceNode();
                         node33.AddChild(node37);
                         node37.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                         node37.AddChild(new Mogo.AI.EnterRest(400));
                     }
                     node33.AddChild(new Mogo.AI.EnterRest(0));
                 }
             }
         }
     }
 }
Ejemplo n.º 19
0
		private BT2009()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(0));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							node11.AddChild(new Mogo.AI.InSkillCoolDown(6));
							{
								Mogo.AI.Not node13 = new Mogo.AI.Not();
								node11.AddChild(node13);
								node13.Proxy(new Mogo.AI.InSkillRange(1));
							}
							node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,15));
							{
								Mogo.AI.SelectorNode node16 = new Mogo.AI.SelectorNode();
								node11.AddChild(node16);
								{
									Mogo.AI.SequenceNode node17 = new Mogo.AI.SequenceNode();
									node16.AddChild(node17);
									node17.AddChild(new Mogo.AI.InSkillRange(6));
									node17.AddChild(new Mogo.AI.CastSpell(6,0));
									node17.AddChild(new Mogo.AI.EnterCD(500));
								}
								{
									Mogo.AI.SequenceNode node21 = new Mogo.AI.SequenceNode();
									node16.AddChild(node21);
									node21.AddChild(new Mogo.AI.ChooseCastPoint(6));
									node21.AddChild(new Mogo.AI.MoveTo());
								}
							}
						}
						{
							Mogo.AI.SequenceNode node24 = new Mogo.AI.SequenceNode();
							node10.AddChild(node24);
							node24.AddChild(new Mogo.AI.InSkillCoolDown(7));
							{
								Mogo.AI.Not node26 = new Mogo.AI.Not();
								node24.AddChild(node26);
								node26.Proxy(new Mogo.AI.InSkillRange(4));
							}
							{
								Mogo.AI.SelectorNode node28 = new Mogo.AI.SelectorNode();
								node24.AddChild(node28);
								{
									Mogo.AI.SequenceNode node29 = new Mogo.AI.SequenceNode();
									node28.AddChild(node29);
									node29.AddChild(new Mogo.AI.InSkillRange(7));
									node29.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,20));
									node29.AddChild(new Mogo.AI.CastSpell(7,0));
									node29.AddChild(new Mogo.AI.EnterCD(500));
								}
								{
									Mogo.AI.SequenceNode node34 = new Mogo.AI.SequenceNode();
									node28.AddChild(node34);
									node34.AddChild(new Mogo.AI.ChooseCastPoint(7));
									node34.AddChild(new Mogo.AI.MoveTo());
								}
							}
						}
						{
							Mogo.AI.SelectorNode node37 = new Mogo.AI.SelectorNode();
							node10.AddChild(node37);
							{
								Mogo.AI.SequenceNode node38 = new Mogo.AI.SequenceNode();
								node37.AddChild(node38);
								node38.AddChild(new Mogo.AI.InSkillCoolDown(5));
								node38.AddChild(new Mogo.AI.InSkillRange(5));
								node38.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
								node38.AddChild(new Mogo.AI.CastSpell(5,0));
								node38.AddChild(new Mogo.AI.EnterCD(500));
							}
							{
								Mogo.AI.SequenceNode node44 = new Mogo.AI.SequenceNode();
								node37.AddChild(node44);
								node44.AddChild(new Mogo.AI.InSkillCoolDown(4));
								node44.AddChild(new Mogo.AI.InSkillRange(4));
								node44.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
								node44.AddChild(new Mogo.AI.CastSpell(4,0));
								node44.AddChild(new Mogo.AI.EnterCD(500));
							}
							{
								Mogo.AI.SequenceNode node50 = new Mogo.AI.SequenceNode();
								node37.AddChild(node50);
								node50.AddChild(new Mogo.AI.InSkillCoolDown(3));
								node50.AddChild(new Mogo.AI.InSkillRange(3));
								node50.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
								node50.AddChild(new Mogo.AI.CastSpell(3,0));
								node50.AddChild(new Mogo.AI.EnterCD(500));
							}
							{
								Mogo.AI.SequenceNode node56 = new Mogo.AI.SequenceNode();
								node37.AddChild(node56);
								node56.AddChild(new Mogo.AI.InSkillCoolDown(1));
								node56.AddChild(new Mogo.AI.InSkillRange(1));
								node56.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
								node56.AddChild(new Mogo.AI.CastSpell(1,0));
								node56.AddChild(new Mogo.AI.EnterCD(500));
							}
							{
								Mogo.AI.SequenceNode node62 = new Mogo.AI.SequenceNode();
								node37.AddChild(node62);
								node62.AddChild(new Mogo.AI.InSkillCoolDown(2));
								node62.AddChild(new Mogo.AI.InSkillRange(2));
								node62.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
								node62.AddChild(new Mogo.AI.CastSpell(2,0));
								node62.AddChild(new Mogo.AI.EnterCD(500));
							}
							{
								Mogo.AI.SequenceNode node68 = new Mogo.AI.SequenceNode();
								node37.AddChild(node68);
								node68.AddChild(new Mogo.AI.ChooseCastPoint(1));
								node68.AddChild(new Mogo.AI.MoveTo());
							}
							node37.AddChild(new Mogo.AI.EnterRest(100));
						}
					}
				}
			}
		}
Ejemplo n.º 20
0
 private BT3017()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(30));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     node11.AddChild(new Mogo.AI.InSkillCoolDown(4));
                     {
                         Mogo.AI.SequenceNode node13 = new Mogo.AI.SequenceNode();
                         node11.AddChild(node13);
                         node13.AddChild(new Mogo.AI.InSkillRange(4));
                         node13.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                         node13.AddChild(new Mogo.AI.CastSpell(4, 0));
                         node13.AddChild(new Mogo.AI.EnterCD(0));
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node18 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node18);
                     node18.AddChild(new Mogo.AI.InSkillCoolDown(3));
                     {
                         Mogo.AI.SequenceNode node20 = new Mogo.AI.SequenceNode();
                         node18.AddChild(node20);
                         node20.AddChild(new Mogo.AI.InSkillRange(3));
                         node20.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                         node20.AddChild(new Mogo.AI.CastSpell(3, 0));
                         node20.AddChild(new Mogo.AI.EnterCD(0));
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node25 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node25);
                     node25.AddChild(new Mogo.AI.InSkillCoolDown(2));
                     {
                         Mogo.AI.SequenceNode node27 = new Mogo.AI.SequenceNode();
                         node25.AddChild(node27);
                         node27.AddChild(new Mogo.AI.InSkillRange(2));
                         node27.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                         node27.AddChild(new Mogo.AI.CastSpell(2, 0));
                         node27.AddChild(new Mogo.AI.EnterCD(0));
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node32 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node32);
                     node32.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     {
                         Mogo.AI.SequenceNode node34 = new Mogo.AI.SequenceNode();
                         node32.AddChild(node34);
                         node34.AddChild(new Mogo.AI.InSkillRange(1));
                         node34.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 80));
                         node34.AddChild(new Mogo.AI.CastSpell(1, 0));
                         node34.AddChild(new Mogo.AI.EnterCD(0));
                     }
                     {
                         Mogo.AI.SequenceNode node39 = new Mogo.AI.SequenceNode();
                         node32.AddChild(node39);
                         node39.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 80));
                         node39.AddChild(new Mogo.AI.ChooseCastPoint(1));
                         node39.AddChild(new Mogo.AI.MoveTo());
                     }
                 }
                 node10.AddChild(new Mogo.AI.EnterRest(200));
             }
         }
     }
 }
Ejemplo n.º 21
0
		private BT1020()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(30));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							node11.AddChild(new Mogo.AI.InSkillCoolDown(2));
							{
								Mogo.AI.SelectorNode node13 = new Mogo.AI.SelectorNode();
								node11.AddChild(node13);
								{
									Mogo.AI.SequenceNode node14 = new Mogo.AI.SequenceNode();
									node13.AddChild(node14);
									node14.AddChild(new Mogo.AI.InSkillRange(2));
									node14.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
                                    node14.AddChild(new Mogo.AI.CastSpell(2, 0));
									node14.AddChild(new Mogo.AI.EnterCD(0));
								}
								{
									Mogo.AI.SequenceNode node19 = new Mogo.AI.SequenceNode();
									node13.AddChild(node19);
									node19.AddChild(new Mogo.AI.ChooseCastPoint(2));
									node19.AddChild(new Mogo.AI.MoveTo());
								}
							}
						}
						{
							Mogo.AI.SequenceNode node22 = new Mogo.AI.SequenceNode();
							node10.AddChild(node22);
							node22.AddChild(new Mogo.AI.InSkillCoolDown(1));
							{
								Mogo.AI.SelectorNode node24 = new Mogo.AI.SelectorNode();
								node22.AddChild(node24);
								{
									Mogo.AI.SequenceNode node25 = new Mogo.AI.SequenceNode();
									node24.AddChild(node25);
									node25.AddChild(new Mogo.AI.InSkillRange(1));
									node25.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
                                    node25.AddChild(new Mogo.AI.CastSpell(1, 0));
									node25.AddChild(new Mogo.AI.EnterCD(0));
								}
								{
									Mogo.AI.SequenceNode node30 = new Mogo.AI.SequenceNode();
									node24.AddChild(node30);
									node30.AddChild(new Mogo.AI.ChooseCastPoint(1));
									node30.AddChild(new Mogo.AI.MoveTo());
								}
							}
						}
						{
							Mogo.AI.SelectorNode node33 = new Mogo.AI.SelectorNode();
							node10.AddChild(node33);
							{
								Mogo.AI.SequenceNode node34 = new Mogo.AI.SequenceNode();
								node33.AddChild(node34);
								node34.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,30));
								node34.AddChild(new Mogo.AI.EnterRest(200));
							}
							{
								Mogo.AI.SequenceNode node37 = new Mogo.AI.SequenceNode();
								node33.AddChild(node37);
								node37.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
								node37.AddChild(new Mogo.AI.EnterRest(400));
							}
							node33.AddChild(new Mogo.AI.EnterRest(0));
						}
					}
				}
			}
		}
Ejemplo n.º 22
0
		private BT10003()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				{
					Mogo.AI.SequenceNode node2 = new Mogo.AI.SequenceNode();
					node1.AddChild(node2);
					{
						Mogo.AI.SelectorNode node3 = new Mogo.AI.SelectorNode();
						node2.AddChild(node3);
						node3.AddChild(new Mogo.AI.AOI(0));
						{
							Mogo.AI.SequenceNode node5 = new Mogo.AI.SequenceNode();
							node3.AddChild(node5);
							{
								Mogo.AI.Not node6 = new Mogo.AI.Not();
								node5.AddChild(node6);
								node6.Proxy(new Mogo.AI.SelectAutoFightMovePoint());
							}
							{
								Mogo.AI.Not node8 = new Mogo.AI.Not();
								node5.AddChild(node8);
								node8.Proxy(new Mogo.AI.EnterRest(1000));
							}
						}
					}
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node2.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							node11.AddChild(new Mogo.AI.InSkillCoolDown(5));
							node11.AddChild(new Mogo.AI.InSkillRange(5));
							node11.AddChild(new Mogo.AI.CastSpell(5,0));
							node11.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
							node10.AddChild(node16);
							node16.AddChild(new Mogo.AI.InSkillCoolDown(6));
							node16.AddChild(new Mogo.AI.InSkillRange(6));
							node16.AddChild(new Mogo.AI.CastSpell(6,0));
							node16.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node21 = new Mogo.AI.SequenceNode();
							node10.AddChild(node21);
							node21.AddChild(new Mogo.AI.InSkillRange(1));
							node21.AddChild(new Mogo.AI.CastSpell(1,0));
							node21.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node25 = new Mogo.AI.SequenceNode();
							node10.AddChild(node25);
							node25.AddChild(new Mogo.AI.ChooseCastPoint(1));
							node25.AddChild(new Mogo.AI.MoveTo());
						}
					}
				}
			}
		}
Ejemplo n.º 23
0
		private BT2007()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(0));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							node11.AddChild(new Mogo.AI.InSkillCoolDown(8));
							{
								Mogo.AI.SequenceNode node13 = new Mogo.AI.SequenceNode();
								node11.AddChild(node13);
								node13.AddChild(new Mogo.AI.InSkillRange(8));
								node13.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,15));
								node13.AddChild(new Mogo.AI.CastSpell(8,0));
								node13.AddChild(new Mogo.AI.EnterCD(500));
							}
						}
						{
							Mogo.AI.SequenceNode node18 = new Mogo.AI.SequenceNode();
							node10.AddChild(node18);
							node18.AddChild(new Mogo.AI.InSkillCoolDown(7));
							{
								Mogo.AI.SequenceNode node20 = new Mogo.AI.SequenceNode();
								node18.AddChild(node20);
								node20.AddChild(new Mogo.AI.InSkillRange(7));
								node20.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,15));
								node20.AddChild(new Mogo.AI.CastSpell(7,0));
								node20.AddChild(new Mogo.AI.EnterCD(500));
							}
						}
						{
							Mogo.AI.SequenceNode node25 = new Mogo.AI.SequenceNode();
							node10.AddChild(node25);
							node25.AddChild(new Mogo.AI.InSkillCoolDown(6));
							{
								Mogo.AI.SequenceNode node27 = new Mogo.AI.SequenceNode();
								node25.AddChild(node27);
								node27.AddChild(new Mogo.AI.InSkillRange(6));
								node27.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,15));
								node27.AddChild(new Mogo.AI.CastSpell(6,0));
								node27.AddChild(new Mogo.AI.EnterCD(500));
							}
						}
						{
							Mogo.AI.SequenceNode node32 = new Mogo.AI.SequenceNode();
							node10.AddChild(node32);
							node32.AddChild(new Mogo.AI.InSkillCoolDown(5));
							{
								Mogo.AI.SequenceNode node34 = new Mogo.AI.SequenceNode();
								node32.AddChild(node34);
								node34.AddChild(new Mogo.AI.InSkillRange(5));
								node34.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,15));
								node34.AddChild(new Mogo.AI.CastSpell(5,0));
								node34.AddChild(new Mogo.AI.EnterCD(500));
							}
						}
						{
							Mogo.AI.SequenceNode node39 = new Mogo.AI.SequenceNode();
							node10.AddChild(node39);
							node39.AddChild(new Mogo.AI.InSkillCoolDown(4));
							{
								Mogo.AI.SequenceNode node41 = new Mogo.AI.SequenceNode();
								node39.AddChild(node41);
								node41.AddChild(new Mogo.AI.InSkillRange(4));
								node41.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,15));
								node41.AddChild(new Mogo.AI.CastSpell(4,0));
								node41.AddChild(new Mogo.AI.EnterCD(500));
							}
						}
						{
							Mogo.AI.SequenceNode node46 = new Mogo.AI.SequenceNode();
							node10.AddChild(node46);
							node46.AddChild(new Mogo.AI.InSkillCoolDown(3));
							{
								Mogo.AI.SequenceNode node48 = new Mogo.AI.SequenceNode();
								node46.AddChild(node48);
								node48.AddChild(new Mogo.AI.InSkillRange(3));
								node48.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,40));
								node48.AddChild(new Mogo.AI.CastSpell(3,0));
								node48.AddChild(new Mogo.AI.EnterCD(500));
							}
						}
						{
							Mogo.AI.SequenceNode node53 = new Mogo.AI.SequenceNode();
							node10.AddChild(node53);
							node53.AddChild(new Mogo.AI.InSkillCoolDown(2));
							{
								Mogo.AI.SequenceNode node55 = new Mogo.AI.SequenceNode();
								node53.AddChild(node55);
								node55.AddChild(new Mogo.AI.InSkillRange(2));
								node55.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,40));
								node55.AddChild(new Mogo.AI.CastSpell(2,0));
								node55.AddChild(new Mogo.AI.EnterCD(500));
							}
						}
						{
							Mogo.AI.SequenceNode node60 = new Mogo.AI.SequenceNode();
							node10.AddChild(node60);
							node60.AddChild(new Mogo.AI.InSkillCoolDown(1));
							{
								Mogo.AI.SequenceNode node62 = new Mogo.AI.SequenceNode();
								node60.AddChild(node62);
								node62.AddChild(new Mogo.AI.InSkillRange(1));
								node62.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,40));
								node62.AddChild(new Mogo.AI.CastSpell(1,0));
								node62.AddChild(new Mogo.AI.EnterCD(500));
							}
						}
						node10.AddChild(new Mogo.AI.EnterRest(500));
					}
				}
			}
		}
Ejemplo n.º 24
0
		private BT2016()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(0));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							node11.AddChild(new Mogo.AI.InSkillCoolDown(7));
							node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,30));
							node11.AddChild(new Mogo.AI.CastSpell(7,0));
							node11.AddChild(new Mogo.AI.EnterCD(200));
						}
						{
							Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
							node10.AddChild(node16);
							{
								Mogo.AI.Not node17 = new Mogo.AI.Not();
								node16.AddChild(node17);
								node17.Proxy(new Mogo.AI.InSkillCoolDown(1));
							}
							node16.AddChild(new Mogo.AI.InSkillRange(2));
							node16.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,30));
							node16.AddChild(new Mogo.AI.Escape(1000));
						}
						{
							Mogo.AI.SequenceNode node22 = new Mogo.AI.SequenceNode();
							node10.AddChild(node22);
							{
								Mogo.AI.Not node23 = new Mogo.AI.Not();
								node22.AddChild(node23);
								node23.Proxy(new Mogo.AI.InSkillRange(1));
							}
							{
								Mogo.AI.SelectorNode node25 = new Mogo.AI.SelectorNode();
								node22.AddChild(node25);
								{
									Mogo.AI.SequenceNode node26 = new Mogo.AI.SequenceNode();
									node25.AddChild(node26);
									node26.AddChild(new Mogo.AI.InSkillCoolDown(6));
									node26.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,10));
									{
										Mogo.AI.SelectorNode node29 = new Mogo.AI.SelectorNode();
										node26.AddChild(node29);
										{
											Mogo.AI.SequenceNode node30 = new Mogo.AI.SequenceNode();
											node29.AddChild(node30);
											node30.AddChild(new Mogo.AI.InSkillRange(6));
											node30.AddChild(new Mogo.AI.CastSpell(6,0));
											node30.AddChild(new Mogo.AI.EnterCD(500));
										}
										{
											Mogo.AI.SequenceNode node34 = new Mogo.AI.SequenceNode();
											node29.AddChild(node34);
											node34.AddChild(new Mogo.AI.ChooseCastPoint(6));
											node34.AddChild(new Mogo.AI.MoveTo());
										}
									}
								}
								{
									Mogo.AI.SequenceNode node37 = new Mogo.AI.SequenceNode();
									node25.AddChild(node37);
									node37.AddChild(new Mogo.AI.InSkillCoolDown(4));
									{
										Mogo.AI.SelectorNode node39 = new Mogo.AI.SelectorNode();
										node37.AddChild(node39);
										{
											Mogo.AI.SequenceNode node40 = new Mogo.AI.SequenceNode();
											node39.AddChild(node40);
											node40.AddChild(new Mogo.AI.InSkillRange(4));
											node40.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
											node40.AddChild(new Mogo.AI.CastSpell(4,0));
											node40.AddChild(new Mogo.AI.EnterCD(-500));
										}
										{
											Mogo.AI.SequenceNode node45 = new Mogo.AI.SequenceNode();
											node39.AddChild(node45);
											node45.AddChild(new Mogo.AI.ChooseCastPoint(4));
											node45.AddChild(new Mogo.AI.MoveTo());
										}
									}
								}
								{
									Mogo.AI.SequenceNode node48 = new Mogo.AI.SequenceNode();
									node25.AddChild(node48);
									node48.AddChild(new Mogo.AI.InSkillCoolDown(3));
									{
										Mogo.AI.SelectorNode node50 = new Mogo.AI.SelectorNode();
										node48.AddChild(node50);
										{
											Mogo.AI.SequenceNode node51 = new Mogo.AI.SequenceNode();
											node50.AddChild(node51);
											node51.AddChild(new Mogo.AI.InSkillRange(3));
											node51.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
											node51.AddChild(new Mogo.AI.CastSpell(3,0));
											node51.AddChild(new Mogo.AI.EnterCD(500));
										}
										{
											Mogo.AI.SequenceNode node56 = new Mogo.AI.SequenceNode();
											node50.AddChild(node56);
											node56.AddChild(new Mogo.AI.ChooseCastPoint(3));
											node56.AddChild(new Mogo.AI.MoveTo());
										}
									}
								}
							}
						}
						{
							Mogo.AI.SequenceNode node59 = new Mogo.AI.SequenceNode();
							node10.AddChild(node59);
							node59.AddChild(new Mogo.AI.InSkillRange(2));
							{
								Mogo.AI.SelectorNode node61 = new Mogo.AI.SelectorNode();
								node59.AddChild(node61);
								{
									Mogo.AI.SequenceNode node62 = new Mogo.AI.SequenceNode();
									node61.AddChild(node62);
									node62.AddChild(new Mogo.AI.InSkillCoolDown(5));
									node62.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,30));
									node62.AddChild(new Mogo.AI.CastSpell(5,0));
									node62.AddChild(new Mogo.AI.EnterCD(500));
								}
								{
									Mogo.AI.SequenceNode node67 = new Mogo.AI.SequenceNode();
									node61.AddChild(node67);
									node67.AddChild(new Mogo.AI.InSkillCoolDown(2));
									node67.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
									node67.AddChild(new Mogo.AI.CastSpell(2,0));
									node67.AddChild(new Mogo.AI.EnterCD(500));
								}
							}
						}
						{
							Mogo.AI.SequenceNode node72 = new Mogo.AI.SequenceNode();
							node10.AddChild(node72);
							node72.AddChild(new Mogo.AI.InSkillCoolDown(1));
							{
								Mogo.AI.SelectorNode node74 = new Mogo.AI.SelectorNode();
								node72.AddChild(node74);
								{
									Mogo.AI.SequenceNode node75 = new Mogo.AI.SequenceNode();
									node74.AddChild(node75);
									node75.AddChild(new Mogo.AI.InSkillRange(1));
									node75.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
									node75.AddChild(new Mogo.AI.CastSpell(1,0));
									node75.AddChild(new Mogo.AI.EnterCD(500));
								}
								{
									Mogo.AI.SequenceNode node80 = new Mogo.AI.SequenceNode();
									node74.AddChild(node80);
									node80.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,30));
									node80.AddChild(new Mogo.AI.ChooseCastPoint(1));
									node80.AddChild(new Mogo.AI.MoveTo());
								}
							}
						}
						node10.AddChild(new Mogo.AI.EnterRest(200));
					}
				}
			}
		}
Ejemplo n.º 25
0
		private BT1002()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(0));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							node11.AddChild(new Mogo.AI.InSkillRange(2));
							{
								Mogo.AI.SelectorNode node13 = new Mogo.AI.SelectorNode();
								node11.AddChild(node13);
								{
									Mogo.AI.SequenceNode node14 = new Mogo.AI.SequenceNode();
									node13.AddChild(node14);
									node14.AddChild(new Mogo.AI.InSkillCoolDown(2));
									node14.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,70));
									node14.AddChild(new Mogo.AI.CastSpell(2,0));
									node14.AddChild(new Mogo.AI.EnterCD(0));
								}
								{
									Mogo.AI.SequenceNode node19 = new Mogo.AI.SequenceNode();
									node13.AddChild(node19);
									node19.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,60));
									node19.AddChild(new Mogo.AI.Escape(1000));
								}
							}
						}
						{
							Mogo.AI.SequenceNode node22 = new Mogo.AI.SequenceNode();
							node10.AddChild(node22);
							{
								Mogo.AI.Not node23 = new Mogo.AI.Not();
								node22.AddChild(node23);
								node23.Proxy(new Mogo.AI.InSkillRange(2));
							}
							node22.AddChild(new Mogo.AI.InSkillRange(1));
							node22.AddChild(new Mogo.AI.InSkillCoolDown(1));
							node22.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,80));
							node22.AddChild(new Mogo.AI.CastSpell(1,0));
							node22.AddChild(new Mogo.AI.EnterCD(0));
						}
						node10.AddChild(new Mogo.AI.LookOn(600,400,500,10,1000,20,1000,5,1000,5,1000,60,0,1));
					}
				}
			}
		}
Ejemplo n.º 26
0
		private BT2011()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(0));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							node11.AddChild(new Mogo.AI.InSkillCoolDown(6));
							node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,100));
							node11.AddChild(new Mogo.AI.CastSpell(6,0));
							node11.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
							node10.AddChild(node16);
							node16.AddChild(new Mogo.AI.InSkillCoolDown(5));
							{
								Mogo.AI.Not node18 = new Mogo.AI.Not();
								node16.AddChild(node18);
								node18.Proxy(new Mogo.AI.InSkillRange(2));
							}
							{
								Mogo.AI.SelectorNode node20 = new Mogo.AI.SelectorNode();
								node16.AddChild(node20);
								{
									Mogo.AI.SequenceNode node21 = new Mogo.AI.SequenceNode();
									node20.AddChild(node21);
									node21.AddChild(new Mogo.AI.InSkillRange(5));
									node21.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
									node21.AddChild(new Mogo.AI.CastSpell(5,0));
									node21.AddChild(new Mogo.AI.EnterCD(-1500));
								}
								{
									Mogo.AI.SequenceNode node26 = new Mogo.AI.SequenceNode();
									node20.AddChild(node26);
									node26.AddChild(new Mogo.AI.ChooseCastPoint(5));
									node26.AddChild(new Mogo.AI.MoveTo());
								}
							}
						}
						{
							Mogo.AI.SequenceNode node29 = new Mogo.AI.SequenceNode();
							node10.AddChild(node29);
							node29.AddChild(new Mogo.AI.InSkillCoolDown(4));
							node29.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,20));
							node29.AddChild(new Mogo.AI.CastSpell(4,0));
							node29.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node34 = new Mogo.AI.SequenceNode();
							node10.AddChild(node34);
							node34.AddChild(new Mogo.AI.InSkillCoolDown(3));
							node34.AddChild(new Mogo.AI.InSkillRange(3));
							node34.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
							node34.AddChild(new Mogo.AI.CastSpell(3,0));
							node34.AddChild(new Mogo.AI.EnterCD(500));
						}
						{
							Mogo.AI.SequenceNode node40 = new Mogo.AI.SequenceNode();
							node10.AddChild(node40);
							node40.AddChild(new Mogo.AI.InSkillCoolDown(2));
							node40.AddChild(new Mogo.AI.InSkillRange(2));
							node40.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
							node40.AddChild(new Mogo.AI.CastSpell(2,0));
							node40.AddChild(new Mogo.AI.EnterCD(500));
						}
						{
							Mogo.AI.SequenceNode node46 = new Mogo.AI.SequenceNode();
							node10.AddChild(node46);
							node46.AddChild(new Mogo.AI.InSkillCoolDown(1));
							node46.AddChild(new Mogo.AI.InSkillRange(1));
							node46.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
							node46.AddChild(new Mogo.AI.CastSpell(1,0));
							node46.AddChild(new Mogo.AI.EnterCD(500));
						}
						{
							Mogo.AI.SequenceNode node52 = new Mogo.AI.SequenceNode();
							node10.AddChild(node52);
							node52.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,80));
							node52.AddChild(new Mogo.AI.ChooseCastPoint(1));
							node52.AddChild(new Mogo.AI.MoveTo());
						}
						node10.AddChild(new Mogo.AI.EnterRest(500));
					}
				}
			}
		}
Ejemplo n.º 27
0
		private BT1044()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(30));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SelectorNode node11 = new Mogo.AI.SelectorNode();
							node10.AddChild(node11);
							{
								Mogo.AI.SequenceNode node12 = new Mogo.AI.SequenceNode();
								node11.AddChild(node12);
								node12.AddChild(new Mogo.AI.InSkillRange(2));
                                node12.AddChild(new Mogo.AI.CastSpell(2, 0));
								node12.AddChild(new Mogo.AI.EnterCD(0));
							}
							{
								Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
								node11.AddChild(node16);
								node16.AddChild(new Mogo.AI.ChooseCastPoint(2));
								node16.AddChild(new Mogo.AI.MoveTo());
							}
						}
						{
							Mogo.AI.SelectorNode node19 = new Mogo.AI.SelectorNode();
							node10.AddChild(node19);
							{
								Mogo.AI.SequenceNode node20 = new Mogo.AI.SequenceNode();
								node19.AddChild(node20);
								node20.AddChild(new Mogo.AI.InSkillRange(1));
                                node20.AddChild(new Mogo.AI.CastSpell(1, 0));
								node20.AddChild(new Mogo.AI.EnterCD(0));
							}
							{
								Mogo.AI.SequenceNode node24 = new Mogo.AI.SequenceNode();
								node19.AddChild(node24);
								node24.AddChild(new Mogo.AI.ChooseCastPoint(1));
								node24.AddChild(new Mogo.AI.MoveTo());
							}
						}
						node10.AddChild(new Mogo.AI.EnterRest(400));
					}
				}
			}
		}
Ejemplo n.º 28
0
 private BT3()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(30));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     {
                         Mogo.AI.Not node12 = new Mogo.AI.Not();
                         node11.AddChild(node12);
                         node12.Proxy(new Mogo.AI.InSkillRange(1));
                     }
                     node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 100));
                     node11.AddChild(new Mogo.AI.LookOn(500, 200, 1000, 50, 1000, 50, 1000, 50, 1000, 50, 1000, 0, 50, 1));
                 }
                 {
                     Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node16);
                     {
                         Mogo.AI.Not node17 = new Mogo.AI.Not();
                         node16.AddChild(node17);
                         node17.Proxy(new Mogo.AI.InSkillCoolDown(1));
                     }
                     node16.AddChild(new Mogo.AI.InSkillRange(1));
                     node16.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                     node16.AddChild(new Mogo.AI.LookOn(500, 200, 1000, 50, 1000, 50, 1000, 50, 1000, 50, 1000, 0, 50, 1));
                 }
                 {
                     Mogo.AI.SequenceNode node22 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node22);
                     node22.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     {
                         Mogo.AI.SelectorNode node24 = new Mogo.AI.SelectorNode();
                         node22.AddChild(node24);
                         {
                             Mogo.AI.SequenceNode node25 = new Mogo.AI.SequenceNode();
                             node24.AddChild(node25);
                             node25.AddChild(new Mogo.AI.InSkillRange(1));
                             node25.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 40));
                             node25.AddChild(new Mogo.AI.CastSpell(1, 0));
                             node25.AddChild(new Mogo.AI.EnterCD(0));
                         }
                         {
                             Mogo.AI.SelectorNode node30 = new Mogo.AI.SelectorNode();
                             node24.AddChild(node30);
                             {
                                 Mogo.AI.SequenceNode node31 = new Mogo.AI.SequenceNode();
                                 node30.AddChild(node31);
                                 node31.AddChild(new Mogo.AI.InSkillRange(1));
                                 node31.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                                 node31.AddChild(new Mogo.AI.LookOn(500, 200, 1000, 50, 1000, 50, 1000, 50, 1000, 50, 1000, 0, 50, 1));
                             }
                             {
                                 Mogo.AI.SequenceNode node35 = new Mogo.AI.SequenceNode();
                                 node30.AddChild(node35);
                                 {
                                     Mogo.AI.Not node36 = new Mogo.AI.Not();
                                     node35.AddChild(node36);
                                     node36.Proxy(new Mogo.AI.InSkillRange(1));
                                 }
                                 node35.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                                 node35.AddChild(new Mogo.AI.LookOn(500, 200, 1000, 50, 1000, 50, 1000, 50, 1000, 50, 1000, 0, 50, 1));
                             }
                         }
                     }
                 }
                 node10.AddChild(new Mogo.AI.EnterRest(400));
             }
         }
     }
 }
Ejemplo n.º 29
0
 private BT10003()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         {
             Mogo.AI.SequenceNode node2 = new Mogo.AI.SequenceNode();
             node1.AddChild(node2);
             {
                 Mogo.AI.SelectorNode node3 = new Mogo.AI.SelectorNode();
                 node2.AddChild(node3);
                 node3.AddChild(new Mogo.AI.AOI(0));
                 {
                     Mogo.AI.SequenceNode node5 = new Mogo.AI.SequenceNode();
                     node3.AddChild(node5);
                     {
                         Mogo.AI.Not node6 = new Mogo.AI.Not();
                         node5.AddChild(node6);
                         node6.Proxy(new Mogo.AI.SelectAutoFightMovePoint());
                     }
                     {
                         Mogo.AI.Not node8 = new Mogo.AI.Not();
                         node5.AddChild(node8);
                         node8.Proxy(new Mogo.AI.EnterRest(1000));
                     }
                 }
             }
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node2.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     node11.AddChild(new Mogo.AI.InSkillCoolDown(5));
                     node11.AddChild(new Mogo.AI.InSkillRange(5));
                     node11.AddChild(new Mogo.AI.CastSpell(5, 0));
                     node11.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node16);
                     node16.AddChild(new Mogo.AI.InSkillCoolDown(6));
                     node16.AddChild(new Mogo.AI.InSkillRange(6));
                     node16.AddChild(new Mogo.AI.CastSpell(6, 0));
                     node16.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node21 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node21);
                     node21.AddChild(new Mogo.AI.InSkillRange(1));
                     node21.AddChild(new Mogo.AI.CastSpell(1, 0));
                     node21.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node25 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node25);
                     node25.AddChild(new Mogo.AI.ChooseCastPoint(1));
                     node25.AddChild(new Mogo.AI.MoveTo());
                 }
             }
         }
     }
 }
Ejemplo n.º 30
0
 private BT1001()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(0));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     node11.AddChild(new Mogo.AI.InSkillRange(2));
                     {
                         Mogo.AI.SelectorNode node13 = new Mogo.AI.SelectorNode();
                         node11.AddChild(node13);
                         {
                             Mogo.AI.SequenceNode node14 = new Mogo.AI.SequenceNode();
                             node13.AddChild(node14);
                             node14.AddChild(new Mogo.AI.InSkillCoolDown(2));
                             node14.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 40));
                             node14.AddChild(new Mogo.AI.CastSpell(2, 0));
                             node14.AddChild(new Mogo.AI.EnterCD(0));
                         }
                         {
                             Mogo.AI.SequenceNode node19 = new Mogo.AI.SequenceNode();
                             node13.AddChild(node19);
                             node19.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                             node19.AddChild(new Mogo.AI.Escape(1000));
                         }
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node22 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node22);
                     {
                         Mogo.AI.Not node23 = new Mogo.AI.Not();
                         node22.AddChild(node23);
                         node23.Proxy(new Mogo.AI.InSkillRange(2));
                     }
                     node22.AddChild(new Mogo.AI.InSkillRange(1));
                     node22.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     node22.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 40));
                     node22.AddChild(new Mogo.AI.CastSpell(1, 0));
                     node22.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 node10.AddChild(new Mogo.AI.LookOn(600, 400, 500, 10, 1000, 20, 1000, 5, 1000, 5, 1000, 60, 0, 1));
             }
         }
     }
 }
Ejemplo n.º 31
0
		private BT3()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(30));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							{
								Mogo.AI.Not node12 = new Mogo.AI.Not();
								node11.AddChild(node12);
								node12.Proxy(new Mogo.AI.InSkillRange(1));
							}
							node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,100));
                            node11.AddChild(new Mogo.AI.LookOn(500, 200, 1000, 50, 1000, 50, 1000, 50, 1000, 50, 1000, 0, 50, 1));
						}
						{
							Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
							node10.AddChild(node16);
							{
								Mogo.AI.Not node17 = new Mogo.AI.Not();
								node16.AddChild(node17);
								node17.Proxy(new Mogo.AI.InSkillCoolDown(1));
							}
							node16.AddChild(new Mogo.AI.InSkillRange(1));
							node16.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
                            node16.AddChild(new Mogo.AI.LookOn(500, 200, 1000, 50, 1000, 50, 1000, 50, 1000, 50, 1000, 0, 50, 1));
						}
						{
							Mogo.AI.SequenceNode node22 = new Mogo.AI.SequenceNode();
							node10.AddChild(node22);
							node22.AddChild(new Mogo.AI.InSkillCoolDown(1));
							{
								Mogo.AI.SelectorNode node24 = new Mogo.AI.SelectorNode();
								node22.AddChild(node24);
								{
									Mogo.AI.SequenceNode node25 = new Mogo.AI.SequenceNode();
									node24.AddChild(node25);
									node25.AddChild(new Mogo.AI.InSkillRange(1));
									node25.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,40));
                                    node25.AddChild(new Mogo.AI.CastSpell(1, 0));
									node25.AddChild(new Mogo.AI.EnterCD(0));
								}
								{
									Mogo.AI.SelectorNode node30 = new Mogo.AI.SelectorNode();
									node24.AddChild(node30);
									{
										Mogo.AI.SequenceNode node31 = new Mogo.AI.SequenceNode();
										node30.AddChild(node31);
										node31.AddChild(new Mogo.AI.InSkillRange(1));
										node31.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
                                        node31.AddChild(new Mogo.AI.LookOn(500, 200, 1000, 50, 1000, 50, 1000, 50, 1000, 50, 1000, 0, 50, 1));
									}
									{
										Mogo.AI.SequenceNode node35 = new Mogo.AI.SequenceNode();
										node30.AddChild(node35);
										{
											Mogo.AI.Not node36 = new Mogo.AI.Not();
											node35.AddChild(node36);
											node36.Proxy(new Mogo.AI.InSkillRange(1));
										}
										node35.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
                                        node35.AddChild(new Mogo.AI.LookOn(500, 200, 1000, 50, 1000, 50, 1000, 50, 1000, 50, 1000, 0, 50, 1));
									}
								}
							}
						}
						node10.AddChild(new Mogo.AI.EnterRest(400));
					}
				}
			}
		}
Ejemplo n.º 32
0
 private BT10103()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         {
             Mogo.AI.SequenceNode node2 = new Mogo.AI.SequenceNode();
             node1.AddChild(node2);
             {
                 Mogo.AI.SelectorNode node3 = new Mogo.AI.SelectorNode();
                 node2.AddChild(node3);
                 node3.AddChild(new Mogo.AI.MercenaryAOI());
                 node3.AddChild(new Mogo.AI.FollowOwner());
             }
             {
                 Mogo.AI.Not node6 = new Mogo.AI.Not();
                 node2.AddChild(node6);
                 node6.Proxy(new Mogo.AI.ISCD());
             }
             node2.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node9 = new Mogo.AI.SelectorNode();
                 node2.AddChild(node9);
                 {
                     Mogo.AI.SequenceNode node10 = new Mogo.AI.SequenceNode();
                     node9.AddChild(node10);
                     node10.AddChild(new Mogo.AI.InSkillRange(5));
                     node10.AddChild(new Mogo.AI.InSkillCoolDown(5));
                     node10.AddChild(new Mogo.AI.CastSpell(5, 0));
                     node10.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node15 = new Mogo.AI.SequenceNode();
                     node9.AddChild(node15);
                     node15.AddChild(new Mogo.AI.InSkillCoolDown(6));
                     node15.AddChild(new Mogo.AI.InSkillRange(6));
                     node15.AddChild(new Mogo.AI.CastSpell(6, 0));
                     node15.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node20 = new Mogo.AI.SequenceNode();
                     node9.AddChild(node20);
                     node20.AddChild(new Mogo.AI.InSkillCoolDown(4));
                     node20.AddChild(new Mogo.AI.InSkillRange(4));
                     node20.AddChild(new Mogo.AI.CastSpell(4, 0));
                     node20.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node25 = new Mogo.AI.SequenceNode();
                     node9.AddChild(node25);
                     node25.AddChild(new Mogo.AI.InSkillRange(1));
                     node25.AddChild(new Mogo.AI.CastSpell(1, 0));
                     node25.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node29 = new Mogo.AI.SequenceNode();
                     node9.AddChild(node29);
                     node29.AddChild(new Mogo.AI.ChooseCastPoint(1));
                     node29.AddChild(new Mogo.AI.MoveTo());
                 }
                 //node9.AddChild(new Mogo.AI.EnterRest(1000));
             }
         }
     }
 }
Ejemplo n.º 33
0
 private BT1091()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(0));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     node11.AddChild(new Mogo.AI.InSkillCoolDown(6));
                     node11.AddChild(new Mogo.AI.InSkillRange(6));
                     node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 15));
                     node11.AddChild(new Mogo.AI.CastSpell(6, 0));
                     node11.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node17 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node17);
                     node17.AddChild(new Mogo.AI.InSkillCoolDown(5));
                     node17.AddChild(new Mogo.AI.InSkillRange(5));
                     node17.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 20));
                     node17.AddChild(new Mogo.AI.CastSpell(5, 0));
                     node17.AddChild(new Mogo.AI.EnterCD(500));
                 }
                 {
                     Mogo.AI.SequenceNode node23 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node23);
                     node23.AddChild(new Mogo.AI.InSkillCoolDown(4));
                     node23.AddChild(new Mogo.AI.InSkillRange(4));
                     node23.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 30));
                     node23.AddChild(new Mogo.AI.CastSpell(4, 0));
                     node23.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node29 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node29);
                     node29.AddChild(new Mogo.AI.InSkillCoolDown(3));
                     node29.AddChild(new Mogo.AI.InSkillRange(3));
                     node29.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 40));
                     node29.AddChild(new Mogo.AI.CastSpell(3, 0));
                     node29.AddChild(new Mogo.AI.EnterCD(500));
                 }
                 {
                     Mogo.AI.SequenceNode node35 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node35);
                     node35.AddChild(new Mogo.AI.InSkillCoolDown(2));
                     node35.AddChild(new Mogo.AI.InSkillRange(2));
                     node35.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                     node35.AddChild(new Mogo.AI.CastSpell(2, 0));
                     node35.AddChild(new Mogo.AI.EnterCD(500));
                 }
                 {
                     Mogo.AI.SequenceNode node41 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node41);
                     node41.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     node41.AddChild(new Mogo.AI.InSkillRange(1));
                     node41.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                     node41.AddChild(new Mogo.AI.CastSpell(1, 0));
                     node41.AddChild(new Mogo.AI.EnterCD(500));
                 }
                 {
                     Mogo.AI.SequenceNode node47 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node47);
                     node47.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 80));
                     node47.AddChild(new Mogo.AI.ChooseCastPoint(1));
                     node47.AddChild(new Mogo.AI.MoveTo());
                 }
                 node10.AddChild(new Mogo.AI.EnterRest(500));
             }
         }
     }
 }
Ejemplo n.º 34
0
		private BT10104()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				{
					Mogo.AI.SequenceNode node2 = new Mogo.AI.SequenceNode();
					node1.AddChild(node2);
					{
						Mogo.AI.SelectorNode node3 = new Mogo.AI.SelectorNode();
						node2.AddChild(node3);
						node3.AddChild(new Mogo.AI.MercenaryAOI());
						node3.AddChild(new Mogo.AI.FollowOwner());
					}
					{
						Mogo.AI.Not node6 = new Mogo.AI.Not();
						node2.AddChild(node6);
						node6.Proxy(new Mogo.AI.ISCD());
					}
					node2.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node9 = new Mogo.AI.SelectorNode();
						node2.AddChild(node9);
						{
							Mogo.AI.SequenceNode node10 = new Mogo.AI.SequenceNode();
							node9.AddChild(node10);
							node10.AddChild(new Mogo.AI.InSkillRange(5));
							node10.AddChild(new Mogo.AI.InSkillCoolDown(5));
							node10.AddChild(new Mogo.AI.CastSpell(5,0));
							node10.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node15 = new Mogo.AI.SequenceNode();
							node9.AddChild(node15);
							node15.AddChild(new Mogo.AI.InSkillCoolDown(6));
							node15.AddChild(new Mogo.AI.InSkillRange(6));
							node15.AddChild(new Mogo.AI.CastSpell(6,0));
							node15.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node20 = new Mogo.AI.SequenceNode();
							node9.AddChild(node20);
							node20.AddChild(new Mogo.AI.InSkillCoolDown(4));
							node20.AddChild(new Mogo.AI.InSkillRange(4));
							node20.AddChild(new Mogo.AI.CastSpell(4,0));
							node20.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node25 = new Mogo.AI.SequenceNode();
							node9.AddChild(node25);
							node25.AddChild(new Mogo.AI.InSkillRange(1));
							node25.AddChild(new Mogo.AI.CastSpell(1,0));
							node25.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node29 = new Mogo.AI.SequenceNode();
							node9.AddChild(node29);
							node29.AddChild(new Mogo.AI.ChooseCastPoint(1));
							node29.AddChild(new Mogo.AI.MoveTo());
						}
						//node9.AddChild(new Mogo.AI.EnterRest(1000));
					}
				}
			}
		}
Ejemplo n.º 35
0
 private BT6()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(0));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     node11.AddChild(new Mogo.AI.LastLookOnModeIs(5));
                     node11.AddChild(new Mogo.AI.CastSpell(1, 0));
                     node11.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node15 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node15);
                     node15.AddChild(new Mogo.AI.InSkillCoolDown(2));
                     {
                         Mogo.AI.SelectorNode node17 = new Mogo.AI.SelectorNode();
                         node15.AddChild(node17);
                         {
                             Mogo.AI.SequenceNode node18 = new Mogo.AI.SequenceNode();
                             node17.AddChild(node18);
                             node18.AddChild(new Mogo.AI.InSkillRange(2));
                             node18.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 25));
                             node18.AddChild(new Mogo.AI.CastSpell(2, 0));
                             node18.AddChild(new Mogo.AI.EnterCD(500));
                         }
                         {
                             Mogo.AI.SequenceNode node23 = new Mogo.AI.SequenceNode();
                             node17.AddChild(node23);
                             {
                                 Mogo.AI.Not node24 = new Mogo.AI.Not();
                                 node23.AddChild(node24);
                                 node24.Proxy(new Mogo.AI.InSkillRange(2));
                             }
                             node23.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 15));
                             node23.AddChild(new Mogo.AI.ChooseCastPoint(2));
                             node23.AddChild(new Mogo.AI.MoveTo());
                         }
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node29 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node29);
                     node29.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     {
                         Mogo.AI.SelectorNode node31 = new Mogo.AI.SelectorNode();
                         node29.AddChild(node31);
                         {
                             Mogo.AI.SequenceNode node32 = new Mogo.AI.SequenceNode();
                             node31.AddChild(node32);
                             node32.AddChild(new Mogo.AI.InSkillRange(1));
                             node32.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 35));
                             node32.AddChild(new Mogo.AI.CastSpell(1, 0));
                             node32.AddChild(new Mogo.AI.EnterCD(500));
                         }
                         {
                             Mogo.AI.SequenceNode node37 = new Mogo.AI.SequenceNode();
                             node31.AddChild(node37);
                             {
                                 Mogo.AI.Not node38 = new Mogo.AI.Not();
                                 node37.AddChild(node38);
                                 node38.Proxy(new Mogo.AI.InSkillRange(1));
                             }
                             {
                                 Mogo.AI.SelectorNode node40 = new Mogo.AI.SelectorNode();
                                 node37.AddChild(node40);
                                 {
                                     Mogo.AI.SequenceNode node41 = new Mogo.AI.SequenceNode();
                                     node40.AddChild(node41);
                                     node41.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 5));
                                     node41.AddChild(new Mogo.AI.LookOn(500, 250, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 1));
                                 }
                                 {
                                     Mogo.AI.SequenceNode node44 = new Mogo.AI.SequenceNode();
                                     node40.AddChild(node44);
                                     node44.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 20));
                                     node44.AddChild(new Mogo.AI.ChooseCastPoint(1));
                                     node44.AddChild(new Mogo.AI.MoveTo());
                                 }
                             }
                         }
                     }
                 }
                 node10.AddChild(new Mogo.AI.LookOn(450, 300, 500, 25, 500, 5, 1500, 0, 1500, 0, 1000, 70, 0, 1));
             }
         }
     }
 }
Ejemplo n.º 36
0
		private BT1091()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(0));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							node11.AddChild(new Mogo.AI.InSkillCoolDown(6));
							node11.AddChild(new Mogo.AI.InSkillRange(6));
							node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,15));
							node11.AddChild(new Mogo.AI.CastSpell(6,0));
							node11.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node17 = new Mogo.AI.SequenceNode();
							node10.AddChild(node17);
							node17.AddChild(new Mogo.AI.InSkillCoolDown(5));
							node17.AddChild(new Mogo.AI.InSkillRange(5));
							node17.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,20));
							node17.AddChild(new Mogo.AI.CastSpell(5,0));
							node17.AddChild(new Mogo.AI.EnterCD(500));
						}
						{
							Mogo.AI.SequenceNode node23 = new Mogo.AI.SequenceNode();
							node10.AddChild(node23);
							node23.AddChild(new Mogo.AI.InSkillCoolDown(4));
							node23.AddChild(new Mogo.AI.InSkillRange(4));
							node23.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,30));
							node23.AddChild(new Mogo.AI.CastSpell(4,0));
							node23.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node29 = new Mogo.AI.SequenceNode();
							node10.AddChild(node29);
							node29.AddChild(new Mogo.AI.InSkillCoolDown(3));
							node29.AddChild(new Mogo.AI.InSkillRange(3));
							node29.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,40));
							node29.AddChild(new Mogo.AI.CastSpell(3,0));
							node29.AddChild(new Mogo.AI.EnterCD(500));
						}
						{
							Mogo.AI.SequenceNode node35 = new Mogo.AI.SequenceNode();
							node10.AddChild(node35);
							node35.AddChild(new Mogo.AI.InSkillCoolDown(2));
							node35.AddChild(new Mogo.AI.InSkillRange(2));
							node35.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
							node35.AddChild(new Mogo.AI.CastSpell(2,0));
							node35.AddChild(new Mogo.AI.EnterCD(500));
						}
						{
							Mogo.AI.SequenceNode node41 = new Mogo.AI.SequenceNode();
							node10.AddChild(node41);
							node41.AddChild(new Mogo.AI.InSkillCoolDown(1));
							node41.AddChild(new Mogo.AI.InSkillRange(1));
							node41.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
							node41.AddChild(new Mogo.AI.CastSpell(1,0));
							node41.AddChild(new Mogo.AI.EnterCD(500));
						}
						{
							Mogo.AI.SequenceNode node47 = new Mogo.AI.SequenceNode();
							node10.AddChild(node47);
							node47.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,80));
							node47.AddChild(new Mogo.AI.ChooseCastPoint(1));
							node47.AddChild(new Mogo.AI.MoveTo());
						}
						node10.AddChild(new Mogo.AI.EnterRest(500));
					}
				}
			}
		}
Ejemplo n.º 37
0
 private BT2009()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(0));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     node11.AddChild(new Mogo.AI.InSkillCoolDown(6));
                     {
                         Mogo.AI.Not node13 = new Mogo.AI.Not();
                         node11.AddChild(node13);
                         node13.Proxy(new Mogo.AI.InSkillRange(1));
                     }
                     node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 15));
                     {
                         Mogo.AI.SelectorNode node16 = new Mogo.AI.SelectorNode();
                         node11.AddChild(node16);
                         {
                             Mogo.AI.SequenceNode node17 = new Mogo.AI.SequenceNode();
                             node16.AddChild(node17);
                             node17.AddChild(new Mogo.AI.InSkillRange(6));
                             node17.AddChild(new Mogo.AI.CastSpell(6, 0));
                             node17.AddChild(new Mogo.AI.EnterCD(500));
                         }
                         {
                             Mogo.AI.SequenceNode node21 = new Mogo.AI.SequenceNode();
                             node16.AddChild(node21);
                             node21.AddChild(new Mogo.AI.ChooseCastPoint(6));
                             node21.AddChild(new Mogo.AI.MoveTo());
                         }
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node24 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node24);
                     node24.AddChild(new Mogo.AI.InSkillCoolDown(7));
                     {
                         Mogo.AI.Not node26 = new Mogo.AI.Not();
                         node24.AddChild(node26);
                         node26.Proxy(new Mogo.AI.InSkillRange(4));
                     }
                     {
                         Mogo.AI.SelectorNode node28 = new Mogo.AI.SelectorNode();
                         node24.AddChild(node28);
                         {
                             Mogo.AI.SequenceNode node29 = new Mogo.AI.SequenceNode();
                             node28.AddChild(node29);
                             node29.AddChild(new Mogo.AI.InSkillRange(7));
                             node29.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 20));
                             node29.AddChild(new Mogo.AI.CastSpell(7, 0));
                             node29.AddChild(new Mogo.AI.EnterCD(500));
                         }
                         {
                             Mogo.AI.SequenceNode node34 = new Mogo.AI.SequenceNode();
                             node28.AddChild(node34);
                             node34.AddChild(new Mogo.AI.ChooseCastPoint(7));
                             node34.AddChild(new Mogo.AI.MoveTo());
                         }
                     }
                 }
                 {
                     Mogo.AI.SelectorNode node37 = new Mogo.AI.SelectorNode();
                     node10.AddChild(node37);
                     {
                         Mogo.AI.SequenceNode node38 = new Mogo.AI.SequenceNode();
                         node37.AddChild(node38);
                         node38.AddChild(new Mogo.AI.InSkillCoolDown(5));
                         node38.AddChild(new Mogo.AI.InSkillRange(5));
                         node38.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                         node38.AddChild(new Mogo.AI.CastSpell(5, 0));
                         node38.AddChild(new Mogo.AI.EnterCD(500));
                     }
                     {
                         Mogo.AI.SequenceNode node44 = new Mogo.AI.SequenceNode();
                         node37.AddChild(node44);
                         node44.AddChild(new Mogo.AI.InSkillCoolDown(4));
                         node44.AddChild(new Mogo.AI.InSkillRange(4));
                         node44.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                         node44.AddChild(new Mogo.AI.CastSpell(4, 0));
                         node44.AddChild(new Mogo.AI.EnterCD(500));
                     }
                     {
                         Mogo.AI.SequenceNode node50 = new Mogo.AI.SequenceNode();
                         node37.AddChild(node50);
                         node50.AddChild(new Mogo.AI.InSkillCoolDown(3));
                         node50.AddChild(new Mogo.AI.InSkillRange(3));
                         node50.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                         node50.AddChild(new Mogo.AI.CastSpell(3, 0));
                         node50.AddChild(new Mogo.AI.EnterCD(500));
                     }
                     {
                         Mogo.AI.SequenceNode node56 = new Mogo.AI.SequenceNode();
                         node37.AddChild(node56);
                         node56.AddChild(new Mogo.AI.InSkillCoolDown(1));
                         node56.AddChild(new Mogo.AI.InSkillRange(1));
                         node56.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                         node56.AddChild(new Mogo.AI.CastSpell(1, 0));
                         node56.AddChild(new Mogo.AI.EnterCD(500));
                     }
                     {
                         Mogo.AI.SequenceNode node62 = new Mogo.AI.SequenceNode();
                         node37.AddChild(node62);
                         node62.AddChild(new Mogo.AI.InSkillCoolDown(2));
                         node62.AddChild(new Mogo.AI.InSkillRange(2));
                         node62.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                         node62.AddChild(new Mogo.AI.CastSpell(2, 0));
                         node62.AddChild(new Mogo.AI.EnterCD(500));
                     }
                     {
                         Mogo.AI.SequenceNode node68 = new Mogo.AI.SequenceNode();
                         node37.AddChild(node68);
                         node68.AddChild(new Mogo.AI.ChooseCastPoint(1));
                         node68.AddChild(new Mogo.AI.MoveTo());
                     }
                     node37.AddChild(new Mogo.AI.EnterRest(100));
                 }
             }
         }
     }
 }
Ejemplo n.º 38
0
 private BT101()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(30));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     node11.AddChild(new Mogo.AI.InSkillCoolDown(4));
                     {
                         Mogo.AI.SequenceNode node13 = new Mogo.AI.SequenceNode();
                         node11.AddChild(node13);
                         node13.AddChild(new Mogo.AI.CastSpell(4, 0));
                         node13.AddChild(new Mogo.AI.EnterCD(60000));
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node16);
                     node16.AddChild(new Mogo.AI.InSkillCoolDown(3));
                     {
                         Mogo.AI.SequenceNode node18 = new Mogo.AI.SequenceNode();
                         node16.AddChild(node18);
                         node18.AddChild(new Mogo.AI.CastSpell(3, 0));
                         node18.AddChild(new Mogo.AI.EnterCD(60000));
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node21 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node21);
                     node21.AddChild(new Mogo.AI.InSkillCoolDown(2));
                     {
                         Mogo.AI.SequenceNode node23 = new Mogo.AI.SequenceNode();
                         node21.AddChild(node23);
                         node23.AddChild(new Mogo.AI.CastSpell(2, 0));
                         node23.AddChild(new Mogo.AI.EnterCD(60000));
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node26 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node26);
                     node26.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     {
                         Mogo.AI.SequenceNode node28 = new Mogo.AI.SequenceNode();
                         node26.AddChild(node28);
                         node28.AddChild(new Mogo.AI.CastSpell(1, 0));
                         node28.AddChild(new Mogo.AI.EnterCD(60000));
                     }
                 }
                 node10.AddChild(new Mogo.AI.EnterRest(0));
             }
         }
     }
 }
Ejemplo n.º 39
0
 private BT2007()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(0));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     node11.AddChild(new Mogo.AI.InSkillCoolDown(8));
                     {
                         Mogo.AI.SequenceNode node13 = new Mogo.AI.SequenceNode();
                         node11.AddChild(node13);
                         node13.AddChild(new Mogo.AI.InSkillRange(8));
                         node13.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 15));
                         node13.AddChild(new Mogo.AI.CastSpell(8, 0));
                         node13.AddChild(new Mogo.AI.EnterCD(500));
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node18 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node18);
                     node18.AddChild(new Mogo.AI.InSkillCoolDown(7));
                     {
                         Mogo.AI.SequenceNode node20 = new Mogo.AI.SequenceNode();
                         node18.AddChild(node20);
                         node20.AddChild(new Mogo.AI.InSkillRange(7));
                         node20.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 15));
                         node20.AddChild(new Mogo.AI.CastSpell(7, 0));
                         node20.AddChild(new Mogo.AI.EnterCD(500));
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node25 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node25);
                     node25.AddChild(new Mogo.AI.InSkillCoolDown(6));
                     {
                         Mogo.AI.SequenceNode node27 = new Mogo.AI.SequenceNode();
                         node25.AddChild(node27);
                         node27.AddChild(new Mogo.AI.InSkillRange(6));
                         node27.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 15));
                         node27.AddChild(new Mogo.AI.CastSpell(6, 0));
                         node27.AddChild(new Mogo.AI.EnterCD(500));
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node32 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node32);
                     node32.AddChild(new Mogo.AI.InSkillCoolDown(5));
                     {
                         Mogo.AI.SequenceNode node34 = new Mogo.AI.SequenceNode();
                         node32.AddChild(node34);
                         node34.AddChild(new Mogo.AI.InSkillRange(5));
                         node34.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 15));
                         node34.AddChild(new Mogo.AI.CastSpell(5, 0));
                         node34.AddChild(new Mogo.AI.EnterCD(500));
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node39 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node39);
                     node39.AddChild(new Mogo.AI.InSkillCoolDown(4));
                     {
                         Mogo.AI.SequenceNode node41 = new Mogo.AI.SequenceNode();
                         node39.AddChild(node41);
                         node41.AddChild(new Mogo.AI.InSkillRange(4));
                         node41.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 15));
                         node41.AddChild(new Mogo.AI.CastSpell(4, 0));
                         node41.AddChild(new Mogo.AI.EnterCD(500));
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node46 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node46);
                     node46.AddChild(new Mogo.AI.InSkillCoolDown(3));
                     {
                         Mogo.AI.SequenceNode node48 = new Mogo.AI.SequenceNode();
                         node46.AddChild(node48);
                         node48.AddChild(new Mogo.AI.InSkillRange(3));
                         node48.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 40));
                         node48.AddChild(new Mogo.AI.CastSpell(3, 0));
                         node48.AddChild(new Mogo.AI.EnterCD(500));
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node53 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node53);
                     node53.AddChild(new Mogo.AI.InSkillCoolDown(2));
                     {
                         Mogo.AI.SequenceNode node55 = new Mogo.AI.SequenceNode();
                         node53.AddChild(node55);
                         node55.AddChild(new Mogo.AI.InSkillRange(2));
                         node55.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 40));
                         node55.AddChild(new Mogo.AI.CastSpell(2, 0));
                         node55.AddChild(new Mogo.AI.EnterCD(500));
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node60 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node60);
                     node60.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     {
                         Mogo.AI.SequenceNode node62 = new Mogo.AI.SequenceNode();
                         node60.AddChild(node62);
                         node62.AddChild(new Mogo.AI.InSkillRange(1));
                         node62.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 40));
                         node62.AddChild(new Mogo.AI.CastSpell(1, 0));
                         node62.AddChild(new Mogo.AI.EnterCD(500));
                     }
                 }
                 node10.AddChild(new Mogo.AI.EnterRest(500));
             }
         }
     }
 }
Ejemplo n.º 40
0
 private BT2016()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(0));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     node11.AddChild(new Mogo.AI.InSkillCoolDown(7));
                     node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 30));
                     node11.AddChild(new Mogo.AI.CastSpell(7, 0));
                     node11.AddChild(new Mogo.AI.EnterCD(200));
                 }
                 {
                     Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node16);
                     {
                         Mogo.AI.Not node17 = new Mogo.AI.Not();
                         node16.AddChild(node17);
                         node17.Proxy(new Mogo.AI.InSkillCoolDown(1));
                     }
                     node16.AddChild(new Mogo.AI.InSkillRange(2));
                     node16.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 30));
                     node16.AddChild(new Mogo.AI.Escape(1000));
                 }
                 {
                     Mogo.AI.SequenceNode node22 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node22);
                     {
                         Mogo.AI.Not node23 = new Mogo.AI.Not();
                         node22.AddChild(node23);
                         node23.Proxy(new Mogo.AI.InSkillRange(1));
                     }
                     {
                         Mogo.AI.SelectorNode node25 = new Mogo.AI.SelectorNode();
                         node22.AddChild(node25);
                         {
                             Mogo.AI.SequenceNode node26 = new Mogo.AI.SequenceNode();
                             node25.AddChild(node26);
                             node26.AddChild(new Mogo.AI.InSkillCoolDown(6));
                             node26.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 10));
                             {
                                 Mogo.AI.SelectorNode node29 = new Mogo.AI.SelectorNode();
                                 node26.AddChild(node29);
                                 {
                                     Mogo.AI.SequenceNode node30 = new Mogo.AI.SequenceNode();
                                     node29.AddChild(node30);
                                     node30.AddChild(new Mogo.AI.InSkillRange(6));
                                     node30.AddChild(new Mogo.AI.CastSpell(6, 0));
                                     node30.AddChild(new Mogo.AI.EnterCD(500));
                                 }
                                 {
                                     Mogo.AI.SequenceNode node34 = new Mogo.AI.SequenceNode();
                                     node29.AddChild(node34);
                                     node34.AddChild(new Mogo.AI.ChooseCastPoint(6));
                                     node34.AddChild(new Mogo.AI.MoveTo());
                                 }
                             }
                         }
                         {
                             Mogo.AI.SequenceNode node37 = new Mogo.AI.SequenceNode();
                             node25.AddChild(node37);
                             node37.AddChild(new Mogo.AI.InSkillCoolDown(4));
                             {
                                 Mogo.AI.SelectorNode node39 = new Mogo.AI.SelectorNode();
                                 node37.AddChild(node39);
                                 {
                                     Mogo.AI.SequenceNode node40 = new Mogo.AI.SequenceNode();
                                     node39.AddChild(node40);
                                     node40.AddChild(new Mogo.AI.InSkillRange(4));
                                     node40.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                                     node40.AddChild(new Mogo.AI.CastSpell(4, 0));
                                     node40.AddChild(new Mogo.AI.EnterCD(-500));
                                 }
                                 {
                                     Mogo.AI.SequenceNode node45 = new Mogo.AI.SequenceNode();
                                     node39.AddChild(node45);
                                     node45.AddChild(new Mogo.AI.ChooseCastPoint(4));
                                     node45.AddChild(new Mogo.AI.MoveTo());
                                 }
                             }
                         }
                         {
                             Mogo.AI.SequenceNode node48 = new Mogo.AI.SequenceNode();
                             node25.AddChild(node48);
                             node48.AddChild(new Mogo.AI.InSkillCoolDown(3));
                             {
                                 Mogo.AI.SelectorNode node50 = new Mogo.AI.SelectorNode();
                                 node48.AddChild(node50);
                                 {
                                     Mogo.AI.SequenceNode node51 = new Mogo.AI.SequenceNode();
                                     node50.AddChild(node51);
                                     node51.AddChild(new Mogo.AI.InSkillRange(3));
                                     node51.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                                     node51.AddChild(new Mogo.AI.CastSpell(3, 0));
                                     node51.AddChild(new Mogo.AI.EnterCD(500));
                                 }
                                 {
                                     Mogo.AI.SequenceNode node56 = new Mogo.AI.SequenceNode();
                                     node50.AddChild(node56);
                                     node56.AddChild(new Mogo.AI.ChooseCastPoint(3));
                                     node56.AddChild(new Mogo.AI.MoveTo());
                                 }
                             }
                         }
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node59 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node59);
                     node59.AddChild(new Mogo.AI.InSkillRange(2));
                     {
                         Mogo.AI.SelectorNode node61 = new Mogo.AI.SelectorNode();
                         node59.AddChild(node61);
                         {
                             Mogo.AI.SequenceNode node62 = new Mogo.AI.SequenceNode();
                             node61.AddChild(node62);
                             node62.AddChild(new Mogo.AI.InSkillCoolDown(5));
                             node62.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 30));
                             node62.AddChild(new Mogo.AI.CastSpell(5, 0));
                             node62.AddChild(new Mogo.AI.EnterCD(500));
                         }
                         {
                             Mogo.AI.SequenceNode node67 = new Mogo.AI.SequenceNode();
                             node61.AddChild(node67);
                             node67.AddChild(new Mogo.AI.InSkillCoolDown(2));
                             node67.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                             node67.AddChild(new Mogo.AI.CastSpell(2, 0));
                             node67.AddChild(new Mogo.AI.EnterCD(500));
                         }
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node72 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node72);
                     node72.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     {
                         Mogo.AI.SelectorNode node74 = new Mogo.AI.SelectorNode();
                         node72.AddChild(node74);
                         {
                             Mogo.AI.SequenceNode node75 = new Mogo.AI.SequenceNode();
                             node74.AddChild(node75);
                             node75.AddChild(new Mogo.AI.InSkillRange(1));
                             node75.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                             node75.AddChild(new Mogo.AI.CastSpell(1, 0));
                             node75.AddChild(new Mogo.AI.EnterCD(500));
                         }
                         {
                             Mogo.AI.SequenceNode node80 = new Mogo.AI.SequenceNode();
                             node74.AddChild(node80);
                             node80.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 30));
                             node80.AddChild(new Mogo.AI.ChooseCastPoint(1));
                             node80.AddChild(new Mogo.AI.MoveTo());
                         }
                     }
                 }
                 node10.AddChild(new Mogo.AI.EnterRest(200));
             }
         }
     }
 }
Ejemplo n.º 41
0
 private BT2011()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(0));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     node11.AddChild(new Mogo.AI.InSkillCoolDown(6));
                     node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 100));
                     node11.AddChild(new Mogo.AI.CastSpell(6, 0));
                     node11.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node16);
                     node16.AddChild(new Mogo.AI.InSkillCoolDown(5));
                     {
                         Mogo.AI.Not node18 = new Mogo.AI.Not();
                         node16.AddChild(node18);
                         node18.Proxy(new Mogo.AI.InSkillRange(2));
                     }
                     {
                         Mogo.AI.SelectorNode node20 = new Mogo.AI.SelectorNode();
                         node16.AddChild(node20);
                         {
                             Mogo.AI.SequenceNode node21 = new Mogo.AI.SequenceNode();
                             node20.AddChild(node21);
                             node21.AddChild(new Mogo.AI.InSkillRange(5));
                             node21.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                             node21.AddChild(new Mogo.AI.CastSpell(5, 0));
                             node21.AddChild(new Mogo.AI.EnterCD(-1500));
                         }
                         {
                             Mogo.AI.SequenceNode node26 = new Mogo.AI.SequenceNode();
                             node20.AddChild(node26);
                             node26.AddChild(new Mogo.AI.ChooseCastPoint(5));
                             node26.AddChild(new Mogo.AI.MoveTo());
                         }
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node29 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node29);
                     node29.AddChild(new Mogo.AI.InSkillCoolDown(4));
                     node29.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 20));
                     node29.AddChild(new Mogo.AI.CastSpell(4, 0));
                     node29.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node34 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node34);
                     node34.AddChild(new Mogo.AI.InSkillCoolDown(3));
                     node34.AddChild(new Mogo.AI.InSkillRange(3));
                     node34.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                     node34.AddChild(new Mogo.AI.CastSpell(3, 0));
                     node34.AddChild(new Mogo.AI.EnterCD(500));
                 }
                 {
                     Mogo.AI.SequenceNode node40 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node40);
                     node40.AddChild(new Mogo.AI.InSkillCoolDown(2));
                     node40.AddChild(new Mogo.AI.InSkillRange(2));
                     node40.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                     node40.AddChild(new Mogo.AI.CastSpell(2, 0));
                     node40.AddChild(new Mogo.AI.EnterCD(500));
                 }
                 {
                     Mogo.AI.SequenceNode node46 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node46);
                     node46.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     node46.AddChild(new Mogo.AI.InSkillRange(1));
                     node46.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                     node46.AddChild(new Mogo.AI.CastSpell(1, 0));
                     node46.AddChild(new Mogo.AI.EnterCD(500));
                 }
                 {
                     Mogo.AI.SequenceNode node52 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node52);
                     node52.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 80));
                     node52.AddChild(new Mogo.AI.ChooseCastPoint(1));
                     node52.AddChild(new Mogo.AI.MoveTo());
                 }
                 node10.AddChild(new Mogo.AI.EnterRest(500));
             }
         }
     }
 }
Ejemplo n.º 42
0
 private BT10201()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         {
             Mogo.AI.SequenceNode node2 = new Mogo.AI.SequenceNode();
             node1.AddChild(node2);
             node2.AddChild(new Mogo.AI.AOI(0));
             {
                 Mogo.AI.Not node4 = new Mogo.AI.Not();
                 node2.AddChild(node4);
                 node4.Proxy(new Mogo.AI.ISCD());
             }
             node2.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node7 = new Mogo.AI.SelectorNode();
                 node2.AddChild(node7);
                 {
                     Mogo.AI.SequenceNode node8 = new Mogo.AI.SequenceNode();
                     node7.AddChild(node8);
                     node8.AddChild(new Mogo.AI.InSkillCoolDown(7));
                     node8.AddChild(new Mogo.AI.CmpTargetDistance(Mogo.AI.CmpType.ge, 600));
                     node8.AddChild(new Mogo.AI.CastSpell(7, 0));
                     node8.AddChild(new Mogo.AI.EnterCD(1000));
                 }
                 {
                     Mogo.AI.SequenceNode node13 = new Mogo.AI.SequenceNode();
                     node7.AddChild(node13);
                     node13.AddChild(new Mogo.AI.InSkillCoolDown(5));
                     node13.AddChild(new Mogo.AI.InSkillRange(5));
                     node13.AddChild(new Mogo.AI.CastSpell(5, 0));
                     node13.AddChild(new Mogo.AI.EnterCD(1000));
                 }
                 {
                     Mogo.AI.SequenceNode node18 = new Mogo.AI.SequenceNode();
                     node7.AddChild(node18);
                     node18.AddChild(new Mogo.AI.InSkillCoolDown(6));
                     node18.AddChild(new Mogo.AI.InSkillRange(6));
                     node18.AddChild(new Mogo.AI.CastSpell(6, 0));
                     node18.AddChild(new Mogo.AI.EnterCD(1000));
                 }
                 {
                     Mogo.AI.SequenceNode node23 = new Mogo.AI.SequenceNode();
                     node7.AddChild(node23);
                     node23.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     node23.AddChild(new Mogo.AI.InSkillRange(1));
                     node23.AddChild(new Mogo.AI.CastSpell(1, 0));
                     node23.AddChild(new Mogo.AI.EnterCD(0));
                 }
                 {
                     Mogo.AI.SequenceNode node28 = new Mogo.AI.SequenceNode();
                     node7.AddChild(node28);
                     node28.AddChild(new Mogo.AI.ChooseCastPoint(1));
                     node28.AddChild(new Mogo.AI.MoveTo());
                 }
                 node7.AddChild(new Mogo.AI.EnterRest(1000));
             }
         }
     }
 }
Ejemplo n.º 43
0
		private BT2017()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(0));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							node11.AddChild(new Mogo.AI.InSkillCoolDown(5));
							node11.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,20));
							node11.AddChild(new Mogo.AI.CastSpell(5,0));
							node11.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node16 = new Mogo.AI.SequenceNode();
							node10.AddChild(node16);
							node16.AddChild(new Mogo.AI.InSkillCoolDown(4));
							node16.AddChild(new Mogo.AI.InSkillRange(4));
							node16.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,20));
							node16.AddChild(new Mogo.AI.CastSpell(4,0));
							node16.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node22 = new Mogo.AI.SequenceNode();
							node10.AddChild(node22);
							node22.AddChild(new Mogo.AI.InSkillCoolDown(3));
							node22.AddChild(new Mogo.AI.InSkillRange(3));
							node22.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,30));
							node22.AddChild(new Mogo.AI.CastSpell(3,0));
							node22.AddChild(new Mogo.AI.EnterCD(200));
						}
						{
							Mogo.AI.SequenceNode node28 = new Mogo.AI.SequenceNode();
							node10.AddChild(node28);
							node28.AddChild(new Mogo.AI.InSkillCoolDown(2));
							node28.AddChild(new Mogo.AI.InSkillRange(2));
							node28.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,40));
							node28.AddChild(new Mogo.AI.CastSpell(2,0));
							node28.AddChild(new Mogo.AI.EnterCD(-4000));
						}
						{
							Mogo.AI.SequenceNode node34 = new Mogo.AI.SequenceNode();
							node10.AddChild(node34);
							node34.AddChild(new Mogo.AI.InSkillCoolDown(1));
							node34.AddChild(new Mogo.AI.InSkillRange(1));
							node34.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,70));
							node34.AddChild(new Mogo.AI.CastSpell(1,0));
							node34.AddChild(new Mogo.AI.EnterCD(200));
						}
						{
							Mogo.AI.SequenceNode node40 = new Mogo.AI.SequenceNode();
							node10.AddChild(node40);
							node40.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,80));
							node40.AddChild(new Mogo.AI.ChooseCastPoint(1));
							node40.AddChild(new Mogo.AI.MoveTo());
						}
						node10.AddChild(new Mogo.AI.EnterRest(200));
					}
				}
			}
		}
Ejemplo n.º 44
0
		private BT9()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(0));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							node11.AddChild(new Mogo.AI.LastLookOnModeIs(5));
							node11.AddChild(new Mogo.AI.CastSpell(1,0));
							node11.AddChild(new Mogo.AI.EnterCD(0));
						}
						{
							Mogo.AI.SequenceNode node15 = new Mogo.AI.SequenceNode();
							node10.AddChild(node15);
							node15.AddChild(new Mogo.AI.InSkillCoolDown(2));
							{
								Mogo.AI.SelectorNode node17 = new Mogo.AI.SelectorNode();
								node15.AddChild(node17);
								{
									Mogo.AI.SequenceNode node18 = new Mogo.AI.SequenceNode();
									node17.AddChild(node18);
									node18.AddChild(new Mogo.AI.InSkillRange(2));
									node18.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,8));
									node18.AddChild(new Mogo.AI.CastSpell(2,0));
									node18.AddChild(new Mogo.AI.EnterCD(0));
								}
								{
									Mogo.AI.SequenceNode node23 = new Mogo.AI.SequenceNode();
									node17.AddChild(node23);
									{
										Mogo.AI.Not node24 = new Mogo.AI.Not();
										node23.AddChild(node24);
										node24.Proxy(new Mogo.AI.InSkillRange(2));
									}
									node23.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,15));
									node23.AddChild(new Mogo.AI.ChooseCastPoint(2));
									node23.AddChild(new Mogo.AI.MoveTo());
								}
							}
						}
						{
							Mogo.AI.SequenceNode node29 = new Mogo.AI.SequenceNode();
							node10.AddChild(node29);
							node29.AddChild(new Mogo.AI.InSkillCoolDown(1));
							{
								Mogo.AI.SelectorNode node31 = new Mogo.AI.SelectorNode();
								node29.AddChild(node31);
								{
									Mogo.AI.SequenceNode node32 = new Mogo.AI.SequenceNode();
									node31.AddChild(node32);
									node32.AddChild(new Mogo.AI.InSkillRange(1));
									node32.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,15));
									node32.AddChild(new Mogo.AI.CastSpell(1,0));
									node32.AddChild(new Mogo.AI.EnterCD(0));
								}
								{
									Mogo.AI.SequenceNode node37 = new Mogo.AI.SequenceNode();
									node31.AddChild(node37);
									{
										Mogo.AI.Not node38 = new Mogo.AI.Not();
										node37.AddChild(node38);
										node38.Proxy(new Mogo.AI.InSkillRange(1));
									}
									{
										Mogo.AI.SelectorNode node40 = new Mogo.AI.SelectorNode();
										node37.AddChild(node40);
										{
											Mogo.AI.SequenceNode node41 = new Mogo.AI.SequenceNode();
											node40.AddChild(node41);
											node41.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,0));
											node41.AddChild(new Mogo.AI.LookOn(500,250,0,0,0,0,0,0,0,0,0,0,100,1));
										}
										{
											Mogo.AI.SequenceNode node44 = new Mogo.AI.SequenceNode();
											node40.AddChild(node44);
											node44.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,15));
											node44.AddChild(new Mogo.AI.ChooseCastPoint(1));
											node44.AddChild(new Mogo.AI.MoveTo());
										}
									}
								}
							}
						}
						node10.AddChild(new Mogo.AI.LookOn(450,150,500,10,2000,10,1500,10,1500,10,2000,60,0,1));
					}
				}
			}
		}
Ejemplo n.º 45
0
		private BT1058()
		{
			{
				Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
				this.AddChild(node1);
				node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq,0));
				{
					Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
					node1.AddChild(node3);
					{
						Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
						node3.AddChild(node4);
						node4.AddChild(new Mogo.AI.HasFightTarget());
						node4.AddChild(new Mogo.AI.AOI(30));
					}
					{
						Mogo.AI.Not node7 = new Mogo.AI.Not();
						node3.AddChild(node7);
						node7.Proxy(new Mogo.AI.ISCD());
					}
					node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
					{
						Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
						node3.AddChild(node10);
						{
							Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
							node10.AddChild(node11);
							node11.AddChild(new Mogo.AI.InSkillCoolDown(2));
							{
								Mogo.AI.SelectorNode node13 = new Mogo.AI.SelectorNode();
								node11.AddChild(node13);
								{
									Mogo.AI.SequenceNode node14 = new Mogo.AI.SequenceNode();
									node13.AddChild(node14);
									node14.AddChild(new Mogo.AI.InSkillRange(2));
									node14.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,10));
                                    node14.AddChild(new Mogo.AI.CastSpell(2, 0));
									node14.AddChild(new Mogo.AI.EnterCD(0));
								}
								{
									Mogo.AI.SequenceNode node19 = new Mogo.AI.SequenceNode();
									node13.AddChild(node19);
									node19.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
									node19.AddChild(new Mogo.AI.ChooseCastPoint(2));
									node19.AddChild(new Mogo.AI.MoveTo());
								}
							}
						}
						{
							Mogo.AI.SequenceNode node23 = new Mogo.AI.SequenceNode();
							node10.AddChild(node23);
							node23.AddChild(new Mogo.AI.InSkillCoolDown(1));
							{
								Mogo.AI.SelectorNode node25 = new Mogo.AI.SelectorNode();
								node23.AddChild(node25);
								{
									Mogo.AI.SequenceNode node26 = new Mogo.AI.SequenceNode();
									node25.AddChild(node26);
									node26.AddChild(new Mogo.AI.InSkillRange(1));
									node26.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,30));
                                    node26.AddChild(new Mogo.AI.CastSpell(1, 0));
									node26.AddChild(new Mogo.AI.EnterCD(0));
								}
								{
									Mogo.AI.SequenceNode node31 = new Mogo.AI.SequenceNode();
									node25.AddChild(node31);
									node31.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,50));
									node31.AddChild(new Mogo.AI.ChooseCastPoint(1));
									node31.AddChild(new Mogo.AI.MoveTo());
								}
							}
						}
						{
							Mogo.AI.SelectorNode node35 = new Mogo.AI.SelectorNode();
							node10.AddChild(node35);
							{
								Mogo.AI.SequenceNode node36 = new Mogo.AI.SequenceNode();
								node35.AddChild(node36);
								node36.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,20));
								node36.AddChild(new Mogo.AI.EnterRest(1200));
							}
							{
								Mogo.AI.SequenceNode node39 = new Mogo.AI.SequenceNode();
								node35.AddChild(node39);
								node39.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,20));
								node39.AddChild(new Mogo.AI.EnterRest(1000));
							}
							{
								Mogo.AI.SequenceNode node42 = new Mogo.AI.SequenceNode();
								node35.AddChild(node42);
								node42.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,20));
								node42.AddChild(new Mogo.AI.EnterRest(800));
							}
							{
								Mogo.AI.SequenceNode node45 = new Mogo.AI.SequenceNode();
								node35.AddChild(node45);
								node45.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt,20));
								node45.AddChild(new Mogo.AI.EnterRest(600));
							}
							{
								Mogo.AI.SequenceNode node48 = new Mogo.AI.SequenceNode();
								node35.AddChild(node48);
								node48.AddChild(new Mogo.AI.ChooseCastPoint(1));
								node48.AddChild(new Mogo.AI.MoveTo());
							}
							node35.AddChild(new Mogo.AI.EnterRest(400));
						}
					}
				}
			}
		}
Ejemplo n.º 46
0
 private BT1013()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(30));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     node11.AddChild(new Mogo.AI.InSkillCoolDown(2));
                     {
                         Mogo.AI.SelectorNode node13 = new Mogo.AI.SelectorNode();
                         node11.AddChild(node13);
                         {
                             Mogo.AI.SequenceNode node14 = new Mogo.AI.SequenceNode();
                             node13.AddChild(node14);
                             node14.AddChild(new Mogo.AI.InSkillRange(2));
                             node14.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 10));
                             node14.AddChild(new Mogo.AI.CastSpell(2, 0));
                             node14.AddChild(new Mogo.AI.EnterCD(0));
                         }
                         {
                             Mogo.AI.SequenceNode node19 = new Mogo.AI.SequenceNode();
                             node13.AddChild(node19);
                             node19.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                             node19.AddChild(new Mogo.AI.ChooseCastPoint(2));
                             node19.AddChild(new Mogo.AI.MoveTo());
                         }
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node23 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node23);
                     node23.AddChild(new Mogo.AI.InSkillCoolDown(1));
                     {
                         Mogo.AI.SelectorNode node25 = new Mogo.AI.SelectorNode();
                         node23.AddChild(node25);
                         {
                             Mogo.AI.SequenceNode node26 = new Mogo.AI.SequenceNode();
                             node25.AddChild(node26);
                             node26.AddChild(new Mogo.AI.InSkillRange(1));
                             node26.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 30));
                             node26.AddChild(new Mogo.AI.CastSpell(1, 0));
                             node26.AddChild(new Mogo.AI.EnterCD(0));
                         }
                         {
                             Mogo.AI.SequenceNode node31 = new Mogo.AI.SequenceNode();
                             node25.AddChild(node31);
                             node31.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 50));
                             node31.AddChild(new Mogo.AI.ChooseCastPoint(1));
                             node31.AddChild(new Mogo.AI.MoveTo());
                         }
                     }
                 }
                 {
                     Mogo.AI.SelectorNode node35 = new Mogo.AI.SelectorNode();
                     node10.AddChild(node35);
                     {
                         Mogo.AI.SequenceNode node36 = new Mogo.AI.SequenceNode();
                         node35.AddChild(node36);
                         node36.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 20));
                         node36.AddChild(new Mogo.AI.EnterRest(1200));
                     }
                     {
                         Mogo.AI.SequenceNode node39 = new Mogo.AI.SequenceNode();
                         node35.AddChild(node39);
                         node39.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 20));
                         node39.AddChild(new Mogo.AI.EnterRest(1000));
                     }
                     {
                         Mogo.AI.SequenceNode node42 = new Mogo.AI.SequenceNode();
                         node35.AddChild(node42);
                         node42.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 20));
                         node42.AddChild(new Mogo.AI.EnterRest(800));
                     }
                     {
                         Mogo.AI.SequenceNode node45 = new Mogo.AI.SequenceNode();
                         node35.AddChild(node45);
                         node45.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 20));
                         node45.AddChild(new Mogo.AI.EnterRest(600));
                     }
                     {
                         Mogo.AI.SequenceNode node48 = new Mogo.AI.SequenceNode();
                         node35.AddChild(node48);
                         node48.AddChild(new Mogo.AI.ChooseCastPoint(1));
                         node48.AddChild(new Mogo.AI.MoveTo());
                     }
                     node35.AddChild(new Mogo.AI.EnterRest(400));
                 }
             }
         }
     }
 }
Ejemplo n.º 47
0
 private BT2010()
 {
     {
         Mogo.AI.SelectorNode node1 = new Mogo.AI.SelectorNode();
         this.AddChild(node1);
         node1.AddChild(new Mogo.AI.CmpEnemyNum(Mogo.AI.CmpType.eq, 0));
         {
             Mogo.AI.SequenceNode node3 = new Mogo.AI.SequenceNode();
             node1.AddChild(node3);
             {
                 Mogo.AI.SelectorNode node4 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node4);
                 node4.AddChild(new Mogo.AI.HasFightTarget());
                 node4.AddChild(new Mogo.AI.AOI(0));
             }
             {
                 Mogo.AI.Not node7 = new Mogo.AI.Not();
                 node3.AddChild(node7);
                 node7.Proxy(new Mogo.AI.ISCD());
             }
             node3.AddChild(new Mogo.AI.IsTargetCanBeAttack());
             {
                 Mogo.AI.SelectorNode node10 = new Mogo.AI.SelectorNode();
                 node3.AddChild(node10);
                 {
                     Mogo.AI.SequenceNode node11 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node11);
                     {
                         Mogo.AI.Not node12 = new Mogo.AI.Not();
                         node11.AddChild(node12);
                         node12.Proxy(new Mogo.AI.InSkillRange(1));
                     }
                     {
                         Mogo.AI.SelectorNode node14 = new Mogo.AI.SelectorNode();
                         node11.AddChild(node14);
                         {
                             Mogo.AI.SequenceNode node15 = new Mogo.AI.SequenceNode();
                             node14.AddChild(node15);
                             node15.AddChild(new Mogo.AI.InSkillRange(3));
                             node15.AddChild(new Mogo.AI.InSkillCoolDown(3));
                             node15.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 30));
                             node15.AddChild(new Mogo.AI.CastSpell(3, 0));
                             node15.AddChild(new Mogo.AI.EnterCD(500));
                         }
                         {
                             Mogo.AI.SequenceNode node21 = new Mogo.AI.SequenceNode();
                             node14.AddChild(node21);
                             node21.AddChild(new Mogo.AI.InSkillRange(5));
                             node21.AddChild(new Mogo.AI.InSkillCoolDown(5));
                             node21.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 20));
                             node21.AddChild(new Mogo.AI.CastSpell(5, 0));
                             node21.AddChild(new Mogo.AI.EnterCD(500));
                         }
                         {
                             Mogo.AI.SequenceNode node27 = new Mogo.AI.SequenceNode();
                             node14.AddChild(node27);
                             node27.AddChild(new Mogo.AI.InSkillRange(6));
                             node27.AddChild(new Mogo.AI.InSkillCoolDown(6));
                             node27.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 30));
                             node27.AddChild(new Mogo.AI.CastSpell(6, 0));
                             node27.AddChild(new Mogo.AI.EnterCD(500));
                         }
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node33 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node33);
                     node33.AddChild(new Mogo.AI.InSkillRange(1));
                     {
                         Mogo.AI.SelectorNode node35 = new Mogo.AI.SelectorNode();
                         node33.AddChild(node35);
                         {
                             Mogo.AI.SequenceNode node36 = new Mogo.AI.SequenceNode();
                             node35.AddChild(node36);
                             node36.AddChild(new Mogo.AI.InSkillCoolDown(1));
                             node36.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 30));
                             node36.AddChild(new Mogo.AI.CastSpell(1, 0));
                             node36.AddChild(new Mogo.AI.EnterCD(500));
                         }
                         {
                             Mogo.AI.SequenceNode node41 = new Mogo.AI.SequenceNode();
                             node35.AddChild(node41);
                             node41.AddChild(new Mogo.AI.InSkillCoolDown(4));
                             node41.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 30));
                             node41.AddChild(new Mogo.AI.CastSpell(4, 0));
                             node41.AddChild(new Mogo.AI.EnterCD(500));
                         }
                         {
                             Mogo.AI.SequenceNode node46 = new Mogo.AI.SequenceNode();
                             node35.AddChild(node46);
                             node46.AddChild(new Mogo.AI.InSkillRange(2));
                             node46.AddChild(new Mogo.AI.InSkillCoolDown(2));
                             node46.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 30));
                             node46.AddChild(new Mogo.AI.CastSpell(2, 0));
                             node46.AddChild(new Mogo.AI.EnterCD(500));
                         }
                     }
                 }
                 {
                     Mogo.AI.SequenceNode node52 = new Mogo.AI.SequenceNode();
                     node10.AddChild(node52);
                     node52.AddChild(new Mogo.AI.CmpRate(Mogo.AI.CmpType.lt, 80));
                     node52.AddChild(new Mogo.AI.ChooseCastPoint(1));
                     node52.AddChild(new Mogo.AI.MoveTo());
                 }
                 node10.AddChild(new Mogo.AI.EnterRest(500));
             }
         }
     }
 }