Sniper Blitz Beat increase damage

Pandaaa

New member
Messages
170
Points
0
Location
Wonderland
Github
donthedonn
Emulator
Hello,

I would like to increase the auto blitz and skill blitz beat like 30% without touching damage of falcon assault.

here's the script i tried tto modify and i failed..

(Blitz Beat increased also falcon assault increase damage but the auto doesn't)

battle.c

Code:
	case HT_BLITZBEAT:
	case SN_FALCONASSAULT:
		//Blitz-beat Damage.
		if(!sd || (temp = pc->checkskill(sd,HT_STEELCROW)) <= 0)
			temp=0;
		md.damage=(sstatus->dex/10+sstatus->int_/2+temp*3+40)*2;
		if(mflag > 1) //Autocasted Blitz.
			nk|=NK_SPLASHSPLIT;

		if (skill_id == SN_FALCONASSAULT) {
			//Div fix of Blitzbeat
			temp = skill->get_num(HT_BLITZBEAT, 5);
			damage_div_fix(md.damage, temp);

			//Falcon Assault Modifier
			md.damage=md.damage*(150+70*skill_lv)/100;
		}
 
You can do this in map_zone_db using adjust_skill_damage mapflag, you don't need to touch src for this

 
Last edited by a moderator:
you could just replicate what was written for falcon assault, except for blitz beat(put it right above the falcon assault if statement:

if (skill_id == HT_BLITZBEAT) {
            //Blitz Beat Modifier
            md.damage=md.damage*130/100;

}

 
Last edited by a moderator:
Back
Top