Commit Graph

6762 Commits

Author SHA1 Message Date
tool4EvEr
cb2fc04f6a Performance fixes 2022-07-11 19:15:26 +02:00
tool4EvEr
cf03361a62 LastState: pass through from GameAction into ReplacementHandler 2022-07-11 19:13:57 +02:00
Northmoc
5c3f75d0d9 CLB: Illithid Harvester // Plant Tadpoles and support (#1056)
* illithid_harvester_plant_tadpoles.txt

* SetStateEffect.setFaceDownState

* tidy up the tadpoles

* CardFactoryUtil.setFaceDownState

* ChangeZoneEffect remove setFaceDownState

* SetStateEffect remove setFaceDownState

* ChangeZoneEffect.changeZonePlayerInvariant call CardFactoryUtil too
2022-07-10 16:52:15 +03:00
tool4ever
ec3f7e00ca Fix AI casting suspended spells against Drannith Magistrate (#1098)
* Cleanup cards

* Fix AI casting suspended spells against Drannith Magistrate

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-07-10 16:51:56 +03:00
Northmoc
617b1dd832 CLB Adventure commons (#1092)
* ettercap_web_shot.txt

* gray_slaad_entropic_decay.txt

* hezrou_demonic_stench.txt

* guardian_naga_banishing_coils.txt

* sword_coast_serpent_capsizing_wave.txt

* pegasus_guardian_rescue_the_foal.txt

* colossal_badger_dig_deep.txt

* CountersPutEffect.getStackDescription better handle "for each"

* sword_coast_serpent_capsizing_wave.txt fix
2022-07-10 07:18:17 +03:00
Anthony Calosa
7f9d327e43 Merge pull request #1044 from xaviermd/CardScript--CLB--Alaundo-the-Seer
Card Script for Alaundo the Seer.
2022-07-10 06:39:34 +08:00
Northmoc
373e4d59e6 CLB: Stick Together and support (#1062)
* stick_together.txt

* ChooseCardEffect support "Choose Party"
2022-07-09 18:35:28 +03:00
tool4ever
241467c34c Northmocs Zangief and support, round two (#1074)
* Northmocs Zangief and support, round two

* Cleanup Elminster

Co-authored-by: TRT <>
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-07-09 16:39:56 +03:00
Northmoc
b1224cb37e TriggerMilledAll (for Zellix [CLB]) (#1064)
* TriggerMilledAll.java

* TriggerType.MilledAll

* Player.mill run MilledAll trigger

* CardZoneTable remove redundant Map
2022-07-09 16:39:30 +03:00
Anthony Calosa
fdff74d84c prevent NPE 2022-07-08 22:06:18 +08:00
Anthony Calosa
88744b56b0 Merge pull request #1042 from Northmoc/terramancer
CLB: Deep Gnome Terramancer and support
2022-07-08 07:26:34 +08:00
Northmoc
b57d935674 PhaseHandler set Cause to sa for triggerChangesZoneAll 2022-07-07 12:16:22 -04:00
Northmoc
0526e91444 SpellAbility.isValid add LandAbility, support ! prefix 2022-07-07 11:36:46 -04:00
Northmoc
2373596796 CLB: Elminster and support (#1053)
* elminster.txt

* TypeLists add Elminster to [WalkerTypes]

* TriggerScry ScryNum for setTriggeringObjects and getImportantStackObjects

* TriggerHandler.runSingleTriggerInternal implement RememberAmount for integer

* StaticAbility.toString allow for INSERT tag

* GameAction.scry track numLookedAt for trigger

* DigEffect.getStackDescription check for exile first in verb parsing

* AbilityKey add ScryNum
2022-07-07 07:20:44 +03:00
Xavier
6ba164ebad Card Script for Alaundo the Seer WithCountersType and WithCountersAmount, and modifications to ChangeZoneEffect.
This commit adds code to ChangeZoneEffect which enables WithCountersType and WithCountersAmount with an SVar dependent on Remembered when exiling.
2022-07-06 12:45:26 -04:00
Northmoc
c266da76ec DraftEffect fix bad comment lines 2022-07-06 09:48:43 -04:00
Northmoc
2f7bf741f3 Merge pull request #1008 from Northmoc/drafteffect
Give Alchemy mechanic Spellbook Draft its own API
2022-07-06 07:19:56 -04:00
Anthony Calosa
42c59b773b Merge pull request #1040 from Northmoc/carnelian
CLB: Carnelian Orb of Dragonkind and support
2022-07-06 18:06:09 +08:00
Northmoc
508b6b4e90 refactor param name 2022-07-05 14:49:36 -04:00
Northmoc
0acad1ecd5 SpellAbility.applyPayingManaEffects use isValid instead of hasStringType 2022-07-05 14:49:16 -04:00
Northmoc
d7eff45cd1 GN3: Imaryll, Elfhame Elite (+ refactor another quasi-keyword -> static) (#1033)
* AI stuff refactor keyword to check StaticAbilityAssignCombatDamageAsUnblocked

* ComputerUtilCombat refactor keyword to check StaticAbilityAssignCombatDamageAsUnblocked

* CreatureEvaluator refactor keyword to check StaticAbilityAssignCombatDamageAsUnblocked

* Combat.java refactor keyword to check StaticAbilityAssignCombatDamageAsUnblocked

* AnimateAllEffect.resolve support "staticAbilities" for garruk_savage_herald.txt

* imaryll_elfhame_elite.txt

* StaticAbilityAssignCombatDamageAsUnblocked.java

* refactor old cards

* AnimateAllEffect remove no longer needed

* AiBlockController.makeGoodBlocks restore lost '!'
2022-07-05 21:23:40 +03:00
Northmoc
ce90e3358e MakeCardEffect use made card in new zone for trigger, etc 2022-07-05 13:12:43 -04:00
Northmoc
212f883d8f DraftEffect use made card in new zone for trigger, etc 2022-07-05 13:12:32 -04:00
xaviermd
0fdfe26eff Card script for CLB - Aboleth Spawn and modifications to TriggerAbilityTriggered to make it work. (#1035)
* Created the card script for Aboleth Spawn, and made the necessary modifications to TriggerAbilityTriggered to allow the identification of self-targeting triggered abilities.

* Changed the Aboleth Spawn card script, and TriggerAbilityTriggered.java following feedback on PR.
2022-07-05 16:57:25 +03:00
Northmoc
bf6d41672d CLB: Firkraag, Cunning Instigator and support (#1019)
* firkraag_cunning_instigator.txt

* CardProperty.cardHasProperty add "mustAttack"

* AttackRequirement.hasRequirement fix (thanks TRT)

* Add timestamp check

* Don't treat Trove of Temptation Requirement as Restriction

* Clean up

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-07-05 13:49:10 +03:00
tool4ever
3decca4752 Fix 2 NPE (#1036)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-07-05 11:23:49 +03:00
Northmoc
1df114d694 GN3: Maeve, Insidious Singer (+implement GoadEffect.getStackDescription) (#1034)
* maeve_insidious_singer.txt

* GoadEffect.getStackDescription
2022-07-05 07:28:01 +02:00
Northmoc
ebc92dc90f CLB: Vhal, Candlekeep Researcher and support (#1022)
* AbilityManaPart.meetsManaRestrictions add zone restrictions

* vhal_candelkeep_researcher.txt

* AbilityManaPart.meetsManaRestrictions tidier

* AbilityManaPart.meetsManaRestrictions fix for AI
2022-07-04 18:14:14 +03:00
Hans Mackowiak
a536a340d2 Blitz Again (#1001) 2022-07-04 18:13:34 +03:00
tool4ever
3d634b6dac Global DamageHistory (#622)
* Global DamageHistory

* Add new cards

* Improve Ogre Enforcer

* Clean up

* Minor fixes
2022-07-04 13:27:44 +00:00
Northmoc
584c768039 TokenEffect stackDesc improve X parsing (#370) 2022-07-04 13:14:37 +00:00
Anthony Calosa
502ac356cc Merge pull request #992 from tool4ever/getAlternativeCosts
only reset castFaceDown when making a full spell copy
2022-06-30 15:44:16 +08:00
Anthony Calosa
6bde762a15 Merge branch 'master' into newmaster 2022-06-30 15:34:54 +08:00
Anthony Calosa
85ddcb8ff6 handle 301.5c
closes #1012
2022-06-30 15:31:27 +08:00
TRT
8b7fbd63cc Fix unmorphing being prevented by invalid static 2022-06-29 21:02:05 +02:00
TRT
e029bc1a54 WithCountersPlacer 2022-06-29 17:41:25 +02:00
tool4ever
7ed781f3d2 Cleanup some cards (#1011)
Co-authored-by: TRT <>
2022-06-29 09:48:51 +03:00
Northmoc
4613b76bfa DraftEffect.resolve add ChangesZoneAll trigger 2022-06-28 12:03:45 -04:00
Northmoc
bfd421bf98 MakeCardEffect.resolve add ChangesZoneAll trigger 2022-06-28 12:03:27 -04:00
TRT
4d52b495eb With counters added directly 2022-06-28 17:16:59 +02:00
Northmoc
92f3298366 DraftEffect newline at file end 2022-06-27 23:50:26 -04:00
Northmoc
2b67c8c497 DraftEffect.java 2022-06-27 23:46:15 -04:00
Northmoc
e61e251026 ChooseCardNameEffect.resolve remove Draft support 2022-06-27 23:46:06 -04:00
Northmoc
69a46da4c1 ApiType add DraftEffect 2022-06-27 23:45:40 -04:00
TRT
5b6f54b6dd Fix for Ertai's Meddling 2022-06-26 22:41:44 +02:00
Paul Hammerton
cef7b64ee4 Merge pull request #986 from squee1968/5moresqueecards
5moresqueecards
2022-06-26 13:38:15 +01:00
TRT
c93487e048 Support for Grell 2022-06-25 21:01:59 +02:00
tool4EvEr
f7f1faffed only reset castFaceDown when making a full spell copy 2022-06-24 12:23:14 +02:00
tool4ever
8c537c2d1f Fix Oni-Cult Anvil not triggering when sac itself (#774)
Co-authored-by: TRT <>
2022-06-24 06:30:00 +03:00
Hans Mackowiak
e92198c254 confirmAction: add Map Params 2022-06-22 23:32:57 +02:00