Remove Maximum Power-Thrust buff on weapon unequip. Fixes #6277 (#6282)

This commit is contained in:
Jittapan Pluemsumran 2021-11-21 21:39:12 +07:00 committed by GitHub
parent 5f92aae35f
commit eef8ef434a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11143,6 +11143,9 @@ bool pc_unequipitem(struct map_session_data *sd, int n, int flag) {
skill_enchant_elemental_end(&sd->bl, SC_NONE);
status_change_end(&sd->bl, SC_FEARBREEZE, INVALID_TIMER);
status_change_end(&sd->bl, SC_EXEEDBREAK, INVALID_TIMER);
#ifdef RENEWAL
status_change_end(&sd->bl, SC_MAXOVERTHRUST, INVALID_TIMER);
#endif
}
// On armor change