From f020e29db429743bcb2326d7ef53f5bdb5c0182d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 1 Apr 2021 04:43:48 -0300 Subject: Add $BETASERVER spec (currently, no effect) --- npc/003-3/malindou.txt | 2 ++ npc/029-0/event.txt | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 61cdc4d86..193fb4bd9 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -67,6 +67,8 @@ OnInit: $BCONFB_DROP = 100; $BCONFN_DROP = 7; $BCONFD_DROP = 0; + $BETASERVER = false; + $AUTORESTART = false; $FIRESOFSTEAM[1] = 2000; $FIRESOFSTEAM[2] = 2000; $FIRESOFSTEAM[3] = 2000; diff --git a/npc/029-0/event.txt b/npc/029-0/event.txt index abaf56a8a..e99af2013 100644 --- a/npc/029-0/event.txt +++ b/npc/029-0/event.txt @@ -5,11 +5,11 @@ // Exclusive for Fires of Steam 2021 - When our OVH server datacenter got fire. 029-0,111,37,0 script Alliance Hero#FoS NPC_HALBERDBARBARIAN,{ - if (gettime(7) != 2021 || !$FIRESOFSTEAM) { + // No one is supposed to be able to reach NPC if event did not happen + if (!$FIRESOFSTEAM) { disablenpc .name$; die(); end; } - compareandsetq TulimsharQuest_DarkInvocator, 0, 4; mesn; mesq l("Sooo, the police station of Moubootaur Legends went ablaze. Constable Perry is too busy to monitor illegal operation on this continent."); next; @@ -128,7 +128,7 @@ OnInit: sellitem Root, -1, 40+$FIRESOFSTEAM-1; sellitem ManaPiouFeathers, -1, 1+rand2(300)+$FIRESOFSTEAM; - if ($EVENT$ != "Steam") + if (!$BETASERVER && !debug) disablenpc .name$; if ($FIRESOFSTEAM && gettime(7) == 2021 &&!$@FOS_MOBDROP) { @@ -162,6 +162,8 @@ OnClock1401: OnClock1601: OnClock1801: OnClock2001: + if ($EVENT$ != "Steam") + end; OnClock2201: .mobp=rand2(1000, 2500); .mobg=.mobp*rand2(100, 150)/10; -- cgit v1.2.3-60-g2f50