This commit is contained in:
Atemo 2023-04-23 00:37:35 +02:00
parent 56d63d7eda
commit 416a33720c

View File

@ -4056,7 +4056,7 @@ int mob_clone_spawn(map_session_data *sd, int16 m, int16 x, int16 y, const char
else if (flag&1) //Friendly Character, remove looting.
status->mode = static_cast<enum e_mode>(status->mode&(~MD_LOOTER));
else if (flag&2) // Clone follows the creator, add MD_NORANDOMWALK
status->mode = static_cast<enum e_mode>(status->mode&MD_NORANDOMWALK);
status->mode = static_cast<enum e_mode>(status->mode|MD_NORANDOMWALK);
status->hp = status->max_hp;
status->sp = status->max_sp;
memcpy(&db->vd, &sd->vd, sizeof(struct view_data));