diff --git a/Source/Framework/Constants/SharedConst.cs b/Source/Framework/Constants/SharedConst.cs
index 126032366..f15431e29 100644
--- a/Source/Framework/Constants/SharedConst.cs
+++ b/Source/Framework/Constants/SharedConst.cs
@@ -195,7 +195,7 @@ namespace Framework.Constants
///
/// GameObject Const
///
- public const int MaxGOData = 34;
+ public const int MaxGOData = 35;
public const uint MaxTransportStopFrames = 9;
///
diff --git a/Source/Game/Entities/GameObject/GameObjectData.cs b/Source/Game/Entities/GameObject/GameObjectData.cs
index 533230593..bb6918116 100644
--- a/Source/Game/Entities/GameObject/GameObjectData.cs
+++ b/Source/Game/Entities/GameObject/GameObjectData.cs
@@ -708,6 +708,7 @@ namespace Game.Entities
public uint turnpersonallootsecurityoff; // 31 turn personal loot security off, enum { false, true, }; Default: false
public uint ChestProperties; // 32 Chest Properties, References: ChestProperties, NoValue = 0
public uint chestPushLoot; // 33 chest Push Loot, References: Treasure, NoValue = 0
+ public uint ForceSingleLooter; // 34 Force Single Looter, enum { false, true, }; Default: false
}
public struct binder
diff --git a/Source/Game/Globals/ObjectManager.cs b/Source/Game/Globals/ObjectManager.cs
index 502a2aad7..be84d6c64 100644
--- a/Source/Game/Globals/ObjectManager.cs
+++ b/Source/Game/Globals/ObjectManager.cs
@@ -3721,8 +3721,8 @@ namespace Game
"Data0, Data1, Data2, Data3, Data4, Data5, Data6, Data7, Data8, Data9, Data10, Data11, Data12, " +
//21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
"Data13, Data14, Data15, Data16, Data17, Data18, Data19, Data20, Data21, Data22, Data23, Data24, Data25, Data26, Data27, Data28, " +
- //37 38 39 40 41 42 43 44
- "Data29, Data30, Data31, Data32, Data33, ContentTuningId, AIName, ScriptName FROM gameobject_template");
+ //37 38 39 40 41 42 43 44 45
+ "Data29, Data30, Data31, Data32, Data33, Data34, ContentTuningId, AIName, ScriptName FROM gameobject_template");
if (result.IsEmpty())
{
@@ -3751,9 +3751,9 @@ namespace Game
got.Raw.data[x] = result.Read(8 + x);
}
- got.ContentTuningId = result.Read(42);
- got.AIName = result.Read(43);
- got.ScriptId = Global.ObjectMgr.GetScriptId(result.Read(44));
+ got.ContentTuningId = result.Read(43);
+ got.AIName = result.Read(44);
+ got.ScriptId = Global.ObjectMgr.GetScriptId(result.Read(45));
switch (got.type)
{
diff --git a/sql/updates/world/master/2021_11_11_01_world.sql b/sql/updates/world/master/2021_11_11_01_world.sql
new file mode 100644
index 000000000..f5758a804
--- /dev/null
+++ b/sql/updates/world/master/2021_11_11_01_world.sql
@@ -0,0 +1 @@
+ALTER TABLE `gameobject_template` ADD `Data34` int(11) NOT NULL DEFAULT '0' AFTER `Data33`;