- Timestamp:
- Apr 12, 2021, 8:51:39 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/binaries/data/mods/public/simulation/components/tests/test_UnitAI.js
r25208 r25235 150 150 }); 151 151 152 AddMock(SYSTEM_ENTITY, IID_ObstructionManager, {153 "IsInTargetRange": () => true,154 "IsInPointRange": () => true155 });156 157 152 var unitAI = ConstructComponent(unit, "UnitAI", { "FormationController": "false", "DefaultStance": "aggressive" }); 158 153 … … 195 190 "CanAttack": function(v) { return true; }, 196 191 "CompareEntitiesByPreference": function(a, b) { return 0; }, 192 193 197 194 }); 198 195 … … 371 368 "CanAttack": function(v) { return true; }, 372 369 "CompareEntitiesByPreference": function(a, b) { return 0; }, 370 371 372 373 373 }); 374 374
Note:
See TracChangeset
for help on using the changeset viewer.