wip
This commit is contained in:
parent
28a8b0d4ff
commit
1f8df8d1eb
@ -455,6 +455,8 @@ public function IncreaseXPBoost(KFPlayerController Booster)
|
||||
PlayerBoost = PlayerXPBoost(BoosterRepInfo);
|
||||
PlayerBoostStr = String(PlayerBoost);
|
||||
|
||||
if (XPNotifications)
|
||||
{
|
||||
if (XPBoost >= CfgXPBoost.default.MaxBoost)
|
||||
{
|
||||
BroadcastChatLocalized(
|
||||
@ -485,6 +487,7 @@ public function IncreaseXPBoost(KFPlayerController Booster)
|
||||
TotalBoostStr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function DecreaseXPBoost(Controller Booster)
|
||||
{
|
||||
@ -501,6 +504,8 @@ public function DecreaseXPBoost(Controller Booster)
|
||||
BoosterName = Booster.PlayerReplicationInfo.PlayerName;
|
||||
TotalBoost = String(XPBoost);
|
||||
|
||||
if (XPNotifications)
|
||||
{
|
||||
if (XPBoost >= CfgXPBoost.default.MaxBoost)
|
||||
{
|
||||
BroadcastChatLocalized(
|
||||
@ -528,6 +533,7 @@ public function DecreaseXPBoost(Controller Booster)
|
||||
BoosterName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private function BroadcastChatLocalized(E_MSKGS_LocalMessageType LMT, String HexColor, optional Controller Except = None, optional String String1, optional String String2, optional String String3)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user