Bump version, return SkillAction result & i18n
Bump module version to 1.2.1.b7 and change SkillAction to return the invoked method result (object?) or null when not found. Add and normalize many localization entries across multiple language files (aimlock, homingnades, hotbomb, illiterate, illusionist, magneticdecoy, magneto, miner, planter_planting, teleporter chance string, throwingknife, weightless, wildthrow, smoker, etc.) and clean up duplicate/obsolete entries. Update server plugin binaries and configs (WASDMenuAPI.dll, jRandomSkills.dll, config.json, skillsInfo.json) and remove playersLanguage.json.
This commit is contained in:
parent
3954fc3af4
commit
abd3aed8fd
33 changed files with 1159 additions and 324 deletions
|
|
@ -105,7 +105,7 @@ namespace src.player
|
|||
var observeredPlayerSpecialSkillInfo = SkillData.Skills.FirstOrDefault(s => s.Skill == observeredPlayerSkill.SpecialSkill);
|
||||
if (observeredPlayerSpecialSkillInfo == null) return;
|
||||
|
||||
string pName = observeredPlayerSkill.PlayerName;
|
||||
string pName = System.Net.WebUtility.HtmlEncode(observeredPlayerSkill.PlayerName);
|
||||
if (pName.Length > 18)
|
||||
pName = $"{pName[..17]}...";
|
||||
var observerSkill = player.GetTranslation("observer_skill");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue