Jump to content
  • 0

How to change twice damage Bowling Bash skill to single hit


Question

2 answers to this question

Recommended Posts

  • 0
Posted

Try removing the self-collision part in skill.cpp:

					// Self-collision
					if(bl->x >= min_x && bl->x <= max_x && bl->y >= min_y && bl->y <= max_y)
						skill_attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,(flag&0xFFF)>0?SD_ANIMATION:0);

Damage you can set in battle.cpp:

		case KN_BOWLINGBASH:
		case MS_BOWLINGBASH:
			skillratio += 40 * skill_lv;
			break;

Change it to:

		case KN_BOWLINGBASH:
		case MS_BOWLINGBASH:
			skillratio += 100 + 80 * skill_lv;
			break;

For double damage.

  • Upvote 1
  • 0
Posted
3 hours ago, Playtester said:

Try removing the self-collision part in skill.cpp:


					// Self-collision
					if(bl->x >= min_x && bl->x <= max_x && bl->y >= min_y && bl->y <= max_y)
						skill_attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,(flag&0xFFF)>0?SD_ANIMATION:0);

Damage you can set in battle.cpp:


		case KN_BOWLINGBASH:
		case MS_BOWLINGBASH:
			skillratio += 40 * skill_lv;
			break;

Change it to:


		case KN_BOWLINGBASH:
		case MS_BOWLINGBASH:
			skillratio += 100 + 80 * skill_lv;
			break;

For double damage.

Well Thanks.It work.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...