summaryrefslogtreecommitdiff
path: root/world/map/conf/magic-level5.sex
blob: 6a7093e5220e037d8082ce7b721078dc3e322b09 (plain) (blame)
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
52
53
"--------------------------------------------------------------------------------"
"Level 4 spells"
"--------------------------------------------------------------------------------"
(SPELL () shroud "#anwilvimar" ()
    (LET level 4)
    (LET school NATURE)
    (=>
        (GUARD
            (MANA 40)
            (CASTTIME 400)
            (REQUIRE
                (>
                    (skill caster MAGIC)
                    level))
            (REQUIRE
                (>
                    (skill caster school)
                    level)))
        (EFFECT
            (CALL default_effect)
            (shroud caster 0x04))))

(SPELL () teleport "#vorp" (STRING destination)
    (LET level 4)
    (LET school ASTRAL)
    (=>
        (GUARD
            (MANA 80)
            (CASTTIME 400)
            (DISABLED (COMPONENT "EtherEssence"))
            (DISABLED (CATALYST "TeleportCrystal"))
            (REQUIRE
                (>
                    (skill caster MAGIC)
                    level))
            (REQUIRE
                (>
                    (skill caster school)
                    level)))
        (EFFECT
            (CALL default_effect)
            (WAIT
                (+ 1000
                    (/ 200000
                        (+ spellpower 10))))
            (sfx
                (location caster)
                SFX_TELEPORT
                200)
            (warp caster
                (random_location
                    (anchor destination)))
            (sfx caster SFX_TELEPORT 200))))