Spell target position

From OregonCore Wiki
Jump to: navigation, search

Back to world database list of tables.


The `spell_target_position` table

This table holds coordinate information on where the player should be teleported to when a spell with effect SPELL_EFFECT_TELEPORT_UNITS.

Schema Last Modified: TC1-1828 - Schema Verified: Rev 665


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.