From d71e7bab86e6c2d258d6fd451852b4f2d49856bc Mon Sep 17 00:00:00 2001 From: alborrajo Date: Fri, 6 Oct 2023 22:08:00 +0200 Subject: [PATCH] Fixed JP not substracting unlocking secret augs --- Arrowgene.Ddon.GameServer/Characters/JobManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Arrowgene.Ddon.GameServer/Characters/JobManager.cs b/Arrowgene.Ddon.GameServer/Characters/JobManager.cs index 3a5fc2639..3e62ee094 100644 --- a/Arrowgene.Ddon.GameServer/Characters/JobManager.cs +++ b/Arrowgene.Ddon.GameServer/Characters/JobManager.cs @@ -359,7 +359,7 @@ public void UnlockAbility(IDatabase database, GameClient client, CharacterCommon { client.Send(new S2CSkillLearnAbilityRes() { - Job = job, + Job = learnedAbilityCharacterJobData.Job, NewJobPoint = learnedAbilityCharacterJobData.JobPoint, AbilityId = abilityId, AbilityLv = abilityLv @@ -370,7 +370,7 @@ public void UnlockAbility(IDatabase database, GameClient client, CharacterCommon client.Send(new S2CSkillLearnPawnAbilityRes() { PawnId = ((Pawn) character).PawnId, - Job = job, + Job = learnedAbilityCharacterJobData.Job, NewJobPoint = learnedAbilityCharacterJobData.JobPoint, AbilityId = abilityId, AbilityLv = abilityLv