Jump to content
  • 0

How to edit Ninja Skills: Throwing mastery


Myth

Question


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   5
  • Joined:  05/30/12
  • Last Seen:  

i just want to add some additional Atk bonus

 

 this are the defaults 

Level Description 1 ATK +3 2 ATK +6 3 ATK +9 4 ATK +12 5 ATK +15 6 ATK +18 7 ATK +21 8 ATK +24 9 ATK +27 10 ATK +30

 

 

how can i add to this?

 

Level   ATK Bonus
1   55
2   60
3   65
4   70
5   75
6   80
7   85
8   90
9   95
10  100
 
TIA
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   597
  • Joined:  11/25/11
  • Last Seen:  

The Skill Throwing Mastery, also known as Shuriken Training is identified by NJ_TOBIDOUGU.

 

Changing passive bonuses, usually is on src/map/battle.c.

Find this line:

if (skill_id == NJ_SYURIKEN && (skill = pc_checkskill(sd,NJ_TOBIDOUGU)) > 0) {
	ATK_ADD(wd.damage, wd.damage2, 3 * skill);

Currently, the extra damage given is 3 * Skill Level.
Change that 3 according to what you want.

Which is something like this.

if (skill_id == NJ_SYURIKEN && (skill = pc_checkskill(sd,NJ_TOBIDOUGU)) > 0) {
	ATK_ADD(wd.damage, wd.damage2, 50 + 5 * skill);

Final Damage is 50 + 5 * Skill Level.

Then, recompile.

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