Jump to content
  • 0

How to change Lex Aeterna hit count?


kyenard

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.01
  • Content Count:  18
  • Reputation:   1
  • Joined:  08/19/19
  • Last Seen:  

Just checking if there's a way to double damage further than "one hit".

I've read the code around the skill  but can't say for sure there's a way to do it.

If you have any idea please let me know. I'll have this post on my watch list.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

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

\rathena\src\map\battle.cpp 

Line 1477

You will see SC_END, try add some variable like endure hit count then it should be fine.

Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

Already answered your question in discord.
image.png.ca54203ed042bcdfa7a1fe3067d455bd.png

  • MVP 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.07
  • Content Count:  58
  • Reputation:   3
  • Joined:  06/21/23
  • Last Seen:  

I haven't figured out how to change lex aeterna hit count
But it has to be right here?
battle.cpp
 

		if (tsc->getSCE(SC_AETERNA) && skill_id != PF_SOULBURN) {
			if (src->type != BL_MER || !skill_id)
				damage *= 2; // Lex Aeterna only doubles damage of regular attacks from mercenaries

#ifndef RENEWAL
			if( skill_id != ASC_BREAKER || !(flag&BF_WEAPON) )
#endif
				status_change_end(bl, SC_AETERNA); //Shouldn't end until Breaker's non-weapon part connects.
		}

I don't know how to change it, so I'd appreciate it if someone else could lend a hand in finding a solution.

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  862
  • Reputation:   115
  • Joined:  05/23/12
  • Last Seen:  

Go to db/re/skill.yml or db/pre-re/skill.yml under ID 78 u find "Hit: Single" change to "Hit: Multi_Hit" and add following line above "HitCount: 3". Replace 3 with how many hits u want. That's should it be.

 

Rynbef~

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