Jump to content
  • 0

Gate Of Hell Damage


Question

Posted

The skill Gate of Hell, when attacking with a lower hp it gives more damage, but i've tested that in my server and it is hiting the same as full HP.

 

I think that is an error in the skill formula, someone knows how to fix?

2 answers to this question

Recommended Posts

Posted

The formula in the code is fine according to iRO Wiki (even though both variants should take the max SP)

 

case SR_GATEOFHELL:
			atk = (sstatus->max_hp - status_get_hp(src));
			if(sc && sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == SR_FALLENEMPIRE) {
				atk +=  ( ((int64)sstatus->max_sp * (1 + skill_lv * 2 / 10)) + 40 * status_get_lv(src) );
			} else {
				atk +=  ( ((int64)sstatus->sp * (1 + skill_lv * 2 / 10)) + 10 * status_get_lv(src) );
			}
			break;

It doesn't look like a coding error in damage calculation.

  • Upvote 1

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