Refactor Jackal skill to affect all opponents and add alternative skill button
This commit is contained in:
parent
db3bb38d9b
commit
ca73bf50ac
29 changed files with 136 additions and 120 deletions
|
|
@ -49,7 +49,12 @@ namespace jRandomSkills.src.utils
|
|||
if (args.Length != 0 && args[0].ToString() == "welcome")
|
||||
return translation;
|
||||
else
|
||||
return string.Format(translation, args).Replace("CHATCOLORS.RED", ChatColors.Red.ToString());
|
||||
{
|
||||
string output = string.Format(translation, args).Replace("CHATCOLORS.RED", ChatColors.Red.ToString());
|
||||
if (Config.LoadedConfig.Settings.AlternativeSkillButton != null)
|
||||
output = output.Replace("css_useSkill", $"css_useSkill/{Config.LoadedConfig.Settings.AlternativeSkillButton}");
|
||||
return output;
|
||||
}
|
||||
|
||||
return key;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue