summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-24 00:53:36 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-24 00:53:36 -0300
commit4af18cb0cc0b4c3930faa3f521b30b6a93a9dbaa (patch)
tree2f524bbe89b866e88ed902b5862e850dcf6ca927 /npc
parent32f9a3a493f0f0f965a31e2bf8b0af7b9d5863c4 (diff)
downloadserverdata-4af18cb0cc0b4c3930faa3f521b30b6a93a9dbaa.tar.gz
serverdata-4af18cb0cc0b4c3930faa3f521b30b6a93a9dbaa.tar.bz2
serverdata-4af18cb0cc0b4c3930faa3f521b30b6a93a9dbaa.tar.xz
serverdata-4af18cb0cc0b4c3930faa3f521b30b6a93a9dbaa.zip
More alpha bugs
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/grantpower.txt2
-rw-r--r--npc/functions/main.txt10
2 files changed, 7 insertions, 5 deletions
diff --git a/npc/commands/grantpower.txt b/npc/commands/grantpower.txt
index 0e678657c..ac48c10b7 100644
--- a/npc/commands/grantpower.txt
+++ b/npc/commands/grantpower.txt
@@ -11,7 +11,7 @@ OnCall:
.@request$ = "";
.@request$ += implode(.@atcmd_parameters$, " ");
if (is_admin()) {
- if (.@request$ == "" && !$LEGENDARYINIT) {
+ if (!$LEGENDARYINIT) {
inventoryplace Lightbringer, 3; // Script Handled: LB and AS
getitembound DemureAxe, 1, 1;
getitembound Tyranny, 1, 1;
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 3ac90ac61..6ebaf0e96 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -347,11 +347,13 @@ function script Exception {
if (.@gf & RB_GLOBALANNOUNCE)
announce("Error in script: "+.@msg$, bc_all);
- if (.@gf & RB_PLEASEREPORT|RB_DISPBOTTOM)
- dispbottom("Please take a screenshot and report this bug, explaining how it happened.");
+ if (.@gf & RB_PLEASEREPORT) {
+ if (.@gf & RB_DISPBOTTOM)
+ dispbottom("Please take a screenshot and report this bug, explaining how it happened.");
- if (.@gf & RB_PLEASEREPORT|RB_SPEECH)
- mesc("Please take a screenshot and report this bug, explaining how it happened."), 1;
+ if (.@gf & RB_SPEECH)
+ mesc("Please take a screenshot and report this bug, explaining how it happened."), 1;
+ }
if (.@gf & RB_ISFATAL) {
if (.@gf & RB_SPEECH) {