McNeri Posted October 30, 2012 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 98 Reputation: 2 Joined: 01/24/12 Last Seen: May 17, 2015 Share Posted October 30, 2012 Hello, Help me how to increase the damage of Bowling Bash?? Quote Link to comment Share on other sites More sharing options...
Yonko Posted October 30, 2012 Group: Members Topic Count: 166 Topics Per Day: 0.03 Content Count: 789 Reputation: 50 Joined: 04/16/12 Last Seen: July 8, 2022 Share Posted October 30, 2012 find KN_BOWLINGBASH on skill.c Quote Link to comment Share on other sites More sharing options...
McNeri Posted October 30, 2012 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 98 Reputation: 2 Joined: 01/24/12 Last Seen: May 17, 2015 Author Share Posted October 30, 2012 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; Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 30, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 30, 2012 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; Quote Link to comment Share on other sites More sharing options...
McNeri Posted October 30, 2012 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 98 Reputation: 2 Joined: 01/24/12 Last Seen: May 17, 2015 Author Share Posted October 30, 2012 Okay, thanks darristan:) SOLVED 1 Quote Link to comment Share on other sites More sharing options...
Question
McNeri
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.