示例#1
0
 public EMPCannon(BattleMap map, bool fastCannon)
     : base(map)
 {
     ID = "EMPCannon";
     AI = new WarriorAI(this).Build(fastCannon ? "FastEMPConnon" : "EMPConnon");
     Battle.AddBuff(new CounterAttack(this)); // 反击 buff
 }
示例#2
0
文件: Boar.cs 项目: moto2002/Avocat
        public Boar(BattleMap map)
            : base(map)
        {
            ID = "Boar";

            AI = new WarriorAI(this).Build("NormalNpcMonster"); // AI
            Battle.AddBuff(new CounterAttack(this));            // 反击 buff
        }
示例#3
0
文件: Npcs.cs 项目: moto2002/Avocat
 public Npc(BattleMap map)
     : base(map)
 {
     StandableTiles = TileType.All;
 }
示例#4
0
 public BattlePVE(BattleMap map, int randSeed, PlayerInfo player)
     : base(map, randSeed)
 {
     Player = player;
     Build();
 }
示例#5
0
文件: Battle.cs 项目: moto2002/Avocat
 public Battle(BattleMap map, int randSeed)
 {
     Srand = new SRandom(randSeed);
     Map   = map;
 }
示例#6
0
 public ItemOnMap(BattleMap map)
     : base(map)
 {
 }
示例#7
0
 public Trunk(BattleMap map)
     : base(map)
 {
     ID = "Trunk";
 }
示例#8
0
 public Warrior(BattleMap map)
     : base(map)
 {
 }
示例#9
0
        }                                    // 是否是障碍,占据地块

        public BattleMapObj(BattleMap map)
        {
            Map        = map;
            IDInMap    = map.ItemIDInMap;
            IsObstacle = true; // 默认都占据地块
        }
示例#10
0
文件: Rock.cs 项目: moto2002/Avocat
 public Rock(BattleMap map)
     : base(map)
 {
     ID = "Rock";
 }