Skip to content

Commit

Permalink
Rebalance of HT_BLITZBEAT (Blitz Beat)
Browse files Browse the repository at this point in the history
- Damage formula changed
- Auto Blitz Beat no longer splits the damage among multiple targets

From massive skills rebalance (1st/2nd/transclass) (2018.10.31)
  • Loading branch information
guilherme-gm committed Feb 10, 2024
1 parent b322789 commit 13fb77a
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/map/battle.c
Original file line number Diff line number Diff line change
Expand Up @@ -4273,12 +4273,16 @@ static struct Damage battle_calc_misc_attack(struct block_list *src, struct bloc
#endif
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;
// Blitz-beat Damage.
if (sd == NULL || (temp = pc->checkskill(sd,HT_STEELCROW)) <= 0)
temp = 0;
#ifndef RENEWAL
md.damage = (sstatus->dex / 10 + sstatus->int_ / 2 + temp * 3 + 40) * 2;
if (mflag > 1) //Autocasted Blitz.
nk |= NK_SPLASHSPLIT;
#else
md.damage= skill_lv * 20 + temp * 6 + (sstatus->dex / 10 + sstatus->agi / 2) * 2;
#endif

if (skill_id == SN_FALCONASSAULT) {
//Div fix of Blitzbeat
Expand Down

0 comments on commit 13fb77a

Please sign in to comment.