blob: e82bcc11b924d8d6b84c34587df23d8b932a3388 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# spell\_target\_position
[<-Back-to:World](database-world.md)
**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][1] | MEDIUMINT | UNSIGNED | PRI | NO | 0 | | Identifier |
| [target_map][2] | SMALLINT | UNSIGNED | | NO | 0 | | |
| [target_position_x][3] | FLOAT | SIGNED | | NO | 0 | | |
| [target_position_y][4] | FLOAT | SIGNED | | NO | 0 | | |
| [target_position_z][5] | FLOAT | SIGNED | | NO | 0 | | |
| [target_orientation][6] | FLOAT | SIGNED | | NO | 0 | | |
[1]: #id
[2]: #target_map
[3]: #target_position_x
[4]: #target_position_y
[5]: #target_position_z
[6]: #target_orientation
**Description of the fields**
### id
The spell ID. See [Spell.dbc](Spell)
### target\_map
Map where the player should be teleported to. See [Map.dbc](Map).
### 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
|