Core/Achievements: Update CriteriaType enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a83f748766c49775d76412d2b98bb9b9dc8c4df)
This commit is contained in:
@@ -157,7 +157,7 @@ namespace Game.Movement
|
||||
player.m_taxi.NextTaxiDestination();
|
||||
if (!_pointsForPathSwitch.Empty())
|
||||
{
|
||||
player.UpdateCriteria(CriteriaTypes.GoldSpentForTravelling, (uint)_pointsForPathSwitch[0].Cost);
|
||||
player.UpdateCriteria(CriteriaType.MoneySpentOnTaxis, (uint)_pointsForPathSwitch[0].Cost);
|
||||
player.ModifyMoney(-_pointsForPathSwitch[0].Cost);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user