Jump to content
  • 0

MO_EXTREMITYFIST


WellStriker

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  02/02/20
  • Last Seen:  

I'm facing an issue that I can't resolve at all. My emulator is updated with the latest version of rAthena, and the skill MO_EXTREMITYFIST is dealing damage to Ghost element when it should be missing. I've already modified the files attr_fix and battle.cpp, but I couldn't fix the problem. Can someone help me?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  10/22/24
  • Last Seen:  

On 10/17/2024 at 8:21 AM, WellStriker said:

I'm facing an issue that Undertale Yellow I can't resolve at all. My emulator is updated with the latest version of rAthena, and the skill MO_EXTREMITYFIST is dealing damage to Ghost element when it should be missing. I've already modified the files attr_fix and battle.cpp, but I couldn't fix the problem. Can someone help me?

Thank you for asking us a question, I hope you get a reasonable answer.

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  897
  • Reputation:   248
  • Joined:  01/30/13
  • Last Seen:  

There is a bug in renewal at the moment. The constant_addition bonus is not affected by attr_fix is what's causing it, but I never found something to test Freezing Trap and Shield Chain (Rapid Smiting) to confirm it's also true for those two skills.

Assuming that all these skills should miss Ghost 4 in renewal the fix would be to wrap the attr_fix call around constant_addition.

		// Additive damage bonus
		ATK_ADD(wd.damage, wd.damage2, battle_attr_fix(src, target, battle_calc_skill_constant_addition(&wd, src, target, skill_id, skill_lv), right_element, tstatus->def_ele, tstatus->ele_lv));

 

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  897
  • Reputation:   248
  • Joined:  01/30/13
  • Last Seen:  

Ignore above post, after in-depth testing the correct solution is here: https://github.com/rathena/rathena/pull/8763/files

Will be applied to rAthena soon.

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