From c4430fb3b870ac2def588efe638abba1dbcdf3a9 Mon Sep 17 00:00:00 2001 From: remoitnane Date: Sat, 14 Aug 2010 12:10:48 -0700 Subject: Update scripts to reflect gmcommand's simplification If you are using mainline TMW-eAthena, you will have to update your scripts as well. Signed-off-by: Chuck Miller --- conf/magic.conf.template | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'conf') diff --git a/conf/magic.conf.template b/conf/magic.conf.template index f71c7be0..931fb678 100644 --- a/conf/magic.conf.template +++ b/conf/magic.conf.template @@ -1336,10 +1336,10 @@ CONST E10_FLAG_USED_FREE_WARP_SHIFT = 17 # (REQUIRE name_of(caster) == "Xakelbael the Dark") => # EFFECT warp(caster, @("028-1.gat", 139, 46)); # { -# gmcommand strcharinfo(0)+":@blvl -255"; -# gmcommand strcharinfo(0)+":@blvl 199"; -# gmcommand strcharinfo(0)+":@setmagic all 5 Xakelbael the Dark"; -# gmcommand strcharinfo(0)+":@allstats"; +# gmcommand "@blvl -255"; +# gmcommand "@blvl 199"; +# gmcommand "@setmagic all 5 Xakelbael the Dark"; +# gmcommand "@allstats"; # savepoint "028-1.gat", 130, 46; # } # create_item(caster, "DarkTalisman", 1); @@ -1390,7 +1390,7 @@ CONST E10_FLAG_USED_FREE_WARP_SHIFT = 17 # (REQUIRE name_of(caster) == "Xakelbael the Dark") => # EFFECT FOREACH PC p IN rbox(location(caster), 50) DO IF (p <> caster) # THEN ( script_target = p; -# { gmcommand strcharinfo(0)+":@jump"; } +# { gmcommand "@jump"; } # message(p, "A powerful force sends you flying!"); # ) # warp(caster, @("028-1.gat", 130, 46)); @@ -1451,7 +1451,7 @@ CONST E10_FLAG_USED_FREE_WARP_SHIFT = 17 # ELSE IF (t == "s") THEN ( warp(caster, @("028-1.gat", 69, 96)); ) # ELSE IF (t == "c") THEN ( warp(caster, @("028-3.gat", 50, 58)); ) # ELSE IF (t == "t") THEN ( warp(caster, @("009-1.gat", 48, 35)); ) -# ELSE { gmcommand strcharinfo(0)+":@jump"; }; +# ELSE { gmcommand "@jump"; }; #NONMAGIC SILENT SPELL easter-invader-taunt-local (s : STRING) : "#l" = # (REQUIRE name_of(caster) == "Xakelbael the Dark") => @@ -1509,11 +1509,11 @@ NONMAGIC SILENT SPELL world-shift : "#S00" = #NONMAGIC SILENT SPELL easter-invader-killer : "#z" = # (REQUIRE name_of(caster) == "Xakelbael the Dark") => -# EFFECT { gmcommand strcharinfo(0)+"@killer"; } +# EFFECT { gmcommand "@killer"; } #NONMAGIC SILENT SPELL easter-invader-killable : "#x" = # (REQUIRE name_of(caster) == "Xakelbael the Dark") => -# EFFECT { gmcommand strcharinfo(0)+"@killable"; } +# EFFECT { gmcommand "@killable"; } #NONMAGIC SILENT SPELL easter-debug-reset (s : STRING) : "#r" = # (REQUIRE name_of(caster) == "Freeyorp") => -- cgit v1.2.3-60-g2f50