From 1c5fd48d032011e868cfac61d088c163bc8d5c7f Mon Sep 17 00:00:00 2001 From: PW Anon Date: Mon, 13 Apr 2020 20:49:38 +0000 Subject: [PATCH] Merged in Resharc/project-meteor-server/issue-25 (pull request #68) Fix to incorrect skill being given upon changing to a new class for the first time. * Ported over changes from resharc/ffxiv-classic-server and merged into new branch. * Changed EquipAbilitiesAtLevel(...) to use the level supplied, instead of GetLevel(), which should fix issue 25. * Revert "Ported over changes from resharc/ffxiv-classic-server and merged into new branch." This reverts commit fce3fb5b899c6150230245d73f25255ae2b93549. Approved-by: Filip Maj --- Map Server/Actors/Chara/Player/Player.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Map Server/Actors/Chara/Player/Player.cs b/Map Server/Actors/Chara/Player/Player.cs index 32d124da..361111f2 100644 --- a/Map Server/Actors/Chara/Player/Player.cs +++ b/Map Server/Actors/Chara/Player/Player.cs @@ -2618,7 +2618,7 @@ namespace Meteor.Map.Actors private void EquipAbilitiesAtLevel(byte classId, short level, List actionList = null) { //If there's any abilites that unlocks at this level, equip them. - List commandIds = Server.GetWorldManager().GetBattleCommandIdByLevel(classId, GetLevel()); + List commandIds = Server.GetWorldManager().GetBattleCommandIdByLevel(classId, level); foreach (ushort commandId in commandIds) { EquipAbilityInFirstOpenSlot(classId, commandId, false);