mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04: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:
		| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user