1
This commit is contained in:
parent
3d89e4f645
commit
89a9136b44
@ -20,7 +20,10 @@ void SelectTargetWithSelfPosBuff::Activate()
|
|||||||
[this, &targets] (Creature* c, bool& stop)
|
[this, &targets] (Creature* c, bool& stop)
|
||||||
{
|
{
|
||||||
if (c->dead ||
|
if (c->dead ||
|
||||||
c->IsCar()) {
|
c->IsCar() ||
|
||||||
|
a8::HasBitFlag(c->status, CS_Disable) ||
|
||||||
|
c->HasBuffEffect(kBET_Dive)
|
||||||
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
float distance = owner->GetPos().Distance2D2(c->GetPos());
|
float distance = owner->GetPos().Distance2D2(c->GetPos());
|
||||||
|
@ -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("ride_car_kills", hum->stats->ride_car_kills);
|
||||||
member_pb->SetVal("max_hero_skill_lv", hum->stats->max_hero_skill_lv);
|
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("abandon_battle", hum->stats->abandon_battle);
|
||||||
|
member_pb->SetVal("assist", hum->stats->assist);
|
||||||
{
|
{
|
||||||
std::string weapons_type;
|
std::string weapons_type;
|
||||||
std::string weapons_slot;
|
std::string weapons_slot;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user