Skip to content

Commit

Permalink
Chasing Oswald - Requires Content Update (#3652)
Browse files Browse the repository at this point in the history
* Update to Chasing Oswald completion quest stamp to match Contract

* Added newline to SQL update

* Blank new line...
  • Loading branch information
OptimShi authored Aug 30, 2021
1 parent cd27741 commit 6274d40
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Database/Updates/Shard/2021-08-16-00-ChasingOswald.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* Changes the completion quest stamp for "Chasing Oswald" to match the Contract stamp */
UPDATE
`character_properties_quest_registry`
SET
`quest_Name` = 'OswaldManualCompleted'
WHERE
`character_properties_quest_registry`.`quest_Name` = 'ChasingOswald';
2 changes: 1 addition & 1 deletion Source/ACE.Server/Command/Handlers/DeveloperFixCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ public static void HandleVerifySkillCredits(Session session, params string[] par
// - ArantahKill1 (no 'turned in' stamp, only if given figurine?)
// - LumAugSkillQuest (stamped either 1 or 2 times)

oswaldSkillCredit = ctx.CharacterPropertiesQuestRegistry.Where(i => i.QuestName.Equals("ChasingOswaldDone")).Select(i => i.CharacterId).ToHashSet();
oswaldSkillCredit = ctx.CharacterPropertiesQuestRegistry.Where(i => i.QuestName.Equals("OswaldManualCompleted")).Select(i => i.CharacterId).ToHashSet();
ralireaSkillCredit = ctx.CharacterPropertiesQuestRegistry.Where(i => i.QuestName.Equals("ArantahKill1")).Select(i => i.CharacterId).ToHashSet();
lumAugSkillCredits = ctx.CharacterPropertiesQuestRegistry.Where(i => i.QuestName.Equals("LumAugSkillQuest")).ToDictionary(i => i.CharacterId, i => i.NumTimesCompleted);
}
Expand Down
2 changes: 1 addition & 1 deletion Source/ACE.Server/Entity/Enlightenment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public static void RemoveSkills(Player player)
availableSkillCredits += (int)heritageGroup.SkillCredits; // base skill credits allowed

availableSkillCredits += player.QuestManager.GetCurrentSolves("ArantahKill1"); // additional quest skill credit
availableSkillCredits += player.QuestManager.GetCurrentSolves("ChasingOswaldDone"); // additional quest skill credit
availableSkillCredits += player.QuestManager.GetCurrentSolves("OswaldManualCompleted"); // additional quest skill credit
availableSkillCredits += player.QuestManager.GetCurrentSolves("LumAugSkillQuest"); // additional quest skill credits

player.AvailableSkillCredits = availableSkillCredits;
Expand Down

0 comments on commit 6274d40

Please sign in to comment.