[nexuiz-commits] r8196 - trunk/data/qcsrc/server/bot
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Oct 31 23:00:50 EDT 2009
Author: mand1nga
Date: 2009-10-31 23:00:49 -0400 (Sat, 31 Oct 2009)
New Revision: 8196
Modified:
trunk/data/qcsrc/server/bot/bot.qc
Log:
Fixed some typos
Modified: trunk/data/qcsrc/server/bot/bot.qc
===================================================================
--- trunk/data/qcsrc/server/bot/bot.qc 2009-10-31 21:29:50 UTC (rev 8195)
+++ trunk/data/qcsrc/server/bot/bot.qc 2009-11-01 03:00:49 UTC (rev 8196)
@@ -167,25 +167,26 @@
self.bot_forced_team = stof(argv(5));
prio = 6;
-#define READSKILL(f,w,r) if(argv(prio) != "") self.f = stof(argv(prio)) * (w); else self.f = (!cvar("g_campaign")) * (2 * random() - 1) * (r) * (w); ++prio
+
+ #define READSKILL(f,w,r) if(argv(prio) != "") self.f = stof(argv(prio)) * (w); else self.f = (!cvar("g_campaign")) * (2 * random() - 1) * (r) * (w); ++prio
//print(bot_name, ": ping=", argv(9), "\n");
- READSKILL(havocbot_keyboardskill, 0.5, 0.5); // keyboards kill
- READSKILL(bot_moveskill, 2, 0); // moves kill
- READSKILL(bot_dodgeskill, 2, 0); // dodges kill
+ READSKILL(havocbot_keyboardskill, 0.5, 0.5); // keyboard skill
+ READSKILL(bot_moveskill, 2, 0); // move skill
+ READSKILL(bot_dodgeskill, 2, 0); // dodge skill
- READSKILL(bot_pingskill, 0.5, 0); // pings kill
+ READSKILL(bot_pingskill, 0.5, 0); // ping skill
- READSKILL(bot_weaponskill, 2, 0); // weapons kill
- READSKILL(bot_aggresskill, 1, 0); // aggres kill
- READSKILL(bot_rangepreference, 1, 0); // reads kill
+ READSKILL(bot_weaponskill, 2, 0); // weapon skill
+ READSKILL(bot_aggresskill, 1, 0); // aggre skill
+ READSKILL(bot_rangepreference, 1, 0); // read skill
- READSKILL(bot_aimskill, 2, 0); // aims kill
- READSKILL(bot_offsetskill, 2, 0.5); // offsets kill
- READSKILL(bot_mouseskill, 1, 0.5); // mouses kill
+ READSKILL(bot_aimskill, 2, 0); // aim skill
+ READSKILL(bot_offsetskill, 2, 0.5); // offset skill
+ READSKILL(bot_mouseskill, 1, 0.5); // mouse skill
- READSKILL(bot_thinkskill, 1, 0.5); // thinks kill
- READSKILL(bot_aiskill, 2, 0); // "ai"s kill
+ READSKILL(bot_thinkskill, 1, 0.5); // think skill
+ READSKILL(bot_aiskill, 2, 0); // "ai" skill
self.bot_config_loaded = TRUE;
More information about the nexuiz-commits
mailing list