public void SetLeaderSkill(string skillId) { if ("0" != skillId) { this.leaderSkill = MonsterSkillData.GetSkillMasterBySkillId(skillId); } }
public void SetExtraCommonSkill(string skillId) { if (!string.IsNullOrEmpty(skillId)) { this.extraCommonSkill = MonsterSkillData.GetSkillMasterBySkillId(skillId); } }
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); } } } }
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); }
public void SetCommonSkill(string skillId) { this.commonSkill = MonsterSkillData.GetSkillMasterBySkillId(skillId); }
public static MonsterSkillClientMaster GetSkillMasterBySkillId(int skillId) { return(MonsterSkillData.GetSkillMasterBySkillId(string.Format("{0}", skillId))); }