Jump to content
  • 0

Ask for advice on how to adjust the skill range BOWLINGBASH 3 * 6.


kidsada

Question


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

Ask for advice on how to adjust the skill range BOWLINGBASH 3 * 6.

Is it correct? please recommend if you have other ways to change it. I'm newbie. Thank you !!

// Splash around target cell, but only cells inside area; we first have to check the area is not negative
				// KN_BOWLINGBASH 3*6 ช่อง
				if((max(min_x,tx-3) <= min(max_x,tx+3)) &&
					(max(min_y,ty-0) <= min(max_y,ty+6)) &&
					(map_foreachinallarea(skill_area_sub, bl->m, max(min_x,tx-1), max(min_y,ty-1), min(max_x,tx+1), min(max_y,ty+1), splash_target(src), src, skill_id, skill_lv, tick, flag|BCT_ENEMY, skill_area_sub_count))) {
					// Recursive call
					map_foreachinallarea(skill_area_sub, bl->m, max(min_x,tx-1), max(min_y,ty-1), min(max_x,tx+1), min(max_y,ty+1), splash_target(src), src, skill_id, skill_lv, tick, (flag|BCT_ENEMY)+1, skill_castend_damage_id);
					// Self-collision

Find a person to do src as needed cm ib ++!!

Edited by kidsada
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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