This commit is contained in:
aozhiwei 2024-02-26 16:47:18 +08:00
parent 3d89e4f645
commit 89a9136b44
2 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,10 @@ void SelectTargetWithSelfPosBuff::Activate()
[this, &targets] (Creature* c, bool& stop)
{
if (c->dead ||
c->IsCar()) {
c->IsCar() ||
a8::HasBitFlag(c->status, CS_Disable) ||
c->HasBuffEffect(kBET_Dive)
) {
return;
}
float distance = owner->GetPos().Distance2D2(c->GetPos());

View File

@ -399,6 +399,7 @@ void Team::GenBattleReportData(Human* player, a8::MutableXObject* params)
member_pb->SetVal("ride_car_kills", hum->stats->ride_car_kills);
member_pb->SetVal("max_hero_skill_lv", hum->stats->max_hero_skill_lv);
member_pb->SetVal("abandon_battle", hum->stats->abandon_battle);
member_pb->SetVal("assist", hum->stats->assist);
{
std::string weapons_type;
std::string weapons_slot;