添加变身后不能潜水和上机甲处理

This commit is contained in:
aozhiwei 2021-11-12 13:45:50 +08:00
parent fdb1efcfad
commit 0010fbfd58

View File

@ -1012,6 +1012,9 @@ void Human::DoGetOn(int obj_uniid)
if (downed) {
return;
}
if (HasBuffEffect(kBET_Become)) {
return;
}
switch (entity->GetEntityType()) {
case ET_Loot:
{
@ -3854,6 +3857,9 @@ void Human::DoDive()
HasBuffEffect(kBET_Passenger)) {
return;
}
if (HasBuffEffect(kBET_Become)) {
return;
}
if (HasBuffEffect(kBET_Camouflage) ) {
RemoveBuffByEffectId(kBET_Camouflage);
}