Changeset 10244 in orxonox.OLD for branches/ai/src/ai/attack_module.cc
- Timestamp:
- Jan 17, 2007, 12:43:30 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ai/src/ai/attack_module.cc
r10227 r10244 45 45 { 46 46 tickCount=0; 47 randomFreq= 60;47 randomFreq=40; 48 48 } 49 49 … … 100 100 //random movement 101 101 //randomFreq=testValue2; 102 if(++tickCount>=randomFreq && movement.len()<60){102 if(++tickCount>=randomFreq){ 103 103 tickCount=0; 104 104 int x = (rand()%101)-50; //-50-50
Note: See TracChangeset
for help on using the changeset viewer.