public EventCommandChangeVital(RestoreHpCommand refCommand, FrmEvent editor) { InitializeComponent(); mMyCommand = refCommand; mEventEditor = editor; nudVital.Value = refCommand.Amount; InitLocalization(); }
private static string GetCommandText(RestoreHpCommand command, MapInstance map) { if (command.Amount == 0) { return(Strings.EventCommandList.restorehp.ToString()); } else { return(Strings.EventCommandList.restorehpby.ToString(command.Amount)); } }