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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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