public Tbl_Skill_Potency(ePotency_Enable_Target _checkTarget, ePotency_Enable_Condition _checkCondition, float _checkConditionValue, ePotency_Enable_Target _checkTarget2, ePotency_Enable_Condition _checkCondition2, float _checkConditionValue2, ePotency_Type _type, ePotency_Target _target, ePotency_DurationType _duration, ePotency_Attribute _attribute, ePotency_Element _element, string _buff, int _buffToolIdx) { m_Potency_Enable_Target = _checkTarget; m_Potency_Enable_Condition = _checkCondition; m_Potency_Enable_ConditionValue = _checkConditionValue; m_Potency_Enable_Target2 = _checkTarget2; m_Potency_Enable_Condition2 = _checkCondition2; m_Potency_Enable_ConditionValue2 = _checkConditionValue2; m_Potency_Type = _type; m_Potency_Target = _target; m_Potency_DurationType = _duration; m_Potency_Attribute = _attribute; // m_Potency_Element = _element; m_Potency_BuffIcon = _buff; m_Potency_BuffTooltip = _buffToolIdx; }
public void ConfirmIndunCountItem(ePotency_Type potencyType, AS_CS_CHAR_ATTACK_NPC data, ItemData itemData, int nSkillTableID) { m_IndunCountItemBuff = data; string strItemName = AsTableManager.Instance.GetTbl_String( itemData.nameId); string strTitle = AsTableManager.Instance.GetTbl_String( 126); string strMsg = ""; if( ePotency_Type.NormalHardPlayCount == potencyType) { strMsg = string.Format( AsTableManager.Instance.GetTbl_String( 2774), strItemName); } else if( ePotency_Type.HellPlayCount == potencyType) { Tbl_SkillLevel_Record record = AsTableManager.Instance.GetTbl_SkillLevel_Record( nSkillTableID); if( null != record) { int nIndunID = (int)( record.listSkillLevelPotency[0].Potency_IntValue); Tbl_InDun_Record indunRecord = AsTableManager.Instance.GetInDunRecord( nIndunID); if( null != indunRecord) { string strIndunName = AsTableManager.Instance.GetTbl_String( indunRecord.Name); strMsg = string.Format( AsTableManager.Instance.GetTbl_String( 2775), strItemName, strIndunName); } } } else if( ePotency_Type.HellPlayCountAll == potencyType) { strMsg = string.Format( AsTableManager.Instance.GetTbl_String( 2776), strItemName); } m_IndunCountItemMsgBox = AsNotify.Instance.MessageBox( strTitle, strMsg, this, "OnMsgBox_IndunCountItem_Ok", "OnMsgBox_IndunCountItem_Cancel", AsNotify.MSG_BOX_TYPE.MBT_OKCANCEL, AsNotify.MSG_BOX_ICON.MBI_QUESTION); }