コード例 #1
0
 public void SetLeaderSkill(string skillId)
 {
     if ("0" != skillId)
     {
         this.leaderSkill = MonsterSkillData.GetSkillMasterBySkillId(skillId);
     }
 }
コード例 #2
0
 public void SetExtraCommonSkill(string skillId)
 {
     if (!string.IsNullOrEmpty(skillId))
     {
         this.extraCommonSkill = MonsterSkillData.GetSkillMasterBySkillId(skillId);
     }
 }
コード例 #3
0
 private static void CreateSkillGroupList(ref Dictionary <string, Dictionary <string, MonsterSkillClientMaster> > destSkillGroupList)
 {
     GameWebAPI.RespDataMA_GetSkillM.SkillM[] skillM = MasterDataMng.Instance().RespDataMA_SkillM.skillM;
     for (int i = 0; i < skillM.Length; i++)
     {
         if (skillM[i] != null)
         {
             MonsterSkillClientMaster skillMasterBySkillId = MonsterSkillData.GetSkillMasterBySkillId(skillM[i].skillId);
             if (skillMasterBySkillId != null)
             {
                 MonsterUniqueSkillData.AddSkillGroupData(skillMasterBySkillId, ref destSkillGroupList);
             }
         }
     }
 }
コード例 #4
0
 private void SetMonsterData()
 {
     this.monsterMaster = MonsterMaster.GetMonsterMasterByMonsterId(this.userMonster.monsterId);
     this.uniqueSkill   = MonsterSkillData.GetSkillMasterBySkillGroupId(this.monsterMaster.Simple.skillGroupId, this.userMonster.defaultSkillGroupSubId);
     this.commonSkill   = MonsterSkillData.GetSkillMasterBySkillId(this.userMonster.commonSkillId);
     if (!string.IsNullOrEmpty(this.userMonster.extraCommonSkillId))
     {
         this.extraCommonSkill = MonsterSkillData.GetSkillMasterBySkillId(this.userMonster.extraCommonSkillId);
     }
     if ("0" != this.userMonster.leaderSkillId)
     {
         this.leaderSkill = MonsterSkillData.GetSkillMasterBySkillId(this.userMonster.leaderSkillId);
     }
     this.chipEquip.SetChipEquip(this.userMonster.userMonsterId);
 }
コード例 #5
0
 public void SetCommonSkill(string skillId)
 {
     this.commonSkill = MonsterSkillData.GetSkillMasterBySkillId(skillId);
 }
コード例 #6
0
 public static MonsterSkillClientMaster GetSkillMasterBySkillId(int skillId)
 {
     return(MonsterSkillData.GetSkillMasterBySkillId(string.Format("{0}", skillId)));
 }