diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-01 21:01:27 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-01 21:01:27 -0300 |
commit | 87ae41226d3858b2cacd16555d0e515b6236a2bb (patch) | |
tree | de77f6406573e4447980f01431e12d0bd1faae17 /npc/011-3 | |
parent | 77f418ccc63ea813488f96b0c28366abb5a9dbbd (diff) | |
download | serverdata-87ae41226d3858b2cacd16555d0e515b6236a2bb.tar.gz serverdata-87ae41226d3858b2cacd16555d0e515b6236a2bb.tar.bz2 serverdata-87ae41226d3858b2cacd16555d0e515b6236a2bb.tar.xz serverdata-87ae41226d3858b2cacd16555d0e515b6236a2bb.zip |
Players struck in collision by setcells will have their position slided
They'll end up in the northest island.
Diffstat (limited to 'npc/011-3')
-rw-r--r-- | npc/011-3/flood.txt | 19 |
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; } |