From 810942e99bcdb338c42039a88de12bc852a9f0a1 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 10 Jun 2021 11:08:31 -0400 Subject: [PATCH] Misc fixes --- Source/Game/Chat/Commands/SpellCommands.cs | 1 + Source/Game/Entities/Player/Player.Spells.cs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Chat/Commands/SpellCommands.cs b/Source/Game/Chat/Commands/SpellCommands.cs index 8fe59cbb5..bde040d48 100644 --- a/Source/Game/Chat/Commands/SpellCommands.cs +++ b/Source/Game/Chat/Commands/SpellCommands.cs @@ -113,6 +113,7 @@ namespace Game.Chat return true; } + args.Reset(); // number or [name] Shift-click form |color|Hspell:spell_id|h[name]|h|r or Htalent form uint spellId = handler.ExtractSpellIdFromLink(args); if (spellId == 0) diff --git a/Source/Game/Entities/Player/Player.Spells.cs b/Source/Game/Entities/Player/Player.Spells.cs index 392a95453..cf3220275 100644 --- a/Source/Game/Entities/Player/Player.Spells.cs +++ b/Source/Game/Entities/Player/Player.Spells.cs @@ -49,7 +49,6 @@ namespace Game.Entities if (rcEntry.Flags.HasAnyFlag(SkillRaceClassInfoFlags.AlwaysMaxValue)) SetSkillRank(pair.Value.Pos, maxSkill); - SetSkillRank(pair.Value.Pos, maxSkill); SetSkillMaxRank(pair.Value.Pos, maxSkill); if (pair.Value.State != SkillState.New) pair.Value.State = SkillState.Changed;