spell_target_position

Back-to:World

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(8)

unsigned

PRI

NO

0

 

Identifier

target_map

smallint(5)

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