Core/GameObject: implemented gameobject_overrides table to change faction and flags values on a per-spawn basis
Port From (https://github.com/TrinityCore/TrinityCore/commit/67a1a1d29b76acfcda505fe1a38761a335e93bc5)
This commit is contained in:
@@ -1356,13 +1356,17 @@ namespace Game.Entities
|
||||
#endregion
|
||||
}
|
||||
|
||||
public class GameObjectTemplateAddon
|
||||
// From `gameobject_template_addon`, `gameobject_overrides`
|
||||
public class GameObjectOverride
|
||||
{
|
||||
public uint entry;
|
||||
public uint faction;
|
||||
public uint flags;
|
||||
public uint mingold;
|
||||
public uint maxgold;
|
||||
public uint Faction;
|
||||
public GameObjectFlags Flags;
|
||||
}
|
||||
|
||||
public class GameObjectTemplateAddon : GameObjectOverride
|
||||
{
|
||||
public uint Mingold;
|
||||
public uint Maxgold;
|
||||
public uint WorldEffectID;
|
||||
public uint AIAnimKitID;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user