This commit is contained in:
aozhiwei 2021-06-18 17:37:01 +08:00
parent e44c3efac4
commit efbbcc8a0d
2 changed files with 13 additions and 1 deletions

View File

@ -164,6 +164,11 @@ void Bullet::ProcBomb()
ProcShieldWallBomb(delay_time);
}
break;
case IS_OIL_BUCKET:
{
ProcOilBucketBomb(delay_time);
}
break;
default:
{
}
@ -221,7 +226,8 @@ bool Bullet::IsBomb()
meta->i->_inventory_slot() == IS_MOLOTOR_COCKTAIL ||
meta->i->_inventory_slot() == IS_C4 ||
meta->i->_inventory_slot() == IS_SINGAL_GUN ||
meta->i->_inventory_slot() == IS_SHIELD_WALL;
meta->i->_inventory_slot() == IS_SHIELD_WALL ||
meta->i->_inventory_slot() == IS_OIL_BUCKET;
}
void Bullet::MapServiceUpdate()
@ -434,3 +440,8 @@ void Bullet::ProcShieldWallBomb(int delay_time)
sender.Get()->buff_vec2_param1 = old_buff_vec2_param1;
}
}
void Bullet::ProcOilBucketBomb(int delay_time)
{
}

View File

@ -52,6 +52,7 @@ protected:
void ProcC4Bomb(int delay_time);
void ProcSignalGunBomb(int delay_time);
void ProcShieldWallBomb(int delay_time);
void ProcOilBucketBomb(int delay_time);
inline void MapServiceUpdate();
void Check(float distance);