Explorar el Código

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

- Fixes #8128
Playtester hace 1 año
padre
commit
f85f990e3e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;