spell_target_position
The `spell_target_position` table
This table holds coordinate information on where the player should be teleported to when a spell with target type: TARGET_DST_DB(17).
Structure
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
---|---|---|---|---|---|---|---|
id | MEDIUMINT | UNSIGNED | PRI | NO | 0 | Identifier | |
target_map | SMALLINT | UNSIGNED | NO | 0 | |||
target_position_x | FLOAT | SIGNED | NO | 0 | |||
target_position_y | FLOAT | SIGNED | NO | 0 | |||
target_position_z | FLOAT | SIGNED | NO | 0 | |||
target_orientation | FLOAT | SIGNED | NO | 0 |
Description of the fields
id
The spell ID. See Spell.dbc
target_map
Map where the player should be teleported to. See Map.dbc.
target_position_x
X coordinate for the target destination of the spell.
target_position_y
Y coordinate for the target destination of the spell.
target_position_z
Z coordinate for the target destination of the spell.
target_orientation
Orientation the player will get when appearing at this location