Sloth
08f1ba8186
- Fixed more cards calculating with LKI values.
2013-07-06 20:45:41 +00:00
Sloth
135239eabe
- Fixed Deadshot.
2013-07-06 20:11:55 +00:00
Maxmtg
ec838bb8a1
reverted checkstatic abilities after resolving a subability
2013-07-06 19:38:47 +00:00
Chris
52bc9b6326
- Added new card names to changes.txt.
2013-07-06 12:50:46 +00:00
Maxmtg
e7eff63585
added call to checkStaticAbilities to changeZone - this will take into consideration creatures' static abilities before firing ETB trigger.
...
removed same calls where they would be duplicate (player.playLand, AbilityUtils.resolveSubAbilities)
2013-07-06 09:22:15 +00:00
Agetian
21222511dd
- Added proper AI battlefield conditions for Akoum.
...
- Minor comment modification.
2013-07-06 09:00:26 +00:00
Agetian
ffb7924585
- Code simplification in RollPlanarDiceAi.
2013-07-06 05:24:26 +00:00
Maxmtg
990f7ab9dc
removed some excessive calls to checkStaticAbilities. (keep in mind they are always checked on priority along with state-based actions)
2013-07-05 22:55:23 +00:00
Maxmtg
30f85737c8
Rampage turned into api-based scripted effect
...
scripted witch_maw_nephilim.txt 2nd ability and removed hardcode
added some syntax sugar in TriggerType.java
2013-07-05 22:06:23 +00:00
Sloth
f1f196585d
- Fixed Blood Tyrant.
2013-07-05 21:38:19 +00:00
Sloth
7bbeed304f
- Fixed a bug in canPlayAI of ClashAI.
2013-07-05 21:36:12 +00:00
Sloth
bdbe7b25eb
- Fixed Vendetta and Devour in Shadow calculating LKI toughness.
2013-07-05 21:32:04 +00:00
Maxmtg
d6e3576203
Alphabetically sorted trigger types
2013-07-05 20:56:04 +00:00
Maxmtg
c0411273a9
Flanking - converted to script (to use Pump API and it's ui updates already set up)
...
checkStateEffects - removed many calls leaving only the ones clearly stated by rules, in most cases calls replaced by checkStaticAbilities
in checkStateEffects - extracted some method performing certain state actions
2013-07-05 20:40:53 +00:00
Maxmtg
789cae29eb
Umbra stalker - converted to script
...
inlined some chroma-related routines, and related to card list
2013-07-05 19:01:39 +00:00
Agetian
d668d9c3bb
- Added some conditions to the AI for rolling a planar die.
...
- Some of the planes will now be used more intelligently by the AI depending on battlefield conditions.
- Some AI hint fixes for planes.
2013-07-05 18:49:47 +00:00
Maxmtg
4b8effe250
Added exceptions to constructor of PaperCard to prevent creation of illegal instances without set
2013-07-05 18:27:18 +00:00
Maxmtg
896a9a0a23
fix NPE happening at CHand init
2013-07-05 18:23:47 +00:00
Sloth
a28929bc36
- Fixed AI dodging the payment of AlternateAdditionalCost.
2013-07-05 18:13:53 +00:00
Sloth
59606709a6
- Fixed cards without set causing NPE's when foiled.
2013-07-05 18:05:45 +00:00
Sloth
5398d53408
- Added AI support for Fight triggers (Gruul Ragebeast).
2013-07-05 16:25:17 +00:00
Maxmtg
31e272711f
Static abilities update: excludes from event cards in hidden zones like library (that won't be drawn anyway)
...
currentZone field added to card, it's a shortcut used to avoid enumeration of cards in all zones to find the requested one
2013-07-05 16:23:38 +00:00
Maxmtg
b12abc4533
Events are fired when static abilities recalculate
2013-07-05 15:06:15 +00:00
Maxmtg
628430f0e9
Bushido also uses cardscript with API = pump
2013-07-05 13:30:04 +00:00
Maxmtg
1f3501d8de
Log_events moved to Game class (as they are submitted there)
...
Pump and PumpAll effects now fire update card stats event - for both start of effect and end of it.
Exalted effect - refactored to use scripted ability (the script is hardcoded)
toString routines for some events
2013-07-05 13:07:54 +00:00
Agetian
7e3858ef31
- Added a way to deprioritize the AI planar die roll compared to casting spells for mana.
...
- Made the AI roll the die for some of the planes multiple times (but only after casting spells).
- Some other optimizations and modifications of the plane AI hints.
2013-07-05 12:59:51 +00:00
jsv
b8613c5cdf
Fixed Imperiosaur's cost restriction.
2013-07-05 06:37:18 +00:00
Agetian
8b8bb25717
- Added info about the Planechase AI extension to the list of changes.
2013-07-05 05:34:37 +00:00
Agetian
3871508385
- Fixed the AI hint for Grixis.
2013-07-05 05:23:06 +00:00
Agetian
32a5f4389b
- Consolidating AI hints for planes in Planechase into a single "AIRollPlanarDieParams" parameter.
...
- Adding a foundation for the condition specifications in AI hints for planes.
- Code simplification in RollPlanarDiceAi.
2013-07-05 05:20:40 +00:00
Maxmtg
fadaedc382
excessive calls to SBE check removed
2013-07-05 05:19:14 +00:00
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
Sloth
37d4245363
- Fixed Soul's Fire.
2013-07-04 16:41:04 +00:00
Sloth
2e8bb882eb
- Fixed AnimateAi.
2013-07-04 16:09:15 +00:00
Agetian
73834a4455
- Added an extra break to the planar die AI logic (so that part doesn't break inadvertently with further changes).
2013-07-04 15:48:55 +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
6ebfe9b630
- Adding AI hint SVars to Planechase plane cards. Most planes are set to "roll once each turn" for the AI right now, which seems to work fine for a very basic AI (better than nothing). Dangerous or unpredictable planes like Academy of Tolaria West, Isle of Vezuva, Kharasha Foothills, Minamo, Takenuma, Windriddle Palaces are currently set to "never roll" for the AI. Feel free to expand.
2013-07-04 15:40:08 +00:00
Sloth
310577f0c2
- Improved checkSacrificeCost AI saccing lands.
2013-07-04 15:31:27 +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
Sloth
10c285f081
- Added info about chosen player and hauntings to CardDetailPanel.
2013-07-04 15:02:06 +00:00
Agetian
9d1b5833a9
- Minor fixes to the planar dice roll AI.
...
- Default max rolls per turn and chance to roll are now tied to AI profile properties.
2013-07-04 15:01:51 +00:00
Agetian
eb1234832e
- Max AI planar die rolls now correctly check for the number of planar die rolls instead of spell ability activations.
2013-07-04 14:36:02 +00:00
Agetian
3eac899af5
- Minor code cleanup.
2013-07-04 14:24:35 +00:00
Agetian
5195708028
- Fixed the random chance for AI planar die rolls. Removed a debug line.
2013-07-04 14:17:28 +00:00
Agetian
00977986df
- Default max number of planar die rolls per turn for the AI is 1. The AI will prefer to roll the planar die in Main 2 unless the AIHintRollDieInMain1:True AI hint SVar is set.
2013-07-04 14:10:28 +00:00
Chris
a5887f7dd6
- Added new card names to changes.txt.
2013-07-04 12:18:06 +00:00
Maxmtg
05cc118282
updated library creation code to generate a single event for the whole library (instead of events on per-card basis)
2013-07-04 09:41:42 +00:00
Maxmtg
cb42cf6ceb
added event 'card state changed' to un-animate command
2013-07-04 09:34:40 +00:00
Agetian
8f4dd0225b
- Added an override for chkAIDrawback in RollPlanarDiceAi in case it may be necessary in the future.
2013-07-04 08:14:04 +00:00
Maxmtg
e15e7d5ecc
Fix possible NPE
2013-07-04 08:11:27 +00:00