mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 03:37:48 +00:00
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 <filipmaj@gmail.com>
This commit is contained in:
parent
31ec4efdcf
commit
1c5fd48d03
1 changed files with 1 additions and 1 deletions
|
@ -2618,7 +2618,7 @@ namespace Meteor.Map.Actors
|
|||
private void EquipAbilitiesAtLevel(byte classId, short level, List<CommandResult> actionList = null)
|
||||
{
|
||||
//If there's any abilites that unlocks at this level, equip them.
|
||||
List<ushort> commandIds = Server.GetWorldManager().GetBattleCommandIdByLevel(classId, GetLevel());
|
||||
List<ushort> commandIds = Server.GetWorldManager().GetBattleCommandIdByLevel(classId, level);
|
||||
foreach (ushort commandId in commandIds)
|
||||
{
|
||||
EquipAbilityInFirstOpenSlot(classId, commandId, false);
|
||||
|
|
Loading…
Add table
Reference in a new issue