На хонор в конфиге есть, сделал для арен по аналогии. Если где-то ошибся, то знающие люди подскажите:
Код:
diff --git a/src/game/ArenaTeam.cpp b/src/game/ArenaTeam.cpp
index 5f1dfdb..b5e81aa 100644
--- a/src/game/ArenaTeam.cpp
+++ b/src/game/ArenaTeam.cpp
@@ -535,6 +535,8 @@ uint32 ArenaTeam::GetPoints(uint32 MemberRating)
else if(m_Type == ARENA_TEAM_3v3)
points *= 0.88f;
+ points *= sWorld.getConfig(CONFIG_FLOAT_RATE_ARENA_POINT);
+
return (uint32) points;
}
diff --git a/src/game/World.cpp b/src/game/World.cpp
index a8c04e0..f3745f6 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -489,6 +489,7 @@ void World::LoadConfigSettings(bool reload)
setConfig(CONFIG_FLOAT_RATE_AUCTION_DEPOSIT, "Rate.Auction.Deposit", 1.0f);
setConfig(CONFIG_FLOAT_RATE_AUCTION_CUT, "Rate.Auction.Cut", 1.0f);
setConfig(CONFIG_FLOAT_RATE_HONOR, "Rate.Honor",1.0f);
+ setConfig(CONFIG_FLOAT_RATE_ARENA_POINT, "Rate.Arena.Point",1.0f);
setConfigPos(CONFIG_FLOAT_RATE_MINING_AMOUNT, "Rate.Mining.Amount", 1.0f);
setConfigPos(CONFIG_FLOAT_RATE_MINING_NEXT, "Rate.Mining.Next", 1.0f);
setConfigPos(CONFIG_FLOAT_RATE_INSTANCE_RESET_TIME, "Rate.InstanceResetTime", 1.0f);
diff --git a/src/game/World.h b/src/game/World.h
index f75118e..f16829d 100644
--- a/src/game/World.h
+++ b/src/game/World.h
@@ -233,6 +233,7 @@ enum eConfigFLoatValues
CONFIG_FLOAT_RATE_AUCTION_DEPOSIT,
CONFIG_FLOAT_RATE_AUCTION_CUT,
CONFIG_FLOAT_RATE_HONOR,
+ CONFIG_FLOAT_RATE_ARENA_POINT,
CONFIG_FLOAT_RATE_MINING_AMOUNT,
CONFIG_FLOAT_RATE_MINING_NEXT,
CONFIG_FLOAT_RATE_TALENT,
diff --git a/src/mangosd/mangosd.conf.dist.in b/src/mangosd/mangosd.conf.dist.in
index 43e4159..cb13668 100644
--- a/src/mangosd/mangosd.conf.dist.in
+++ b/src/mangosd/mangosd.conf.dist.in
@@ -1094,6 +1094,9 @@ Visibility.Distance.Grey.Object = 10
# Rate.Honor
# Honor gain rate
#
+# Rate.Arena.Point
+# Arena point gain rate
+#
# Rate.Mining.Amount
# Rate.Mining.Next
# Mining Rates (Mining.Amount changes minimum/maximum usetimes of a deposit,
@@ -1203,6 +1206,7 @@ Rate.Auction.Time = 1
Rate.Auction.Deposit = 1
Rate.Auction.Cut = 1
Rate.Honor = 1
+Rate.Arena.Point = 1
Rate.Mining.Amount = 1
Rate.Mining.Next = 1
Rate.Talent = 1