Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float fAddedAP = DEFAULT_CHAR_AP; ///< AP ÀçÁ¶Á¤
- for (int i = 0; i < MMCIP_END; i++) {
- if (!m_Items.GetItem(MMatchCharItemParts(i))->IsEmpty()) {
- if (m_Items.GetItem(MMatchCharItemParts(i))->GetDesc()->m_bIsCashItem) {
- CashItem = true;
- }
- fAddedAP += m_Items.GetItem(MMatchCharItemParts(i))->GetDesc()->m_nAP.Ref();
- }
- }
- float fAddedHP = DEFAULT_CHAR_HP; ///< HP ÀçÁ¶Á¤
- for (int i = 0; i < MMCIP_END; i++) {
- if (!m_Items.GetItem(MMatchCharItemParts(i))->IsEmpty()) {
- if (m_Items.GetItem(MMatchCharItemParts(i))->GetDesc()->m_bIsCashItem) {
- CashItem = true;
- }
- fAddedHP += m_Items.GetItem(MMatchCharItemParts(i))->GetDesc()->m_nHP.Ref();
- }
- }
- if (CashItem == true)
- {
- m_Property.fMaxHP.Set_CheckCrc(180);
- m_Property.fMaxAP.Set_CheckCrc(200);
- m_fPreMaxHP = 180;
- m_fPreMaxAP = 200;
- }
- else
- {
- m_Property.fMaxHP.Set_CheckCrc(100);
- m_Property.fMaxAP.Set_CheckCrc(120);
- m_fPreMaxHP = 100;
- m_fPreMaxAP = 120;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement