summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 399d6ed97..74d817a83 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -275,6 +275,20 @@ function script HUB_Logout {
if (PC_DIE_COUNTER <= 1 && .@dead) {
dispbottom l("Dying outside a town square will cause EXP loss.");
}
+ // Died or logged out at Ritual Cave
+ if (getq(LoFQuest_Inspector) == ROSSY_QUESTST) {
+ if (@rossylock)
+ delcells("Rossy"+getcharid(0)+"Wall");
+ @rossylock=false;
+ setq2 LoFQuest_Inspector, 0;
+ if (.@dead) {
+ deltimer("#RossyQuest::OnTick1");
+ deltimer("#RossyQuest::OnTick2");
+ deltimer("#RossyQuest::OnTick3");
+ deltimer("#RossyQuest::OnTick4");
+ deltimer("#RossyQuest::OnTick5");
+ }
+ }
// If you were travelling and died/logged out, cleaning is needed
if (@timer_navio_running) {
@timer_navio_running=0;