summaryrefslogtreecommitdiff
path: root/world/map/conf/magic-level5.sex
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/conf/magic-level5.sex')
-rw-r--r--world/map/conf/magic-level5.sex53
1 files changed, 53 insertions, 0 deletions
diff --git a/world/map/conf/magic-level5.sex b/world/map/conf/magic-level5.sex
new file mode 100644
index 00000000..6a7093e5
--- /dev/null
+++ b/world/map/conf/magic-level5.sex
@@ -0,0 +1,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))))