Skip to content

Commit

Permalink
Rebalance of LK_AURABLADE (Aura Blade)
Browse files Browse the repository at this point in the history
- Changed damage bonus formula
   - Old: SkillLv x 20
   - New: BaseLv x (SkillLv + 3)

From 1st/2nd/Transclass rebalance (2018.10)
  • Loading branch information
gbasso666 authored and guilherme-gm committed Sep 1, 2024
1 parent 220f8e9 commit 847b64e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/map/battle.c
Original file line number Diff line number Diff line change
Expand Up @@ -5870,9 +5870,14 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src, struct bl
){
int lv = sc->data[SC_AURABLADE]->val1;
#ifdef RENEWAL
lv *= ((skill_id == LK_SPIRALPIERCE || skill_id == ML_SPIRALPIERCE)?wd.div_:1); // +100 per hit in lv 5
#endif
// @TODO: Does it really affects SPIRALPIERCE? What exactly this div means?
if (skill_id == LK_SPIRALPIERCE || skill_id == ML_SPIRALPIERCE)
lv *= wd.div_; // +100 per hit in lv 5

ATK_ADD(sd->status.base_level * (lv + 3));
#else
ATK_ADD(20*lv);
#endif
}

if( !skill_id ) {
Expand Down

0 comments on commit 847b64e

Please sign in to comment.