Skip to content

Commit 77661d3

Browse files
committed
update traitors challenge - fix tft1 oob
1 parent 079d3e5 commit 77661d3

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

reactivedrop/content/traitors_challenge/scripts/vscripts/challenge_traitors_map_handler.nut

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,16 @@ function SetMapHandler() {
813813
if (temp.z > 250) {
814814
hMarine.TakeDamage(1, DAMAGE_TYPE.DMG_FALL, null);
815815
}
816+
if (temp.x < 890 && ((temp.x>365&&temp.y>2662) || temp.y > 3085)) { //防止下地底
817+
hMarine.TakeDamage(50, DAMAGE_TYPE.DMG_FALL, null);
818+
}
819+
820+
if (g_int_MapKillCounter[0] == INT_MAX && (temp.x >= -4350 && temp.x <= -4100) && temp.y >= 2365) {
821+
g_int_MapKillCounter[0] = g_int_Counter + 600;
822+
}
823+
if (g_int_Counter > g_int_MapKillCounter[0] && !(temp.x <= -3100 && temp.y >= 1400 && temp.z >= -500)) {
824+
hMarine.TakeDamage(10, DAMAGE_TYPE.DMG_FALL, null);
825+
}
816826
}
817827
};
818828
break;

0 commit comments

Comments
 (0)