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