summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2014-10-23 22:16:21 -0500
committerWushin <pasekei@gmail.com>2014-10-23 22:16:21 -0500
commitbae292b5f3edba4ea3cc9958340e52273f154480 (patch)
tree9e68c36e20562cdfccdfe6a49c3e20ab3d7436fb /world
parente4508fda7b128274fd7853792632d0db5853a967 (diff)
parente1d839df1e66040a956f367a6973bc85c7f4be0e (diff)
downloadserverdata-bae292b5f3edba4ea3cc9958340e52273f154480.tar.gz
serverdata-bae292b5f3edba4ea3cc9958340e52273f154480.tar.bz2
serverdata-bae292b5f3edba4ea3cc9958340e52273f154480.tar.xz
serverdata-bae292b5f3edba4ea3cc9958340e52273f154480.zip
Merge pull request #175 from mekolat/debugfix
add debug spell
Diffstat (limited to 'world')
-rw-r--r--world/map/conf/magic-quickdebug.sex3
-rwxr-xr-xworld/map/npc/functions/debug.txt24
2 files changed, 15 insertions, 12 deletions
diff --git a/world/map/conf/magic-quickdebug.sex b/world/map/conf/magic-quickdebug.sex
index 8b6e5939..63ff5ada 100644
--- a/world/map/conf/magic-quickdebug.sex
+++ b/world/map/conf/magic-quickdebug.sex
@@ -1,3 +1,6 @@
"--------------------------------------------------------------------------------"
"Quickdebug Spells"
"--------------------------------------------------------------------------------"
+(SPELL (NONMAGIC SILENT) debug0 "#debug" ()
+ (EFFECT
+ (SCRIPT "{if(!debug)end;callfunc \"Debug\";}")))
diff --git a/world/map/npc/functions/debug.txt b/world/map/npc/functions/debug.txt
index b4a66314..a41633fc 100755
--- a/world/map/npc/functions/debug.txt
+++ b/world/map/npc/functions/debug.txt
@@ -916,62 +916,62 @@ L_Close:
}
-042-2.gat,30,26,0|script|Debug0|154,
+042-2.gat,30,26,0|script|Debug#0|154,
{
callfunc "Debug";
end;
OnInit:
if (!debug)
- disablenpc "Debug0";
+ disablenpc "Debug#0";
end;
}
-001-1.gat,41,29,0|script|Debug1|154,
+001-1.gat,41,29,0|script|Debug#1|154,
{
callfunc "Debug";
end;
OnInit:
if (!debug)
- disablenpc "Debug1";
+ disablenpc "Debug#1";
end;
}
-009-1.gat,52,33,0|script|Debug2|154,
+009-1.gat,52,33,0|script|Debug#2|154,
{
callfunc "Debug";
end;
OnInit:
if (!debug)
- disablenpc "Debug2";
+ disablenpc "Debug#2";
end;
}
-020-1.gat,75,85,0|script|Debug3|154,
+020-1.gat,75,85,0|script|Debug#3|154,
{
callfunc "Debug";
end;
OnInit:
if (!debug)
- disablenpc "Debug3";
+ disablenpc "Debug#3";
end;
}
-017-9.gat,21,24,0|script|Debug4|154,
+017-9.gat,21,24,0|script|Debug#4|154,
{
callfunc "Debug";
end;
OnInit:
if (!debug)
- disablenpc "Debug4";
+ disablenpc "Debug#4";
end;
}
-027-2.gat,125,103,0|script|Debug5|154,
+027-2.gat,125,103,0|script|Debug#5|154,
{
callfunc "Debug";
end;
OnInit:
if (!debug)
- disablenpc "Debug5";
+ disablenpc "Debug#5";
end;
}