Core/WorldStates: Migrate conditions and criteria to new worldstate api
Port From (https://github.com/TrinityCore/TrinityCore/commit/7029b78cab620b861818fab4f94c7810caf109de)
This commit is contained in:
@@ -1812,7 +1812,7 @@ namespace Game.Achievements
|
||||
return false;
|
||||
break;
|
||||
case ModifierTreeType.PlayersRealmWorldState: // 108
|
||||
if (Global.WorldMgr.GetWorldState(reqValue) != secondaryAsset)
|
||||
if (Global.WorldStateMgr.GetValue((int)reqValue, referencePlayer.GetMap()) != secondaryAsset)
|
||||
return false;
|
||||
break;
|
||||
case ModifierTreeType.TimeBetween: // 109
|
||||
|
||||
Reference in New Issue
Block a user