03f04e54fc
Fix garrisoning issue.
...
This was SVN commit r11607.
2012-04-21 20:12:52 +00:00
96549e0418
Modified caching behavior to work similarly to how k776 suggested. Also added modification level affects as also suggested by k776.
...
This was SVN commit r11604.
2012-04-21 16:37:35 +00:00
3e3a8d5414
Fix error when no items of a class exist and that class is used for techology requirements.
...
This was SVN commit r11598.
2012-04-21 10:55:02 +00:00
03d625dd2e
Added tech modification for carrying capacity and fixed warning for min range
...
This was SVN commit r11588.
2012-04-20 20:37:12 +00:00
ed6e5bdaf0
Fixed phase detection in GUIInterface and added Armour and Attack tech modification.
...
This was SVN commit r11586.
2012-04-20 19:47:01 +00:00
755e407aeb
Technologies. Refs #3 . Full unlocking technology implementation. Only unit gathering rates can be modified currently because the patch was big enough already.
...
This was SVN commit r11584.
2012-04-20 17:21:04 +00:00
ba17009767
Deposit resources when garrisoned in a dropsite. Patch by MattDoerksen. Fixes #1124 .
...
This was SVN commit r11571.
2012-04-19 20:34:59 +00:00
131d5eb88f
Tweak default healer behaviour, fix a small bug.
...
This was SVN commit r11552.
2012-04-18 18:26:49 +00:00
13281e230d
Handle updates for foundation progress, resource carrying and resource supply amount for AIProxy. Fixes #1327
...
This was SVN commit r11547.
2012-04-18 11:30:28 +00:00
46bf2cac22
Fix remaining issue
...
This was SVN commit r11539.
2012-04-17 21:05:01 +00:00
c56f96040e
Implement healing. Fixes #999 .
...
This was SVN commit r11536.
2012-04-17 20:22:13 +00:00
2312d1379a
Be more robust to invalid positions
...
This was SVN commit r11492.
2012-04-12 22:32:58 +00:00
71a57ed3a7
Allow gathering regardless of resource owner
...
This was SVN commit r11478.
2012-04-10 21:09:21 +00:00
577676810b
Make domestic herd animals controllable by the player
...
This was SVN commit r11471.
2012-04-10 16:37:34 +00:00
2dc3c36ee6
Adds the classes "GarrisonTower" and "GarrisonFortress" to more easily demarcate the buildings the AI wants to garrison for defense.
...
This was SVN commit r11451.
2012-04-08 12:08:21 +00:00
7ff99cc218
Prevent trade with foundations, based on patch by Spahbod, fixes #1215 .
...
This was SVN commit r11440.
2012-04-05 22:00:15 +00:00
a5076c1eb1
Added dummy PostMessage and BroadcastMessage functions for tests
...
This was SVN commit r11439.
2012-04-05 14:13:36 +00:00
7eb5480494
AI common-api-v2 and a qbot which works with the new API but it not fully transitioned to make use of it properly
...
This was SVN commit r11429.
2012-04-04 20:23:41 +00:00
21a39dedfb
Add check to prevent error when ranged attack target is destroyed
...
This was SVN commit r11428.
2012-04-04 20:03:04 +00:00
0d385f4112
Make selected stances and formations more obvious. Patch from leper, fixes #1190 .
...
This was SVN commit r11386.
2012-03-21 16:45:02 +00:00
7934e3ab0b
Fixed missing cmpIdentity null check in Barter.js:60 (causes failure on Isthmus when territory_pull entity is iterated over). Fixes #1199 .
...
This was SVN commit r11309.
2012-03-10 16:34:59 +00:00
4b7a5ac814
Allows garrison heal rate of "0" (disables healing).
...
This was SVN commit r11296.
2012-03-10 04:08:15 +00:00
d1ed264c9b
Fixes stance change during garrison causing instant garrison. Fixes #1184 .
...
Adds range check to garrisoning, with <LoadingRange> element added to
GarrisonHolder. Adds maximum range values to templates (2 for land
units/structures, 10 for ships).
Adds retry to garrison failure due to unreachable target.
Cleans up a few templates.
This was SVN commit r11292.
2012-03-09 23:33:55 +00:00
9a30da9726
Fix the trade tooltips order
...
This was SVN commit r11281.
2012-03-08 21:28:55 +00:00
894dc30c69
Trade. Closes #30 .
...
This was SVN commit r11279.
2012-03-08 20:42:28 +00:00
f3a52dd440
Fixes incorrect and inconsistent tests for undefined.
...
Removes unused buggy GUI script.
Corrects some inconsistent formatting.
This was SVN commit r11241.
2012-03-04 22:59:14 +00:00
06672f0001
This was SVN commit r11229.
2012-03-03 20:47:49 +00:00
acf63afeaa
Fix some whitespace, and spelling, and capitalisation, and unnecessary array wrapping.
...
This was SVN commit r11218.
2012-03-01 23:16:01 +00:00
409f03652e
Fixes animal auto-hunting by removing 10HP limit on possible targets. Units will now look for the same type of animal to hunt (matching templates).
...
This was SVN commit r11055.
2012-02-12 21:18:50 +00:00
b2fd7a54f0
Removes hard-coded choices from Identity.js to allow easy modification of civs, classes and formations. Note: incorrect/misspelled choices will no longer be rejected by the parser.
...
This was SVN commit r11043.
2012-02-10 01:59:25 +00:00
867df2e6c1
Fixed qbot for the scout tower to defense tower rename and updated the build restriction for the defense tower for consistent naming.
...
This was SVN commit r11024.
2012-02-04 23:42:55 +00:00
5919a62564
Rounds applied damages to the nearest integer.
...
This was SVN commit r11000.
2012-02-01 04:11:47 +00:00
7ae3d7b092
This was SVN commit r10969.
2012-01-27 21:25:08 +00:00
bab593fc6b
#New audio additions, notably resource selections and ship selection and death.
...
This was SVN commit r10962.
2012-01-25 02:51:48 +00:00
bc76b0568e
Fix healing for garrisoned units. Fixes #1098 .
...
This was SVN commit r10882.
2012-01-07 07:13:27 +00:00
7cefd9a94c
Template work.
...
Converted Ekdromos to swordsman.
This was SVN commit r10836.
2011-12-30 08:19:00 +00:00
dca6d41d45
Added civ support to the attack bonuses and removed unnecessary classes
...
This was SVN commit r10835.
2011-12-29 22:08:59 +00:00
8b511dd053
#New ATTACK BONUSES code.
...
This was SVN commit r10804.
2011-12-24 03:49:30 +00:00
eb5b3bba10
Fixes broken UnitAI test.
...
This was SVN commit r10775.
2011-12-19 23:09:38 +00:00
bfca6f0b58
Fixes UnitAI attack test for domestic animals. Fixes #1048 .
...
This was SVN commit r10760.
2011-12-18 05:17:34 +00:00
42f0aec84a
Allows setting rally points on resources and buildings. closes #745
...
This was SVN commit r10744.
2011-12-16 16:08:26 +00:00
e62b9b6d8f
Fixed rally point lines being displayed for entities with rally points no longer set. Closes #1043 .
...
This was SVN commit r10743.
2011-12-16 15:14:59 +00:00
db864f10c3
Rendering marker lines between buildings and rally points
...
Added command button to focus on rally point
(implements #524 )
This was SVN commit r10704.
2011-12-10 07:07:04 +00:00
7f22118787
Testing some different barter values.
...
This was SVN commit r10681.
2011-12-06 18:25:40 +00:00
2a44e8202e
Fixes tests after recent GuiInterface and UnitAI changes.
...
This was SVN commit r10603.
2011-11-26 01:58:39 +00:00
8cbab40137
Barter. Closes #23 .
...
This was SVN commit r10588.
2011-11-24 15:43:32 +00:00
9489076c51
Fixes logic error in 8d977e4818
.
...
This was SVN commit r10585.
2011-11-24 01:16:30 +00:00
8d977e4818
Allows building in fog of war. Fixes #958 .
...
This was SVN commit r10584.
2011-11-24 00:58:34 +00:00
f8303b51c5
Fixes gathering after dropsite construction.
...
This was SVN commit r10579.
2011-11-23 04:59:02 +00:00
5cc856aedc
Re-enables build restrictions for AIs since they have basic compliance now.
...
Moves target ownership checks from Commands.js to UnitAI.
Adds more robust target checking in UnitAI by calling CanFoo functions
more frequently.
Adds optional debugging mode to Commands.js (useful for AI developers).
This was SVN commit r10570.
2011-11-22 00:16:35 +00:00