diff options
author | mekolat <mekolat@users.noreply.github.com> | 2015-06-11 11:13:11 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-03-30 11:22:47 -0400 |
commit | bc4deaf81d9701261baac6a10d762b0f40e7f65f (patch) | |
tree | e539e3a49756626e27d4491fccb7a6862b12a120 /world/map/conf/magic-quests.sex | |
parent | 9e7f46ac732851c1359a15837c82ebf67ea2be39 (diff) | |
download | serverdata-bc4deaf81d9701261baac6a10d762b0f40e7f65f.tar.gz serverdata-bc4deaf81d9701261baac6a10d762b0f40e7f65f.tar.bz2 serverdata-bc4deaf81d9701261baac6a10d762b0f40e7f65f.tar.xz serverdata-bc4deaf81d9701261baac6a10d762b0f40e7f65f.zip |
initial commit for magic v3
Fix Druid Tree and add hug to TMW
Diffstat (limited to 'world/map/conf/magic-quests.sex')
-rw-r--r-- | world/map/conf/magic-quests.sex | 154 |
1 files changed, 0 insertions, 154 deletions
diff --git a/world/map/conf/magic-quests.sex b/world/map/conf/magic-quests.sex deleted file mode 100644 index 4b8a822c..00000000 --- a/world/map/conf/magic-quests.sex +++ /dev/null @@ -1,154 +0,0 @@ -(PROCEDURE hug_tree (target) - (IF (|| - (|| - (|| - (|| - (|| - (|| - (|| - (|| - (== target "") - (== target "tree")) - (== target "tree*")) - (== target "Tree")) - (== target "Tree*")) - (== target "druid")) - (== target "druid*")) - (== target "Druid")) - (== target "Druid*")) - (SCRIPT "{ - set @flag, 2; - callfunc \"QuestTreeTrigger\"; - close; - }"))) - -(SPELL (NONMAGIC) hug0 "hug" (STRING target) - (=> - (REQUIRE - (|| - (<= - (rdistance - (location caster) - (location - (npc "#DruidTree0#_M"))) - 1) - (<= - (rdistance - (location caster) - (location - (npc "#DruidTree1#_M"))) - 1))) - (EFFECT - (CALL hug_tree target)))) - -(SPELL (NONMAGIC) hug1 "*hug*" (STRING target) - (=> - (REQUIRE - (|| - (<= - (rdistance - (location caster) - (location - (npc "#DruidTree0#_M"))) - 1) - (<= - (rdistance - (location caster) - (location - (npc "#DruidTree1#_M"))) - 1))) - (EFFECT - (CALL hug_tree target)))) - -(SPELL (NONMAGIC) hug2 "*hug" (STRING target) - (=> - (REQUIRE - (|| - (<= - (rdistance - (location caster) - (location - (npc "#DruidTree0#_M"))) - 1) - (<= - (rdistance - (location caster) - (location - (npc "#DruidTree1#_M"))) - 1))) - (EFFECT - (CALL hug_tree target)))) - -(SPELL (NONMAGIC) hug3 "hugs" (STRING target) - (=> - (REQUIRE - (|| - (<= - (rdistance - (location caster) - (location - (npc "#DruidTree0#_M"))) - 1) - (<= - (rdistance - (location caster) - (location - (npc "#DruidTree1#_M"))) - 1))) - (EFFECT - (CALL hug_tree target)))) - -(SPELL (NONMAGIC) hug4 "*hugs*" (STRING target) - (=> - (REQUIRE - (|| - (<= - (rdistance - (location caster) - (location - (npc "#DruidTree0#_M"))) - 1) - (<= - (rdistance - (location caster) - (location - (npc "#DruidTree1#_M"))) - 1))) - (EFFECT - (CALL hug_tree target)))) - -(SPELL (NONMAGIC) hug5 "*hugs" (STRING target) - (=> - (REQUIRE - (|| - (<= - (rdistance - (location caster) - (location - (npc "#DruidTree0#_M"))) - 1) - (<= - (rdistance - (location caster) - (location - (npc "#DruidTree1#_M"))) - 1))) - (EFFECT - (CALL hug_tree target)))) - -"--------------------------------------------------------------------------------" -"Illia spell" -"--------------------------------------------------------------------------------" -(SPELL (NONMAGIC) illia0 "#catalazuli" () - (=> - (REQUIRE - (== - (rdistance - (location caster) - (location - (npc "#Power Circle"))) - 0)) - (EFFECT - (SCRIPT "{ - callfunc \"StartChannelling\";} - ")))) |