Пример #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
        public Boar(BattleMap map)
            : base(map)
        {
            ID = "Boar";

            AI = new WarriorAI(this).Build("NormalNpcMonster"); // AI
            Battle.AddBuff(new CounterAttack(this));            // 反击 buff
        }
Пример #3
0
 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
 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
 public Rock(BattleMap map)
     : base(map)
 {
     ID = "Rock";
 }