用户工具

站点工具


数据库:world数据库:vehicle_accessory

vehicle_accessory 表


<-返回:World 数据库

This table is used to tell the server to spawn an additional NPC with this vehicle.

表结构

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

字段说明


guid

Guid of creature to be used as Vehicle, to be obtained from creature table.

accessory_entry

Entry from creature_template to be used as the rider/turret/addon to the main vehicle. ID from creature_template. Flying vehicles must have InhabitType set to (4 - Flying).

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.

Note: When making detachable vehicles you will always want to use value 0, otherwise when the main vehicle dies so does the detached vehicles.

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

数据库/world数据库/vehicle_accessory.txt · 最后更改: 2023/10/03 23:59 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki