KF2-Server-Extension/ServerExt/Classes/UI_PrestigeNote.uc

19 lines
666 B
Ucode
Raw Normal View History

2017-10-20 02:00:49 +00:00
Class UI_PrestigeNote extends UI_ResetWarning;
function SetupTo( Ext_PerkBase P )
{
PerkToReset = P.Class;
2020-06-26 06:32:40 +00:00
// TODO: localize
2017-10-20 02:00:49 +00:00
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
2020-06-26 06:32:40 +00:00
// TODO: localize
2017-10-20 02:00:49 +00:00
Begin Object Name=YesButten
Tooltip="Prestige the perk (you can not undo this action!)"
End Object
}