Jump to content
  • 0

Maximum Resist to elements reduce


xyxzero

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  90
  • Reputation:   6
  • Joined:  12/11/12
  • Last Seen:  

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

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  90
  • Reputation:   6
  • Joined:  12/11/12
  • Last Seen:  

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
Link to comment
Share on other sites

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.

×
×
  • Create New...