Commit Graph

8293 Commits

Author SHA1 Message Date
tool4EvEr
fff528291a XColor fixes 2023-09-19 17:15:24 +02:00
tool4EvEr
91ca0271cf Update effects 2023-09-18 19:16:12 +02:00
tool4ever
e7bd1e4776 Fix Lion's Eye Diamond check (#3791) 2023-09-18 17:46:43 +02:00
tool4EvEr
07d1d68e71 Fix Ashiok 2023-09-17 23:00:22 +02:00
Hans Mackowiak
db4039d7eb ~ Fixed ReplacePayLife with calculateAmount 2023-09-17 15:06:06 -04:00
Hans Mackowiak
2d57763cac ~ fix suspend and fortell 2023-09-17 15:06:06 -04:00
Hans Mackowiak
5c3a42ae0c Player: transfer rep params for payLife 2023-09-17 15:06:06 -04:00
Hans Mackowiak
a424c7892c add ReplacePayLife 2023-09-17 15:06:06 -04:00
Hans Mackowiak
11ae9ed6ce ~ cleanup GameAction.exile 2023-09-17 15:06:06 -04:00
Hans Mackowiak
1f11bf53b5 Player: first step for Ashiok 2023-09-17 15:06:06 -04:00
kevlahnota
0abcab5115 Merge pull request #3767 from Card-Forge/kevlahnota-patch-5
skip adventure spell if card is already onadventure
2023-09-17 16:31:38 +08:00
tool4EvEr
279acdef8b WOE rules changed 2023-09-12 17:32:04 +02:00
tool4EvEr
081c5520e8 Fix crash on flashback Zenith 2023-09-12 17:31:31 +02:00
kevlahnota
e8d5fe0fe4 Update Card.java 2023-09-12 20:57:22 +08:00
kevlahnota
506d0808d6 skip adventure spell if card is already onadventure
- closes #3760
2023-09-12 20:40:10 +08:00
TRT
1ee4bd5926 Cascade fix 2023-09-11 08:38:03 +02:00
tool4ever
e233129975 Support for Throne of Eldraine (#3757)
* Fix scripts

* Fix Reflect

* Refactor mana restrictions from SA

* Update scripts

* AltCost fix

* Fix Muraganda Petroglyphs affecting Security Rhox

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-09-11 06:04:13 +03:00
kevlahnota
59f4a1ca51 Merge pull request #3759 from Card-Forge/hanmacDamageDoneSource
TriggerDamageDone: add Cause and targetedBy
2023-09-11 08:31:00 +08:00
tool4EvEr
3214d8bfde Fix Chatterfang + Role token 2023-09-10 19:25:22 +02:00
Hans Mackowiak
8e1d181073 TriggerDamageDone: add Cause and targetedBy 2023-09-10 15:08:51 +02:00
kevlahnota
04a4d50cb7 Merge pull request #3751 from Simisays/woe17
WOE 12 cards
2023-09-09 22:04:14 +08:00
kevlahnota
78ea392fab Merge pull request #3752 from Card-Forge/kev-WOC-patch3
WOC 6 cards
2023-09-09 17:21:05 +08:00
kevlahnota
dcfa1d441a add songbirds blessing 2023-09-09 13:18:56 +08:00
tool4EvEr
866c09617c Fix Troyan 2023-09-08 22:28:55 +02:00
Hans Mackowiak
282d9860c7 Mana convert refactor (#3718)
* ~ cleanup applyManaColorConversion with only one Parameter

* remove ManaConvert Keyword and Vizier of the Menagerie

* remove other ManaConvert Keyword

* ~ fix scripts

* ManaConvention on GainedActivatedAbility

* ~ fix scripts

* rework Celestial Dawn and nonWhite restriction

* * update AI to apply matrix instead of hardcoded ignoreType and ignoreColor

* store Mana Matrix in PaymentDecision instead of CostPartMana

* ~ move Mana Matrix to more methods

* ManaConversionMatrix: add for Unless and Optional Cost

* Clean up AI

* Remove some calls that should be unneeded but make debugging annoying

* After paying with mana ability the old matrix should apply again

* Move matrix restore because AI needs it too

* Only human needs extra matrix on effect payments

* fix checks

* Update ComputerUtilMana.java

more !effect checks

* Story by CardPlayOption

* Fix North Star

* Remove obsolete code

* ~ ignoreType > ignoreColor

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-09-08 18:09:03 +03:00
kevlahnota
1096f0ed1e update AbilityUtils 2023-09-08 05:52:33 +08:00
kevlahnota
7bbfd712e5 WOC 6 Cards 2023-09-07 16:32:42 +08:00
kevlahnota
a0af43c4b0 Merge pull request #3738 from tool4ever/lastchapter
Fix LastChapter logic
2023-09-06 14:28:08 +08:00
tool4EvEr
232c4a1d87 Fix LastChapter logic 2023-09-06 08:04:50 +02:00
Simisays
a5cd7c5814 update 2023-09-04 21:19:00 +02:00
tool4EvEr
738652d3d1 fix changed text missing 2023-09-03 08:29:18 +02:00
tool4EvEr
cab8c54963 Clean up 2023-09-03 08:28:26 +02:00
tool4EvEr
770db2c56a Rebranded is same name 2023-09-01 21:31:20 +02:00
tool4EvEr
11c64a6216 fix specialize faces on regular cards 2023-09-01 12:19:42 +02:00
tool4EvEr
08c258de51 Clean up 2023-09-01 12:17:50 +02:00
Hans Mackowiak
d430e1919a TriggerTaps: adds Cause for Tapping by ReplacementEffect (#3665)
* TriggerTaps: adds Cause for Tapping by ReplacementEffect

* TriggerTaps handle who taps it differently

* Cost: add payer to doPayment

* TapEffect: add Tapper

* Tag scripts

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-08-28 17:44:53 +03:00
Hans Mackowiak
f2601a3e25 Role: add StateBasedAction (#3695)
* Role: add StateBasedAction

* Role: still unattach first

* ~ update scripts

* Basic role AI

---------

Co-authored-by: TRT <>
2023-08-28 15:13:37 +03:00
tool4ever
9544d2073e Flash fix (#3704)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-08-27 15:05:50 +03:00
tool4ever
9ca8c62c5b Commander Masters Update Bulletin (#3693)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-08-26 07:22:29 +03:00
kevlahnota
dfae707071 check for indestructible 2023-08-25 23:17:33 -04:00
kevlahnota
80ce033256 Update GameAction.java
- closes #3687
2023-08-25 23:17:33 -04:00
tool4ever
2025487c34 Fix getTotalPreventionShieldAmount (#3654)
* Fix scripts

* Fix damage prevention display

* Optimize attachment tracking for netplay

* Phasing fix

* Fix NPE

* Tweak logic order

* Clean up

* Fix scripts

* Clean up

* Fix FailedToTarget

---------

Co-authored-by: TRT <>
2023-08-23 11:34:50 +03:00
friarsol
0c1dd04bc1 Fix unreusable resources being reduced in preference 2023-08-20 18:39:05 -04:00
friarsol
49df5a9993 - AI: Reduce priority of mana sources that make you sacrifice other things 2023-08-20 18:39:05 -04:00
Hans Mackowiak
d9bd5103c0 WOE: Bargain (#3640)
* WOE: Bargain

* fix Bargain Token cost
2023-08-17 17:24:56 +03:00
tool4ever
78ed8480cb Update scripts (#3644)
* Improve performance

* Fix KW

---------

Co-authored-by: TRT <>
2023-08-16 18:48:36 +03:00
tool4ever
7e106db045 Fix creature haunting (#3637)
Co-authored-by: TRT <>
2023-08-15 17:40:44 +03:00
TRT
6b282cde54 Fix puzzle 2023-08-14 21:43:47 -04:00
TRT
0f002e6526 Fix AI never casting paired commanders 2023-08-14 21:43:47 -04:00
tool4ever
07e90c94eb Fix scripts (#3627)
Co-authored-by: TRT <>
2023-08-14 09:20:46 +03:00