Beispiel #1
0
            public MonsterData(ExcelSheet sheet)
            {
                RoundId = sheet.GetCellValue("round_id").Value;
                MonsterId = sheet.GetCellValue("monster_id").Value;
                AppearType = sheet.GetCellValue("appear_type").Value;
                Prob = sheet.GetCellValue("prob").Value;
                KillReward_PlayerExp = sheet.GetCellValue("kill_reward_playerexp").Value;
                KillReward_CharacterExp = sheet.GetCellValue("kill_reward_characterexp").Value;
                KillReward_ResourceId = sheet.GetCellValue("kill_reward_resourceid").Value;
                KillReward_Amount = sheet.GetCellValue("kill_reward_amount").Value;

                Base = MonsterBook.Find(MonsterId);
            }
Beispiel #2
0
            public MonsterData(Int32 monsterNo, MonsterData data)
            {
                MonsterNo = monsterNo;
                RoundId = data.RoundId;
                MonsterId = data.MonsterId;
                AppearType = data.AppearType;
                Prob = data.Prob;
                KillReward_PlayerExp = data.KillReward_PlayerExp;
                KillReward_CharacterExp = data.KillReward_CharacterExp;
                KillReward_ResourceId = data.KillReward_ResourceId;
                KillReward_Amount = data.KillReward_Amount;

                Base = MonsterBook.Find(MonsterId);
            }