Jump to content
  • 0

Cap Damage


Fcuk

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   0
  • Joined:  09/23/12
  • Last Seen:  

how can i cap the damage of falcon assault to 80k

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


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

Open battle.c go to line 888 and add:

if ( battle_getcurrentskill(src) == SN_FALCONASSAULT && damage > 80000 ) damage = 80000;

Not sure if its work tho, if not you can change Falcon Assault damage formula at line 4126.

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

 if (skill_num == SN_FALCONASSAULT)
 {
  //Div fix of Blitzbeat
  skill = skill_get_num(HT_BLITZBEAT, 5);
  damage_div_fix(md.damage, skill);
  //Falcon Assault Modifier
  md.damage=md.damage*(150+70*skill_lv)/100;
 }
 break;

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...