Core/Conditions: Added conditions for automatic learning spells with SkillLineAbility::AcquireMethod = 4
Port From (https://github.com/TrinityCore/TrinityCore/commit/7eaa695581589e8cb9a277f9c13ad0e3daf669a7)
This commit is contained in:
@@ -1156,10 +1156,14 @@ namespace Game.Achievements
|
||||
++count;
|
||||
}
|
||||
|
||||
DB2HotfixGenerator<AchievementRecord> hotfixes = new(CliDB.AchievementStorage);
|
||||
|
||||
// Once Bitten, Twice Shy (10 player) - Icecrown Citadel
|
||||
AchievementRecord achievement1 = CliDB.AchievementStorage.LookupByKey(4539);
|
||||
if (achievement1 != null)
|
||||
achievement1.InstanceID = 631; // Correct map requirement (currently has Ulduar); 6.0.3 note - it STILL has ulduar requirement
|
||||
// Correct map requirement (currently has Ulduar); 6.0.3 note - it STILL has ulduar requirement
|
||||
hotfixes.ApplyHotfix(4539, achievement =>
|
||||
{
|
||||
achievement.InstanceID = 631;
|
||||
});
|
||||
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loaded {0} achievement references in {1} ms.", count, Time.GetMSTimeDiffToNow(oldMSTime));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user