KF2-Server-Extension/ServerExt/Classes/UI_PrestigeNote.uc
2020-06-26 09:32:40 +03:00

19 lines
666 B
Ucode

Class UI_PrestigeNote extends UI_ResetWarning;
function SetupTo( Ext_PerkBase P )
{
PerkToReset = P.Class;
// TODO: localize
WindowTitle = "NOTICE: Prestige "$P.PerkName;
InfoLabel.SetText("NOTICE: If you prestige your perk, you can not undo this operation!|All your gained XP and level will be reset to #{FF0000}0#{DEF}.|But this will also increase the amount of points by #{F7FE2E}+"$P.PrestigeSPIncrease$"#{DEF} you earn for every level up in the future.||Are you sure you want to do this?");
}
defaultproperties
{
bIsPrestige=true
// TODO: localize
Begin Object Name=YesButten
Tooltip="Prestige the perk (you can not undo this action!)"
End Object
}