mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[11350] Revert "[11349] Instead group online players use arena team full list for claculate avg. personal rating."
This reverts commit aae93a675ca4dc4a936a1f90ad4a67f91161f697.
This commit is contained in:
parent
ea1076899b
commit
0912c17cee
4 changed files with 12 additions and 12 deletions
|
|
@ -540,15 +540,6 @@ bool ArenaTeam::HaveMember(ObjectGuid guid) const
|
|||
return false;
|
||||
}
|
||||
|
||||
uint32 ArenaTeam::GetAvgPersonalRating() const
|
||||
{
|
||||
uint32 rating = 0;
|
||||
for(MemberList::const_iterator itr = m_members.begin(); itr != m_members.end(); ++itr)
|
||||
rating += itr->personal_rating;
|
||||
|
||||
return rating / m_Type;
|
||||
}
|
||||
|
||||
uint32 ArenaTeam::GetPoints(uint32 MemberRating)
|
||||
{
|
||||
// returns how many points would be awarded with this team type with this rating
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue