Jump to content
  • 0
Sign in to follow this  
KohakuSan

Editting Throw Tomahawk skill

Question

So, I tried to find ITM_TOMAHAWK or anything related to tomahawk in the battle.c file and nothing. Tried skill.c and skill.h but nothing related to skill damage.

Is it somewhere else? I want to change the skill damage.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

In what way? And i guess it just goes under 100% damage without any extra effects to it. But if you want, I think taking this part of the code:

int battle_calc_skillratio(int attack_type, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int skillratio, int flag){...}

and adding this inside:

	case BF_WEAPON:			switch( skill_id )			{				case ITM_TOMAHAWK:					skillratio (+-=) x; (Add a needed skillratio here, for example half the attack would make it skillratio -= 50)					break;				case SM_BASH:				case MS_BASH:					skillratio += 30 * skill_lv;					break;

Untested, but might work.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.