Jump to content
  • 0

Gate Of Hell Damage


Cold

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   11
  • Joined:  08/19/12
  • Last Seen:  

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?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  15
  • Reputation:   3
  • Joined:  09/11/13
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   11
  • Joined:  08/19/12
  • Last Seen:  

Thanks!!!

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