目录

vehicle_template_accessory 表


<-返回:World 数据库

Records in this table can be overwritten by vehicle_accessory table

表结构

FieldTypeAttributesKeyNullDefaultExtraComment
entryMEDIUMINTUNSIGNEDPRINO0
accessory_entryMEDIUMINTUNSIGNED NO0
seat_idTINYINTSIGNEDPRINO0
minionTINYINTUNSIGNED NO0
descriptiontextSIGNED NO
summontypeTINYINTUNSIGNED NO6 see enum TempSummonType
summontimerINTUNSIGNED NO30000 timer, only relevant for certain summontypes

字段说明


entry

Entry of creature to be used as Vehicle. Entry from creature_template.

accessory_entry

Entry from creature_template to be used as the rider/turret/addon to the main vehicle. ID from creature_template.

seat_id

Vehicle seat in witch the accessory should be spawned. See VehicleSeat.dbc.

minion

If value is 0 accessory will not die when vehicle dies. If value is 1 accessory will die when the vehicle dies.

description

Comment

summontype

FlagNameComments
1TEMPSUMMON_TIMED_OR_DEAD_DESPAWNDespawns after a specified time OR when the creature disappears
2TEMPSUMMON_TIMED_OR_CORPSE_DESPAWNDespawns after a specified time OR when the creature dies
3TEMPSUMMON_TIMED_DESPAWNDespawns after a specified time
4TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBATDespawns after a specified time after the creature is out of combat
5TEMPSUMMON_CORPSE_DESPAWNDespawns instantly after death
6TEMPSUMMON_CORPSE_TIMED_DESPAWNDespawns after a specified time after death
7TEMPSUMMON_DEAD_DESPAWNDespawns when the creature disappears
8TEMPSUMMON_MANUAL_DESPAWNDespawns when UnSummon() is called

summontimer

Timer linked to summontype