Jump to content
  • 0

How to change Lex Aeterna hit count?


Question

Posted

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.

4 answers to this question

Recommended Posts

  • 1
Posted

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

  • 0
Posted

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.

  • 0
Posted

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~

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