McNeri Posted October 30, 2012 Posted October 30, 2012 Hello, Help me how to increase the damage of Bowling Bash?? Quote
McNeri Posted October 30, 2012 Author 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
Bin4ry Posted October 30, 2012 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
McNeri Posted October 30, 2012 Author Posted October 30, 2012 Okay, thanks darristan:) SOLVED 1 Quote
Question
McNeri
Hello,
Help me how to increase the damage of Bowling Bash??
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.