summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/011-3/flood.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/npc/011-3/flood.txt b/npc/011-3/flood.txt
index 2d1d0abbb..326ba03ac 100644
--- a/npc/011-3/flood.txt
+++ b/npc/011-3/flood.txt
@@ -66,9 +66,28 @@ OnMinute56:
mapannounce "011-3", "Eternal Swamps: A flood starts!",bc_all|bc_npc;
// TODO: Handle players in bridges
+ maptimer("011-3", "#EternalSwampCore::OnBridgeDown", 10);
}
}
+ end;
+
+// Fix players struck by setcells
+OnBridgeDown:
+ if (isin(37, 22, 39, 24))
+ slide 38, 21;
+ else if (isin(37, 34, 39, 41))
+ slide 38, 33;
+ else if (isin(31, 67, 33, 73))
+ slide 32, 65;
+ else if (isin(40, 96, 42, 102))
+ slide 41, 95;
+ else if (isin(38, 130, 40, 136))
+ slide 39, 128;
+ else if (isin(41, 157, 43, 163))
+ slide 42, 155;
+ else if (isin(36, 187, 38, 193))
+ slide 37, 185;
end;
}