Jump to content
  • 0

Bowling Bash Damage


McNeri

Question


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   2
  • Joined:  01/24/12
  • Last Seen:  

Hello,

Help me how to increase the damage of Bowling Bash??

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

find KN_BOWLINGBASH on skill.c

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   2
  • Joined:  01/24/12
  • Last Seen:  

How to edit this script to increase the damage of bowling bash ?

case KN_BOWLINGBASH:
case MS_BOWLINGBASH:
 if(flag&1){
  if(bl->id==skill_area_temp[1])
   break;
  //two hits for 500%
  skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,SD_ANIMATION);
  skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,SD_ANIMATION);
 } else {
  int i,c;
  c = skill_get_blewcount(skillid,skilllv);
  // keep moving target in the direction that src is looking, square by square
  for(i=0;i<c;i++){
   if (!skill_blown(src,bl,1,(unit_getdir(src)+4)%8,0x1))
 break; //Can't knockback
   skill_area_temp[0] = map_foreachinrange(skill_area_sub, bl, skill_get_splash(skillid, skilllv), BL_CHAR, src, skillid, skilllv, tick, flag|BCT_ENEMY, skill_area_sub_count);
   if( skill_area_temp[0] > 1 ) break; // collision
  }
  clif_blown(bl); //Update target pos.
  if (i!=c) { //Splash
   skill_area_temp[1] = bl->id;
   map_foreachinrange(skill_area_sub, bl, skill_get_splash(skillid, skilllv), splash_target(src), src, skillid, skilllv, tick, flag|BCT_ENEMY|1, skill_castend_damage_id);
  }
  //Weirdo dual-hit property, two attacks for 500%
  skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,0);
  skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,0);
 }
 break;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

Most of damage calculation is done in battle.c not skill.c (Skill.c is to store special value)

battle.c line 1881:

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   2
  • Joined:  01/24/12
  • Last Seen:  

Okay, thanks darristan:)

SOLVED

  • Upvote 1
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...