Pārlūkot izejas kodu

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

- Fixes #8128
Playtester 1 gadu atpakaļ
vecāks
revīzija
f85f990e3e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/map/status.cpp

+ 1 - 1
src/map/status.cpp

@@ -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;