Fixed all status changes overwriting OPT1 status changes (#8172)

- Fixes #8128
This commit is contained in:
Playtester
2024-03-16 14:42:45 +01:00
committed by GitHub
parent f55e29068a
commit f85f990e3e

View File

@@ -12898,7 +12898,7 @@ int status_change_start(struct block_list* src, struct block_list* bl,enum sc_ty
if (battle_config.sc_castcancel&bl->type && scdb->flag[SCF_STOPCASTING])
unit_skillcastcancel(bl,0);
sc->opt1 = scdb->opt1;
if(scdb->opt1 != OPT1_NONE) sc->opt1 = scdb->opt1;
sc->opt2 |= scdb->opt2;
sc->opt3 |= scdb->opt3;
sc->option |= scdb->look;