Core/WorldStates: Migrate conditions and criteria to new worldstate api
Port From (https://github.com/TrinityCore/TrinityCore/commit/7029b78cab620b861818fab4f94c7810caf109de)
This commit is contained in:
@@ -83,7 +83,7 @@ namespace Game.Conditions
|
||||
break;
|
||||
case ConditionTypes.WorldState:
|
||||
{
|
||||
condMeets = ConditionValue2 == Global.WorldMgr.GetWorldState(ConditionValue1);
|
||||
condMeets = Global.WorldStateMgr.GetValue((int)ConditionValue1, map) == ConditionValue2;
|
||||
break;
|
||||
}
|
||||
case ConditionTypes.RealmAchievement:
|
||||
|
||||
Reference in New Issue
Block a user