@@ -22,9 +22,9 @@ public class Configs: IConfig
22
22
[ Description ( "these lines will be displayed for each effect type separately, allowing you to customize them" ) ]
23
23
public Dictionary < string , string > EffectLine { get ; set ; } = new Dictionary < string , string > ( )
24
24
{
25
- { "Mixed" , "<size=12>%effect% is <color=\" purple\" >%type% end after %time%" } ,
26
- { "Positive" , "<size=12>%effect% is <color=\" green\" >%type% end after %time%" } ,
27
- { "Negative" , "<size=12>%effect% is <color=\" red\" >%type% end after %time%" }
25
+ { "Mixed" , "<size=12>%effect% is <color=\" purple\" >%type% end after %time%|%duration% " } ,
26
+ { "Positive" , "<size=12>%effect% is <color=\" green\" >%type% end after %time%|%duration% " } ,
27
+ { "Negative" , "<size=12>%effect% is <color=\" red\" >%type% end after %time%|%duration% " }
28
28
} ;
29
29
30
30
[ Description ( "decomposes the text on the screen to change only to what is processed by align" ) ]
@@ -51,11 +51,12 @@ public class Configs: IConfig
51
51
[ Description ( "List of roles for which the effects display will not be displayed (the roles of the dead are ignored)" ) ]
52
52
public List < RoleTypeId > IgnoredRoles { get ; set ; } = new List < RoleTypeId > ( )
53
53
{
54
-
54
+ RoleTypeId . None ,
55
+ RoleTypeId . Spectator
55
56
} ;
56
57
57
58
/// <summary>
58
- /// Return effect name from <see cref="EffectTranslation"/> or <see cref="EffectType"/> as <see cref="string"></see>
59
+ /// Return effect name from <see cref="EffectTranslation"/> and if not found in it return <see cref="EffectType"/> as <see cref="string"></see>
59
60
/// </summary>
60
61
public string GetTranslation ( EffectType effectType )
61
62
{
0 commit comments