[AZTH-MS] update code style and fix typo

This commit is contained in:
Winfidonarleyan
2019-09-05 00:41:35 +07:00
parent 45aca22e79
commit b90d4ece64
2 changed files with 3 additions and 3 deletions

View File

@@ -1280,10 +1280,10 @@ public:
return true;
}
else if (repRank <= REP_HOSTILE && ft1 && ft2 && ft1->IsFriendlyTo(*ft2)) {
else if (repRank <= REP_HOSTILE && ft1 && ft2 && ft1->IsFriendlyTo(*ft2))
{
// this needs that the realm has the PvP switch (rp pvp realm type for example) to work
fieldBuffer << (unit->GetUInt32Value(UNIT_FIELD_BYTES_2) | (UNIT_BYTE2_FLAG_FFA_PVP << 8));
return true;
}
}

View File

@@ -235,7 +235,7 @@ PvPRank.HKPerRank = 10,50,100,200,450,750,1300,2000,3500,6000,9500,15000,21000,3
###################################################################################################
Azth.Rate.Arena1v1 = 0.2;
Azth.Rate.Arena1v1 = 0.2
###################################################################################################
# CUSTOM PLAYER XP CONFIGS