HERO_AWAKEN_ACC
This commit is contained in:
parent
244631fee8
commit
8984328708
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
|
@ -63,6 +63,10 @@ public class MissionCard : CardBase
|
|||
var classData = table_classopencondition.Ins.Get_MissionData(m_Data.n_MissionConditionValue);
|
||||
texts[0].text = DSUtil.Format(m_Data.n_MissionDesc, classData.Get_Name());
|
||||
break;
|
||||
case ePurpose.HERO_AWAKEN_ACC:
|
||||
texts[0].text = DSUtil.Format(m_Data.n_MissionDesc, m_Data.l_MissionConditionCount,
|
||||
(eMainStatType)(m_Data.n_MissionConditionValue - 1));
|
||||
break;
|
||||
case ePurpose.SKILL_UPGRADE_LIMIT:
|
||||
var skill = table_skilllist.Ins.Get_Data_orNull(m_Data.n_MissionConditionValue);
|
||||
texts[0].text = DSUtil.Format(m_Data.n_MissionDesc, skill.Get_Name());
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ public class PCAwakenCard : CardBase
|
|||
sdata.Use_Item(moneyid, m_AwakenUpgradeTableData.n_AwakenGoodsCost);
|
||||
sdata.Add_AwakenLv(m_Stat);
|
||||
Set_UI();
|
||||
sdata.Add_MissionCount(ePurpose.HERO_AWAKEN_ACC, Get_AwakenMissionID());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -110,4 +111,14 @@ public class PCAwakenCard : CardBase
|
|||
case eStat.LUK: return table_GlobalValue.Ins.Get_Int("AWAKEN_GOODS_LUK");
|
||||
}
|
||||
}
|
||||
int Get_AwakenMissionID()
|
||||
{
|
||||
switch (m_Stat)
|
||||
{
|
||||
default: return 1;
|
||||
case eStat.DEX: return 2;
|
||||
case eStat.INT: return 3;
|
||||
case eStat.LUK: return 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue