Jump to content
  • 0

Way to reduce 3rd Job Skill damage like Dragon Breath and Cross Impact


Trevned

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  04/29/12
  • Last Seen:  

Can anyone send me a link of Full Guide or Info to change the damage percent of 3rd Job Skills like Dragon Breath and Cross Impact?

Thanks! in advance /no1

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

search for this in:

../src/map/battle.c

Change their values:

here is an example

case RK_DRAGONBREATH:
	md.damage = ((status_get_hp(src) / 200) + (status_get_max_sp(src) / 40)) * skill_lv;
	if (status_get_lv(src) > 100) md.damage = md.damage * status_get_lv(src) / 150;
	if (sd) md.damage = md.damage * (100 + 5 * (pc_checkskill(sd,RK_DRAGONTRAINING) - 1)) / 100;
	break;

	   	 case GC_CROSSIMPACT:
				skillratio += 550 + 50 * skill_lv;
				break;

Try this and recompile.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  04/29/12
  • Last Seen:  

Any info on what to change there?

Thanks! appreciate your reply :)

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