Jump to content

Frenzy/Berserk no longer stacks with 2H quicken

closed

Inquisetor90
2010-10-05 20:08:00
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4466

When you cast frenzy, it'll cancel 2H quicken. This is the new renewal effect making it harder to get 190 aspd.

How to implement (my suggestion):
In battle.c, change
CODE
    { "berserk_cancels_buffs",              &battle_config.berserk_cancels_buffs,           0,      0,      1,              },

which is default at 0, minimum at 0, maximum at 1.

to
CODE
    { "berserk_cancels_buffs",              &battle_config.berserk_cancels_buffs,           2,      0,      2,              },

meaning default at 2 (for RE), minimum at 0, maximum at 2.

Now go to status.c, change

CODE
    case SC_BERSERK:
        if(battle_config.berserk_cancels_buffs == 1)
        {
            status_change_end(bl,SC_ONEHAND,-1);
            status_change_end(bl,SC_TWOHANDQUICKEN,-1);
            status_change_end(bl,SC_CONCENTRATION,-1);
            status_change_end(bl,SC_PARRYING,-1);
            status_change_end(bl,SC_AURABLADE,-1);
            status_change_end(bl,SC_MERC_QUICKEN,-1);
//I think it should be included here since all knight buffs are included. [The Quality Maker]
            status_change_end(bl,SC_ENCHANTBLADE,-1);
        }
        break;


to

CODE
    case SC_BERSERK:
        if(battle_config.berserk_cancels_buffs == 1)
        {
            status_change_end(bl,SC_ONEHAND,-1);
            status_change_end(bl,SC_TWOHANDQUICKEN,-1);
            status_change_end(bl,SC_CONCENTRATION,-1);
            status_change_end(bl,SC_PARRYING,-1);
            status_change_end(bl,SC_AURABLADE,-1);
            status_change_end(bl,SC_MERC_QUICKEN,-1);
//I think it should be included here since all knight buffs are included. [The Quality Maker]
            status_change_end(bl,SC_ENCHANTBLADE,-1);
        }
        else if(battle_config.berserk_cancels_buffs == 2)
        { // RE: Not sure whether SC_MERC_QUICKEN is also cancelled. [Inquisetor90]
            status_change_end(bl,SC_ONEHAND,-1);
            status_change_end(bl,SC_TWOHANDQUICKEN,-1);
        }
        break;

Ind
2011-12-17 04:40:57
would like confirmation / source. thanks

Angezerus
2012-04-19 07:59:18
Confirmed, also related to http://rathena.org/board/tracker/issue-5492-frenzy-lord-knight/

The way I see it was fixed in r15848
×
×
  • Create New...