Skip to content

Commit

Permalink
Update Spell.cs
Browse files Browse the repository at this point in the history
Exposed additional english strings to print method #5060
  • Loading branch information
chummer5a committed Oct 18, 2023
1 parent 292abd4 commit be3bef5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Chummer/Backend/Uniques/Spell.cs
Expand Up @@ -334,6 +334,7 @@ await objWriter
.WriteElementStringAsync("descriptors",
await DisplayDescriptorsAsync(strLanguageToPrint, token)
.ConfigureAwait(false), token).ConfigureAwait(false);
await objWriter.WriteElementStringAsync("descriptors_english", Descriptors, token).ConfigureAwait(false);
await objWriter
.WriteElementStringAsync(
"category", await DisplayCategoryAsync(strLanguageToPrint, token).ConfigureAwait(false),
Expand All @@ -343,23 +344,28 @@ await objWriter
.WriteElementStringAsync(
"type", await DisplayTypeAsync(strLanguageToPrint, token).ConfigureAwait(false), token)
.ConfigureAwait(false);
await objWriter.WriteElementStringAsync("type_english", Type, token).ConfigureAwait(false);
await objWriter
.WriteElementStringAsync(
"range", await DisplayRangeAsync(strLanguageToPrint, token).ConfigureAwait(false), token)
.ConfigureAwait(false);
await objWriter.WriteElementStringAsync("range_english", Range, token).ConfigureAwait(false);
await objWriter
.WriteElementStringAsync(
"damage", await DisplayDamageAsync(strLanguageToPrint, token).ConfigureAwait(false),
token)
.ConfigureAwait(false);
await objWriter.WriteElementStringAsync("damage_english", Damage, token).ConfigureAwait(false);
await objWriter
.WriteElementStringAsync(
"duration", await DisplayDurationAsync(strLanguageToPrint, token).ConfigureAwait(false),
token).ConfigureAwait(false);
await objWriter.WriteElementStringAsync("duration_english", Duration, token).ConfigureAwait(false);
await objWriter
.WriteElementStringAsync(
"dv", await DisplayDvAsync(strLanguageToPrint, token).ConfigureAwait(false), token)
.ConfigureAwait(false);
await objWriter.WriteElementStringAsync("dv_english", DV, token).ConfigureAwait(false);
await objWriter
.WriteElementStringAsync("alchemy", Alchemical.ToString(GlobalSettings.InvariantCultureInfo),
token).ConfigureAwait(false);
Expand Down

0 comments on commit be3bef5

Please sign in to comment.