Core/WorldStates: Migrate war mode bonus value worldstates to new system
Port From (https://github.com/TrinityCore/TrinityCore/commit/4ac86c13d2b00817c9213ca2c22b747d3fff454e)
This commit is contained in:
@@ -140,6 +140,11 @@ namespace Game
|
||||
return _worldStateTemplates.LookupByKey(worldStateId);
|
||||
}
|
||||
|
||||
public int GetValue(WorldStates worldStateId, Map map)
|
||||
{
|
||||
return GetValue((int)worldStateId, map);
|
||||
}
|
||||
|
||||
public int GetValue(int worldStateId, Map map)
|
||||
{
|
||||
WorldStateTemplate worldStateTemplate = GetWorldStateTemplate(worldStateId);
|
||||
|
||||
Reference in New Issue
Block a user