Core/GameObjects: Implemented GAMEOBJECT_TYPE_CAPTURE_POINT

Port From (https://github.com/TrinityCore/TrinityCore/commit/19f64e66e58d3d7ebed6437a474a134e7c673ed6)
This commit is contained in:
hondacrx
2022-05-23 17:11:04 -04:00
parent 6a29799a6e
commit 63f17d776a
9 changed files with 315 additions and 6 deletions
+5
View File
@@ -1281,6 +1281,11 @@ namespace Game.Spells
return;
}
}
else if (goInfo.type == GameObjectTypes.CapturePoint)
{
gameObjTarget.AssaultCapturePoint(player);
return;
}
else if (goInfo.type == GameObjectTypes.FlagStand)
{
//CanUseBattlegroundObject() already called in CheckCast()