summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-30 21:21:11 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-30 21:21:11 -0300
commitb645914b726a9f401a44f3883e9e3ba9e7e35b42 (patch)
tree2bf8307df08167656cabdb6937d7b1eae20cc297 /npc/functions
parent67776c8baac25a106550eb750c0cab28f96d8629 (diff)
downloadserverdata-b645914b726a9f401a44f3883e9e3ba9e7e35b42.tar.gz
serverdata-b645914b726a9f401a44f3883e9e3ba9e7e35b42.tar.bz2
serverdata-b645914b726a9f401a44f3883e9e3ba9e7e35b42.tar.xz
serverdata-b645914b726a9f401a44f3883e9e3ba9e7e35b42.zip
Fix typos, and force HurnscaldQuest_Celestia to be reset on death/logout
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt3
-rw-r--r--npc/functions/politics.txt4
2 files changed, 5 insertions, 2 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index a2a981da9..5263a62c7 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -214,6 +214,9 @@ function script HUB_Logout {
setq1 HurnscaldQuest_Sagratha, 3;
setq3 HurnscaldQuest_Sagratha, 0;
}
+ // Died or logged out during Yeti King Fight
+ if (getq(HurnscaldQuest_Celestia) > 1)
+ setq HurnscaldQuest_Celestia, 1;
// First death produces a warning message
if (PC_DIE_COUNTER <= 1 && .@dead) {
dispbottom l("Dying outside a town square will cause EXP loss.");
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt
index 455cd463a..0a35d2458 100644
--- a/npc/functions/politics.txt
+++ b/npc/functions/politics.txt
@@ -374,7 +374,7 @@ function script POL_TownInfo {
-// Town Managment
+// Town Management
// POL_Manage( TOWNCODE )
function script POL_Manage {
.@town$="$"+getarg(0);
@@ -570,7 +570,7 @@ function script POL_Manage {
}
detachrid();
attachrid(.@you);
- kamibroadcast(sprintf("%s has ANNULED THE EXILE %s from %s.",
+ kamibroadcast(sprintf("%s has ANNULLED THE EXILE %s from %s.",
.@MAYOR$, .@ex$, getarg(0)));
TOWN_ACTIONS[.@TP]+=6;
break;