From d42c5abada38ebeea92e2109b8c1b6aac1a167e5 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 1 Mar 2019 20:06:13 -0300 Subject: Special() biom: May have fog instead of monster attack. --- npc/011-3/flood.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'npc/011-3/flood.txt') diff --git a/npc/011-3/flood.txt b/npc/011-3/flood.txt index 0fd0212f5..2d1d0abbb 100644 --- a/npc/011-3/flood.txt +++ b/npc/011-3/flood.txt @@ -3,7 +3,7 @@ // Jesusalva // Description: // Controls Eternal Swamps. -// Contains functions to flood the map (hide the bridges - mask 1024) +// Contains functions to flood the map (hide the bridges - mask 1024 + mask 2) // Flood happens at random and causes BluePar to be spawn. Runs every 6/4 minutes. // At the 6th minute of an hour (6, 16, 26, 36, 46, 56) // At the 2nd minute of an hour (2, 14 ... 44, 54) @@ -15,7 +15,7 @@ OnSwampMob: end; OnInit: - addmapmask "011-3", 1024; + addmapmask "011-3", MASK_SPECIAL; end; OnMinute02: @@ -30,12 +30,12 @@ OnMinute42: OnMinute46: OnMinute52: OnMinute56: - .@fd=!(getmapmask("011-3")&1024); // .@fd - is flooded? + .@fd=!(getmapmask("011-3")&MASK_SPECIAL); // .@fd - is flooded? if (.@fd) { // If it is flooded, unflood it to prevent players getting struck for too long killmonster("011-3", "#EternalSwampCore::OnSwampMob"); - addmapmask "011-3", 1024; + addmapmask "011-3", MASK_SPECIAL; delcells "EterSwampBridge1"; delcells "EterSwampBridge2"; delcells "EterSwampBridge3"; @@ -52,7 +52,7 @@ OnMinute56: // Maybe we should flood it if (rand(0,100) < .@odds) { - removemapmask "011-3", 1024; + removemapmask "011-3", MASK_SPECIAL; setcells "011-3", 37, 22, 39, 24, 3, "EterSwampBridge1"; setcells "011-3", 37, 34, 39, 41, 3, "EterSwampBridge2"; -- cgit v1.2.3-70-g09d2