Skip to content

Commit

Permalink
Frenzy, Super Novice Level Up Buff, Assassin Soul Link (#8198)
Browse files Browse the repository at this point in the history
- Fixed Frenzy HP drain interval being 15 instead 10 seconds in renewal (follow-up to 1a004f0)
- The buffs granted when a Super Novice levels up now all last 120 seconds (fixes #8189)
- Assassin Soul Link now doubles stun chance outside GVG/BG (fixes #8195)
  • Loading branch information
Playtester committed Mar 28, 2024
1 parent 861832e commit 7d9a23d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions db/re/skill_db.yml
Expand Up @@ -9940,7 +9940,7 @@ Body:
Hit: Single
HitCount: 1
Duration1: 300000
Duration2: 15000
Duration2: 10000
Requires:
SpCost: 200
Status: Berserk
Expand Down Expand Up @@ -45857,7 +45857,7 @@ Body:
Hit: Single
HitCount: 1
Duration1: 300000
Duration2: 15000
Duration2: 10000
Requires:
SpCost: 200
Status: Berserk
Expand Down
2 changes: 1 addition & 1 deletion src/map/pc.cpp
Expand Up @@ -8107,7 +8107,7 @@ int pc_checkbaselevelup(map_session_data *sd) {
if ((sd->class_&MAPID_UPPERMASK) == MAPID_SUPER_NOVICE) {
for (const auto &status : status_db) {
if (status.second->flag[SCF_SUPERNOVICEANGEL])
sc_start(&sd->bl, &sd->bl, status.second->type, 100, 1, skill_get_time(status.second->skill_id, 1));
sc_start(&sd->bl, &sd->bl, status.second->type, 100, 1, 120000); //All buffs with super novice flag for 2 minutes
}
if (sd->state.snovice_dead_flag)
sd->state.snovice_dead_flag = 0; //Reenable steelbody resurrection on dead.
Expand Down
5 changes: 4 additions & 1 deletion src/map/skill.cpp
Expand Up @@ -1435,7 +1435,10 @@ int skill_additional_effect( struct block_list* src, struct block_list *bl, uint

case AS_SONICBLOW:
case HN_MEGA_SONIC_BLOW:
sc_start(src,bl,SC_STUN,(2*skill_lv+10),skill_lv,skill_get_time2(skill_id,skill_lv));
if (!map_flag_gvg2(bl->m) && !map_getmapflag(bl->m, MF_BATTLEGROUND) && sc->getSCE(SC_SPIRIT)->val2 == SL_ASSASIN)
sc_start(src, bl, SC_STUN, (4 * skill_lv + 20), skill_lv, skill_get_time2(skill_id, skill_lv)); //Link gives double stun chance outside GVG/BG
else
sc_start(src, bl, SC_STUN, (2 * skill_lv + 10), skill_lv, skill_get_time2(skill_id, skill_lv));
break;

case AS_GRIMTOOTH:
Expand Down

0 comments on commit 7d9a23d

Please sign in to comment.