Jump to content
  • 0
Sign in to follow this  
Pandaaa

Sniper Blitz Beat increase damage

Question

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

	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;
		}

 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

You can do this in map_zone_db using adjust_skill_damage mapflag, you don't need to touch src for this

Share this post


Link to post
Share on other sites
  • 0

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;

}

Edited by Blinzer

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.