Jump to content
  • 0

Maximum Resist to elements reduce


Question

Posted

May I ask for a fix on this??

 

Currently players having 100% resist to elements and I dont want anything like that to happen.

// Maximum resistance to status changes. (100 = 100%)
// NOTE: Cards and equipment can go over this limit, so it only applies to natural resist.
pc_max_status_def: 70
mob_max_status_def: 70

changed this on status.conf but still they can get 100% resist to element. Any ways to get my maximum resistance to elements / properties at 70% only?

TIA

2 answers to this question

Recommended Posts

  • 1
Posted

Nvm. Fixed it

 

PC.c

from

	case SP_SUBELE: // bonus2 bSubEle,e,x;
		PC_BONUS_CHK_ELEMENT(type2,SP_SUBELE);
		if(sd->state.lr_flag != 2)
		sd->subele_script[type2] += val;

 

to 

	case SP_SUBELE: // bonus2 bSubEle,e,x;
		PC_BONUS_CHK_ELEMENT(type2,SP_SUBELE);
		if(sd->state.lr_flag != 2)
			sd->subele_script[type2] = min(sd->subele[type2]+val, 70);

 

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...