This commit is contained in:
aozhiwei 2023-03-22 18:11:27 +08:00
parent 9709d3c753
commit 37d1916626
2 changed files with 3 additions and 1 deletions

View File

@ -164,8 +164,8 @@ void SprintBuff::Check(Position& pre_pos, Position& src_pos, std::map<int, long
pre_pos = owner->GetPos(); pre_pos = owner->GetPos();
if (meta->_buff_param6 && !hited_objects.empty()) { if (meta->_buff_param6 && !hited_objects.empty()) {
owner->RemoveBuffByUniId(buff_uniid);
owner->TryAddBuff(owner, meta->_int_buff_param1, skill_meta); owner->TryAddBuff(owner, meta->_int_buff_param1, skill_meta);
owner->RemoveBuffByUniId(buff_uniid);
} }
} }

View File

@ -3301,7 +3301,9 @@ void Human::CalcStats()
} }
stats->alive_time = alive_time; stats->alive_time = alive_time;
} }
#if 0
GetTeam()->team_rank = 1; GetTeam()->team_rank = 1;
#endif
if (GetTeam()->team_rank) { if (GetTeam()->team_rank) {
GetTeam()->TraverseMembers GetTeam()->TraverseMembers
( (