From b645914b726a9f401a44f3883e9e3ba9e7e35b42 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 30 May 2021 21:21:11 -0300 Subject: Fix typos, and force HurnscaldQuest_Celestia to be reset on death/logout --- npc/functions/hub.txt | 3 +++ npc/functions/politics.txt | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'npc/functions') 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; -- cgit v1.2.3-70-g09d2