mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-12-16 15:19:56 +00:00
Affichage rituel
This commit is contained in:
parent
6b35d38513
commit
9e2af2895a
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ namespace AideDeJeu.ViewModels
|
||||||
var fd = FormatedTextHelpers.FontData.FromResource("contentital");
|
var fd = FormatedTextHelpers.FontData.FromResource("contentital");
|
||||||
var fs = new FormattedString();
|
var fs = new FormattedString();
|
||||||
var capType = Item?.Type?.First().ToString()?.ToUpper() + Item?.Type?.Substring(1);
|
var capType = Item?.Type?.First().ToString()?.ToUpper() + Item?.Type?.Substring(1);
|
||||||
fs.Spans.Add(new Span() { Text = string.Format("{0} de niveau {1}", capType, Item?.Level), FontFamily = fd.FontFamily, FontAttributes = fd.FontAttributes, FontSize = fd.FontSize, ForegroundColor = fd.TextColor});
|
fs.Spans.Add(new Span() { Text = string.Format("{0} de niveau {1} {2}", capType, Item?.Level, Item?.Rituel), FontFamily = fd.FontFamily, FontAttributes = fd.FontAttributes, FontSize = fd.FontSize, ForegroundColor = fd.TextColor});
|
||||||
return fs;
|
return fs;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue