1 |
object spell_dimension_door |
2 |
inherit type_spell |
3 |
name dimension door |
4 |
name_pl dimension door |
5 |
skill sorcery |
6 |
msg |
7 |
Dimension door allows for a short range teleportation (the exact range |
8 |
depending on casting level). |
9 |
|
10 |
The character is transported in the direction the spell is cast. Zones |
11 |
where magic is blocked cannot be passed through, and the character will |
12 |
not end up in the same space as a monster or anything else that blocks the |
13 |
space. |
14 |
|
15 |
If the player casts the spell directly and specifies an argument, the |
16 |
spell will attempt to transport the character exactly the specified number |
17 |
of spaces (no more, no less). |
18 |
|
19 |
Otherwise, the spell will attempt to transport the character the maximum |
20 |
number of spaces allowed by spell range and the environment. |
21 |
endmsg |
22 |
face spell_sorcery.x11 |
23 |
sp 25 |
24 |
maxsp 25 |
25 |
level 26 |
26 |
subtype 13 |
27 |
path_attuned 4096 |
28 |
value 1 |
29 |
invisible 1 |
30 |
range 25 |
31 |
range_modifier 5 |
32 |
no_drop 1 |
33 |
casting_time 10 |
34 |
end |
35 |
|