Core/Achievements: Implemented GameEvent related criteria types 73 and 93

Port From (https://github.com/TrinityCore/TrinityCore/commit/22edf79c70519a571d9eeb7e397add695d7a28bb)
This commit is contained in:
hondacrx
2022-05-31 20:00:36 -04:00
parent 8bbd650d0b
commit a0b381ed79
4 changed files with 16 additions and 2 deletions
+5
View File
@@ -3778,6 +3778,11 @@ namespace Game.Maps
return i_mapRecord != null && i_mapRecord.IsBattlegroundOrArena();
}
public bool IsScenario()
{
return i_mapRecord != null && i_mapRecord.IsScenario();
}
public bool IsGarrison()
{
return i_mapRecord != null && i_mapRecord.IsGarrison();