Jump to content

Monster unable to hit players if 100% neutral resist


Karthikeyan

Recommended Posts


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.02
  • Content Count:  55
  • Reputation:   0
  • Joined:  09/26/20
  • Last Seen:  

If a players has 100% or more neutral resist, monsters are not hitting them. Is there any way to overcome this. I want players to get this even if they have 100% neutral resist.

All monsters are only neutral while hitting, they dont hit at all if 100% neutral resist .

 

Any help will be appreciated!!!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

if (sd->indexed_bonus.subdefele[type2] > 99)
			sd->indexed_bonus.subdefele[type2] = 99;

Limit it on src '\src\map\pc.cpp' line 4353

Edited by Start_
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.02
  • Content Count:  55
  • Reputation:   0
  • Joined:  09/26/20
  • Last Seen:  

13 hours ago, Start_ said:

if (sd->indexed_bonus.subdefele[type2] > 99)
			sd->indexed_bonus.subdefele[type2] = 99;

Limit it on src '\src\map\pc.cpp' line 4353

I tried this but even then it fails,Monster is not all hitting i tried with 2 devilring card and monster fails to hit me as my resist is 100. This is not reducing to 99 or less.

Edited by Karthikeyan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

It should limit all bonus not just subdefele try look at src on my repo. (Use Notepad++ Find all by [Start])

https://github.com/kaninhot004/rathena/tree/monster_room

In my server player had random option about 1000% and they still died

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.02
  • Content Count:  55
  • Reputation:   0
  • Joined:  09/26/20
  • Last Seen:  

On 6/1/2021 at 10:10 AM, Start_ said:

It should limit all bonus not just subdefele try look at src on my repo. (Use Notepad++ Find all by [Start])

https://github.com/kaninhot004/rathena/tree/monster_room

In my server player had random option about 1000% and they still died

Thanks, I ll try this link and let you know what all i did ?

 

@Start_Thanks for the detailed one. It worked thanks , but the problem is if all resistance is coming from one source it works like(4 devling card in manteau) but if the source is split like lian sets the resists goes beyond 100 and not caping to 99%. This mostly happen only for neutral resist to monster.

What has to be done ?

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
Reply to this topic...

×   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...