Commit Graph

4 Commits

Author SHA1 Message Date
Agetian
1772faae3f - Restructured the logic of AI planar die rolls a little bit.
- Added a way to specify the minimum turn in which it is viable to start rolling a planar die for a particular plane. Added this setting to some planes which require a bit more context on the battlefield before their Chaos rolls start to make sense.
- Added an AI profile variable specifying the minimum turn in which the AI will start rolling the planar die in general unless the plane has an override specified (default AI - on its second turn, reckless AI - on its first turn).
2013-07-04 18:05:07 +00:00
Agetian
abf7382520 - Fixed the logic for the AI planar die roll chance.
- Added an ability to set a chance for the AI hesitating to roll a planar die (default AI at 10%, reckless AI at 0%).
2013-07-04 15:47:32 +00:00
Agetian
2fe6482730 - Modified the default AI profile to account for the new properties as well as for the change of the mulligan threshold property name.
- Added a new AI profile (Reckless) that mulligans more aggressively and rolls planar dice more aggressively.
2013-07-04 15:02:39 +00:00
Agetian
94c36b571a - Reintegrate merge: AIPersonalities --> trunk.
- The primary API for AI personalities is now in place. AI properties are implemented in forge.game.ai.AiProps and are retrieved via a call to one of AiController.getProperty, AiController.getIntProperty, or AiController.getBooleanProperty depending on the type of property (AI controller can be retrieved via a getAi() call on the AI player object). Each property can be assigned on a per-profile basis in res/ai/*.ai profile files. A profile can be selected in the game properties. For an example implementation of a property, see AI_MULLIGAN_THRESHOLD implemented in AiProps and retrieved in ComputerUtil.
- Currently there is one property only, but more are on the way. Everyone is also free to expand as necessary. Specific AI profiles for specific quest opponents will be implemented at a later date.
2013-03-19 02:40:58 +00:00