Beispiel #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
 }
Beispiel #2
0
        public Boar(BattleMap map)
            : base(map)
        {
            ID = "Boar";

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

        public BattleMapObj(BattleMap map)
        {
            Map        = map;
            IDInMap    = map.ItemIDInMap;
            IsObstacle = true; // 默认都占据地块
        }
Beispiel #10
0
 public Rock(BattleMap map)
     : base(map)
 {
     ID = "Rock";
 }