添加变身后不能潜水和上机甲处理
This commit is contained in:
parent
fdb1efcfad
commit
0010fbfd58
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user