summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-01 04:43:48 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-01 04:43:48 -0300
commitf020e29db429743bcb2326d7ef53f5bdb5c0182d (patch)
tree68b8270303cbf9d814d1a5bb96abaa89bf89ae03
parent59eb64fb145ecaf0ee405f77460d6366acbc8b7b (diff)
downloadserverdata-f020e29db429743bcb2326d7ef53f5bdb5c0182d.tar.gz
serverdata-f020e29db429743bcb2326d7ef53f5bdb5c0182d.tar.bz2
serverdata-f020e29db429743bcb2326d7ef53f5bdb5c0182d.tar.xz
serverdata-f020e29db429743bcb2326d7ef53f5bdb5c0182d.zip
Add $BETASERVER spec (currently, no effect)
-rw-r--r--npc/003-3/malindou.txt2
-rw-r--r--npc/029-0/event.txt8
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;