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
The spell ID. See Spell.dbc
Map where the player should be teleported to. See Map.dbc.
X coordinate for the target destination of the spell.
Y coordinate for the target destination of the spell.
Z coordinate for the target destination of the spell.
Orientation the player will get when appearing at this location