diff options
author | Fate <fate@kino.cs.colorado.edu> | 2008-11-12 00:45:07 -0700 |
---|---|---|
committer | Fate <fate@kino.cs.colorado.edu> | 2008-11-12 00:45:07 -0700 |
commit | 6670219b5862db29302161c9b84da732df14fd05 (patch) | |
tree | 52cece7f84b4cd4c4a6c2552b06267d2c27654dd /conf | |
parent | 39b9de05511c50aac936228bf68f1de410baf13e (diff) | |
download | serverdata-6670219b5862db29302161c9b84da732df14fd05.tar.gz serverdata-6670219b5862db29302161c9b84da732df14fd05.tar.bz2 serverdata-6670219b5862db29302161c9b84da732df14fd05.tar.xz serverdata-6670219b5862db29302161c9b84da732df14fd05.zip |
* Disabled halloween magic
Diffstat (limited to 'conf')
-rw-r--r-- | conf/magic.conf | 84 |
1 files changed, 43 insertions, 41 deletions
diff --git a/conf/magic.conf b/conf/magic.conf index 220c8566..7d3918b5 100644 --- a/conf/magic.conf +++ b/conf/magic.conf @@ -536,30 +536,49 @@ SILENT SPELL marriage (target : PC) : "marry" = IF not (is_married(caster)) THEN message(caster, name_of(target) + " turned down your marriage offer."); -SPELL change-hair-colour (colour : STRING) : "trapa" = - (MANA 20) => EFFECT IF colour = "nworbl" - THEN x = 0; # light brown - ELSE IF colour = "der" - THEN x = 1; # red - ELSE IF colour = "neerg" - THEN x = 2; # green - ELSE IF colour = "elprup" - THEN x = 3; # purple - ELSE IF colour = "yerg" - THEN x = 4; # grey - ELSE IF colour = "wolley" - THEN x = 5; # yellow - ELSE IF colour = "eulb" - THEN x = 6; # blue - ELSE IF colour = "nwrob" - THEN x = 7; # brown - ELSE IF colour = "elpropl" - THEN x = 8; # light purple - ELSE IF colour = "elpropd" - THEN x = 9; # dark purple - ELSE x = random(10); - sfx(caster, 2, 0); - set_hair_colour(caster, x); +# SPELL change-hair-colour (colour : STRING) : "trapa" = +# (MANA 20) => EFFECT IF colour = "nworbl" +# THEN x = 0; # light brown +# ELSE IF colour = "der" +# THEN x = 1; # red +# ELSE IF colour = "neerg" +# THEN x = 2; # green +# ELSE IF colour = "elprup" +# THEN x = 3; # purple +# ELSE IF colour = "yerg" +# THEN x = 4; # grey +# ELSE IF colour = "wolley" +# THEN x = 5; # yellow +# ELSE IF colour = "eulb" +# THEN x = 6; # blue +# ELSE IF colour = "nwrob" +# THEN x = 7; # brown +# ELSE IF colour = "elpropl" +# THEN x = 8; # light purple +# ELSE IF colour = "elpropd" +# THEN x = 9; # dark purple +# ELSE x = random(10); +# sfx(caster, 2, 0); +# set_hair_colour(caster, x); + + +# SPELL trick-or-treat : "trick-or-treat" = +# (CASTTIME 30000, MANA 20, +# COMPONENTS [ "BugLeg" ]) => EFFECT IF (random(2)) +# THEN (sfx(caster, 2, 0); +# FOR i = 0 TO random(10) DO +# drop_item_for (random_location(rbox(location(caster), 5)), +# "Candy", 1, 10000 + random(10000), caster, 3000); +# FOR i = 0 TO random(10) DO +# drop_item_for (random_location(rbox(location(caster), 5)), +# "ChocolateBar", 1, 10000 + random(10000), caster, 3000); +# ) +# ELSE (sfx(caster, 5, 0); +# message(caster, "No treat for you!"); +# spawn(rbox(location(caster), 3), caster, 1010, 0, 1 + random(3), 10000 + random(20000)); +# FOREACH MOB target IN rbox(location(caster), 5) DO +# (sfx(target, 5, 0); +# aggravate(target, 0, caster);)) LOCAL SPELL mouboo-groan : "#g" = @@ -582,20 +601,3 @@ LOCAL SPELL mouboo-smell : "#s" = message(p, "You notice a strange smell all around you."); -SPELL trick-or-treat : "trick-or-treat" = - (CASTTIME 30000, MANA 20, - COMPONENTS [ "BugLeg" ]) => EFFECT IF (random(2)) - THEN (sfx(caster, 2, 0); - FOR i = 0 TO random(10) DO - drop_item_for (random_location(rbox(location(caster), 5)), - "Candy", 1, 10000 + random(10000), caster, 3000); - FOR i = 0 TO random(10) DO - drop_item_for (random_location(rbox(location(caster), 5)), - "ChocolateBar", 1, 10000 + random(10000), caster, 3000); - ) - ELSE (sfx(caster, 5, 0); - message(caster, "No treat for you!"); - spawn(rbox(location(caster), 3), caster, 1010, 0, 1 + random(3), 10000 + random(20000)); - FOREACH MOB target IN rbox(location(caster), 5) DO - (sfx(target, 5, 0); - aggravate(target, 0, caster);)) |