-
Notifications
You must be signed in to change notification settings - Fork 49
creature_spawn_data_template
Back to world database list of tables.
Contains data to override spawned creatures UnitFlags,Faction,ModelId,EquipmentId,CurHealth,CurMana,SpawnFlags
Linked to creature_spawn_data.Id
| Name | Type | Null | Key | Default | Extra |
|---|---|---|---|---|---|
| Entry | int(10) unsigned | NO | PRI | (NULL) | |
| NpcFlags | int(10) | NO | PRI | -1 | |
| UnitFlags | bigint(20) | NO | PRI | -1 | |
| Faction | int(10) unsigned | NO | 0 | ||
| ModelId | mediumint(8) unsigned | NO | PRI | 0 | |
| EquipmentId | int(10) unsigned | NO | PRI | 0 | |
| CurHealth | int(10) unsigned | NO | PRI | 0 | |
| CurMana | int(10) unsigned | NO | PRI | 0 | |
| SpawnFlags | int(10) unsigned | NO | PRI | 0 | |
| RelayId | int(10) unsigned | NO | 0 | dbscripts_on_relay |
Unique ID for each creature_spawn_data_template. Linked to creature_spawn_data.Id
To avoid conflicts between Expansions, please use:
| Version: | Range |
|---|---|
| Generic: | 0- 999 |
| Vanilla: | 1000 - 9999 |
| TBC: | 10000 - 19999 |
| WotLK: | 20000 + |
New value that will be applied to creature. Ref: creature_template.NpcFlags
Important Default -1. Value 0 will remove all NpcFlags from creature
New value that will be applied to creature. Ref: creature_template.UnitFlags
Important Default -1. Value 0 will remove all UnitFlags from creature
New value that will be applied to creature. Ref: FactionTemplate.dbc.content
0 - will leave creatures default value
New value that will be applied to creature. Ref: Creature_Model_Info.Entry
0 - will leave creatures default value
New value that will be applied to creature. Ref: creature_equip_template.entry
0 - will leave creatures default value
New value that will be applied to creature. Ref: Creature_Model_Info.Entry
0 - will leave creatures default value
New value that will be applied to creature. Ref: creature.curmana
0 - will leave creatures default value
Special Flags applied to creature:
| Bit: | Hex | Name |
|---|---|---|
| 1 | 0x01 | SPAWN_FLAG_RUN_ON_SPAWN |
| 2 | 0x02 | SPAWN_FLAG_HOVER (flying) |
dbscripts.id - RelayId