summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-21 15:02:30 -0300
committerJesusaves <cpntb1@ymail.com>2020-08-05 03:25:41 -0300
commit67ef1a35c7714e78f8f085f861fdf6d9fb738276 (patch)
tree05ab4d21a5787c4e598daf7be706accc8470233b
parent95d6ca0884f94e164eac305d0b3055c3f4b044e4 (diff)
downloadserverdata-67ef1a35c7714e78f8f085f861fdf6d9fb738276.tar.gz
serverdata-67ef1a35c7714e78f8f085f861fdf6d9fb738276.tar.bz2
serverdata-67ef1a35c7714e78f8f085f861fdf6d9fb738276.tar.xz
serverdata-67ef1a35c7714e78f8f085f861fdf6d9fb738276.zip
Add to @debug an option to make the account a Legacy account (for testing)
It does not accepts any arguments right now, and is only for sake of testing
-rw-r--r--npc/commands/debug.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt
index 50adf5e8..8cc1f1cd 100644
--- a/npc/commands/debug.txt
+++ b/npc/commands/debug.txt
@@ -103,6 +103,7 @@ function script GlobalDebugMenu {
menuimage("actions/add", l("Create items")),
menuimage("actions/add", l("Get money")),
menuimage("actions/edit", l("Change my quests")),
+ rif(debug, menuimage("actions/reset", l("Set Legacy Account"))),
menuimage("actions/reset", l("Reset")),
rif(getarg(0,0), menuimage("actions/home", l("Return to Super Menu")));
@@ -117,8 +118,9 @@ function script GlobalDebugMenu {
case 5: closeclientdialog; clientcommand "createitems"; end;
case 6: Zeny = 0x7FFFFFFE; break;
case 7: GlobalQuestDebug .@c; break;
- case 8: resetAll; break;
- case 9: return;
+ case 8: setfakelegacyaccount(); break;
+ case 9: resetAll; break;
+ case 10: return;
}
} while(1);
}