Core/SAI: Add an action_param3 to "summon gob" to control when the object will despawn
Port From (https://github.com/TrinityCore/TrinityCore/commit/4b6e76a5efe5e48ff20b4ef84e0f3dc0f9bc84a0)
This commit is contained in:
@@ -134,4 +134,10 @@ namespace Framework.Constants
|
||||
Destroyed = 2,
|
||||
Rebuilding = 3
|
||||
}
|
||||
|
||||
public enum GameObjectSummonType
|
||||
{
|
||||
TimedOrCorpseDespawn = 0, // despawns after a specified time OR when the summoner dies
|
||||
TimedDespawn = 1 // despawns after a specified time
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user