summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/debug.txt1
-rw-r--r--npc/commands/grantpower.txt4
2 files changed, 3 insertions, 2 deletions
diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt
index 70d0d8392..5ffb409bb 100644
--- a/npc/commands/debug.txt
+++ b/npc/commands/debug.txt
@@ -7,6 +7,7 @@ function script GlobalDebugMenu {
resetstatus;
resetskill;
resetlvl 1;
+ dispbottom b("ALL PERMANENT STATUS BOOSTS WERE ALSO RESET");
dispbottom l("Reset done!");
if (getarg(0,0) == 3) {
closedialog;
diff --git a/npc/commands/grantpower.txt b/npc/commands/grantpower.txt
index ac48c10b7..3ce37e47b 100644
--- a/npc/commands/grantpower.txt
+++ b/npc/commands/grantpower.txt
@@ -22,7 +22,7 @@ OnCall:
}
// Player is not attached
- .@id = getcharid(0, .@request$);
+ .@id = getcharid(3, .@request$);
if (!.@id) {
Exception("Player not found.", RB_ISFATAL|RB_DISPBOTTOM);
}
@@ -43,7 +43,7 @@ OnCall:
rif(countitem(AegisShield), l("Aegis Shield")), AegisShield,
l("Abort"), 0;
mes "";
- .@ori=getcharid(0);
+ .@ori=getcharid(3);
.@ite=@menuret;
if (!.@ite)
close;