コード例 #1
0
ファイル: Npc.cs プロジェクト: ScruffyKnight/PMU-Server
 public Npc()
 {
     Name = "";
     AttackSay = "";
     Drops = new NpcDrop[Constants.MAX_NPC_DROPS];
     for (int i = 0; i < Constants.MAX_NPC_DROPS; i++)
     {
         Drops[i] = new NpcDrop();
     }
     Moves = new int[4];
 }
コード例 #2
0
ファイル: Npc.cs プロジェクト: blastboy/Server
 public Npc()
 {
     Name      = "";
     AttackSay = "";
     Drops     = new NpcDrop[Constants.MAX_NPC_DROPS];
     for (int i = 0; i < Constants.MAX_NPC_DROPS; i++)
     {
         Drops[i] = new NpcDrop();
     }
     Moves = new int[4];
 }
コード例 #3
0
ファイル: Npc.cs プロジェクト: SupaFresh/Server
        public Npc()
        {
            Name       = "";
            AttackSay  = "";
            AttackSay2 = "";
            AttackSay3 = "";
            Drops      = new NpcDrop[Constants.MAX_NPC_DROPS];
            for (int i = 0; i < Constants.MAX_NPC_DROPS; i++)
            {
                Drops[i] = new NpcDrop();
            }
            Moves = new int[4];

            SpawnWeather = Enums.Weather.Ambiguous;
        }