This commit is contained in:
aozhiwei 2023-05-24 16:00:33 +08:00
parent 08b9045245
commit c20d05d187

View File

@ -58,6 +58,14 @@ void Compose::IncNum()
if (num_ % 3 == 0 && num_ <= 9) {
TakeOnWeapon(owner_->GetCurrWeapon());
}
if (num_ >= 0) {
owner_->room->NotifyNewsTicker
(1,
{
owner_->GetName(),
a8::XValue(owner_->GetCurrWeapon()->meta->id()).GetString()
});
}
}
void Compose::TakeOnWeapon(Weapon* weapon)