summaryrefslogtreecommitdiff
path: root/world/map/conf/magic-level5.sex
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2014-07-11 10:27:49 -0500
committerWushin <pasekei@gmail.com>2014-07-11 10:27:49 -0500
commitda9ebddf7ab47c04de47742baa3ef040ddcf6614 (patch)
tree01134d35d55aba3120e880ea8566151191cc6586 /world/map/conf/magic-level5.sex
parentdf7e4e729e9f0aab98ba980006ce1c49a428d9e6 (diff)
parentac8128e029378c5f66f52062262a83b919a17030 (diff)
downloadserverdata-da9ebddf7ab47c04de47742baa3ef040ddcf6614.tar.gz
serverdata-da9ebddf7ab47c04de47742baa3ef040ddcf6614.tar.bz2
serverdata-da9ebddf7ab47c04de47742baa3ef040ddcf6614.tar.xz
serverdata-da9ebddf7ab47c04de47742baa3ef040ddcf6614.zip
Merge pull request #133 from mekolat/splitmagic
split magic files
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))))