git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6815 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2012-05-30 23:01:10 +00:00
parent cc70969c29
commit 299214c1e3
+6 -3
View File
@@ -61,7 +61,7 @@ const survival [
setOfcZones; checkzone
]
setbottimeout 2 $MAX_BOT_MATCH_LENGTH
votemap (btdm 1) $arg1
votemap (btdm -1) $arg1
]
const startSurvival [
@@ -142,8 +142,10 @@ const startOBCount [
const increaseDifficulty [
lastCheckPoint = (millis)
if (<= (+ $survNumBots $survBotsToAdd) $survMaxBots) [ += survNumBots $survBotsToAdd; addnbot $survBotsToAdd CLA best ] [ tmpSurvInt = (- $survMaxBots $survNumBots); += survNumBots $tmpSurvInt; addnbot $tmpSurvInt CLA best ]
if (< $curSurvDifficulty 4) [ += curSurvDifficulty 1; botskillall (at "bad worse medium good best" $curSurvDifficulty) ]
if (curmodeattr bot) [
if (<= (+ $survNumBots $survBotsToAdd) $survMaxBots) [ += survNumBots $survBotsToAdd; addnbot $survBotsToAdd CLA best ] [ tmpSurvInt = (- $survMaxBots $survNumBots); += survNumBots $tmpSurvInt; addnbot $tmpSurvInt CLA best ]
if (< $curSurvDifficulty 4) [ += curSurvDifficulty 1; botskillall (at "bad worse medium good best" $curSurvDifficulty) ]
]
]
const endSurvival [
@@ -160,6 +162,7 @@ const endSurvival [
echo $tmp_survstr
if (&& $spamSurvMsgs $survKills) [ hudecho (green)GG ]
]
if (curmodeattr bot) [ kickallbots ]
tdm (rndmap)
]