fix/better zone for ac_stellar

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6830 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2012-06-07 06:10:15 +00:00
parent d5a8c6e835
commit 13da83da1a
+4 -4
View File
@@ -31,7 +31,7 @@ const genSurvDifStr [
const survival [
kickallbots; if (! (curteam)) [ team RVSF ]; if (> $numargs 1) [ survSetDif $arg2 ]
tmpSurvSets = $survNumBots; curSurvDifficulty = 0; survLastKill = ""; survTimeBetKills = ""; resetSurvAliases; storesets "gamma" survOrigSets
tmpSurvSets = $survNumBots; curSurvDifficulty = 0; survLastKill = ""; survTimeBetKills = ""; resetSurvAliases
if (! (checkalias onKill)) [ onKill = "" ]
if (! (strstr $onKill survKills)) [
add2alias onKill [ // Use onKill for enemies killed counter and other stats
@@ -55,7 +55,7 @@ const survival [
]
]
add2alias mapstartonce [
startPreSurvMillis = (millis); add2list tmpSurvSets (curmap 1)
startPreSurvMillis = (millis); add2list tmpSurvSets (curmap 1); sleep 3 [ storesets "gamma" survOrigSets ]
echo (genSurvDifStr) (yellow)Bot survival mode prepared, gather items and find the arena to start! (orange)You have (white) (div $timeUntilTele 1000) (orange)seconds to prepare!
if (strstr $defaultmaps (curmap 1)) [ survMap = (findlist $defaultmaps (curmap 1)) ]
setOfcZones; checkzone
@@ -100,7 +100,7 @@ const survOfcZones [
ac_scaffold 62 91 49 63
ac_shine 99 124 79 106
ac_snow 17 54 102 127
ac_stellar 158 184 49 102
ac_stellar 85 124 52 131
ac_sunset 148 183 102 127
ac_toxic 72 114 120 147
ac_urban 135 200 45 90
@@ -197,7 +197,7 @@ const increaseDifficulty [
const endSurvival [
tmp_survstr = $arg1; survIsFinished = 1; startedSurvival = 0; survNumBots = (at $tmpSurvSets 0)
add2alias mapstartonce [
gamma (at $survOrigSets 0); gamespeed 100
if (! $dyngamma) [ gamma (at $survOrigSets 0) ]; gamespeed 100
if (&& (strstr $tmp_survstr " You survived for ") (strstr $tmp_survstr " enemies. Average: ")) [
echo (green)Bot Survival results for map: (white) (at $tmpSurvSets 1)
if (!= (at $tmpSurvSets 2) (at $tmpSurvSets 3)) [