This commit is contained in:
aozhiwei 2024-04-17 17:34:49 +08:00
parent bf3c91ee98
commit 0387b17e66

View File

@ -1765,6 +1765,11 @@ void Creature::CheckSpecObject(int new_poly_flags)
}
}
if ((1 << i) == SAMPLE_POLYFLAGS_MAGMA) {
if (a8::HasBitFlag(poly_ext_flags_, i)) {
ClearBuffById(kInMagmaBuffId);
} else {
TryAddBuffAndSetTime(this, kInMagmaBuffId, 9999999);
}
}
}
}