Commit Graph

630 Commits

Author SHA1 Message Date
Anthony Calosa
d794b95eaa Merge pull request #2441 from Northmoc/stackDesc
messing with StackDescription building
2023-02-13 18:41:04 +08:00
Paul Hammerton
f7abbdd359 Migrate upcoming scripts in preparation for ONE release (#2448) 2023-02-11 13:15:45 +03:00
Northmoc
96f722e02d more 2023-02-10 10:10:25 -05:00
tool4EvEr
ca32fa98c7 More clean up 2023-02-08 21:01:58 +01:00
Anthony Calosa
256e6c8894 Merge pull request #2360 from tool4ever/cleanup123
Card cleanup
2023-02-02 21:07:11 +08:00
Anthony Calosa
44d1d19bd6 Update phyrexian syntax, add ConniveAI (#2357)
* update syntax
- fix mobile display for compleated symbols

* update

* update cards

* fix Raffine Scheming Seer

* # ConniveAI

* remove unused var

* unused import

* add missing token script
2023-02-02 09:03:07 +03:00
tool4EvEr
a6374d12a8 Remove obsolete condition 2023-02-01 12:25:16 +01:00
Anthony Calosa
8ef1d0b34a Merge pull request #2315 from tool4ever/checkselflki
Better fix for CheckSelfLKIZone
2023-01-27 19:44:43 +08:00
tool4EvEr
29debff0ce Update cards 2023-01-25 22:22:57 +01:00
tool4EvEr
fefd4b1973 Better fix for CheckSelfLKIZone 2023-01-25 21:29:40 +01:00
tool4EvEr
b986c73e10 Fix wrong LKI usage 2023-01-23 17:16:15 +01:00
tool4EvEr
e0fec88cf2 Fix Verrak 2023-01-19 20:15:06 +01:00
tool4ever
037f1d0b7b Some fixes (#2170) 2022-12-26 09:42:03 +00:00
Northmoc
53595926d1 Some card script tweaks (#2152)
* little card script tweaks

* few more tweaks

* slithermuse.txt fix
2022-12-22 12:16:43 +03:00
tool4ever
9d761ca7cf Clean up (#2088) 2022-12-12 20:11:08 +00:00
tool4EvEr
2e963e31b1 Fix triggers 2022-12-11 20:28:47 +01:00
TRT
1072c29494 Clean up 2022-12-06 22:30:55 +01:00
paulsnoops
c381b46ee2 Migrate card scripts from upcoming 2022-12-03 14:51:15 +00:00
TRT
cf2e294542 Update cards 2022-11-28 22:15:43 +01:00
tool4ever
ac3d9ce8ee Misc cleanup (#1940)
* Misc cleanup

* Fix check passing with no own creatures

* Improve StackDescription for Unsubstantiate
2022-11-21 20:37:24 +00:00
tool4ever
025070ce97 Update vodalian_hexcatcher.txt 2022-11-20 20:54:56 +00:00
tool4ever
8eca58e9e4 3 fixes (#1925)
* Improve logic / avoid cheating

* Fix Aggregates.random on FCollection disaster

* Fix finding wrong SA

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-11-18 22:37:34 +03:00
Simisays
d13f1d0981 DeckHints & DeckHas updates Antiquities and Legends [SQUASH MERGE] (#1901)
* Ai updates antiquities and legends (#9)

* Update adun_oakenshield.txt

* Update akron_legionnaire.txt

* Update alabaster_potion.txt

* Update all_hallows_eve.txt

* Update arcades_sabboth.txt

* Update arena_of_the_ancients.txt

* Update axelrod_gunnarson.txt

* Update black_mana_battery.txt

* Update blazing_effigy.txt

* Update blue_mana_battery.txt

* Update boris_devilboon.txt

* Update cathedral_of_serra.txt

* Update caverns_of_despair.txt

* Update chains_of_mephistopheles.txt

* Update cocoon.txt

* Update divine_intervention.txt

* Update divine_offering.txt

* Update emerald_dragonfly.txt

* Update forethought_amulet.txt

* Update fortified_area.txt

* Update gabriel_angelfire.txt

* Update gauntlets_of_chaos.txt

* Update argivian_archaeologist.txt

* Update argivian_blacksmith.txt

* Update armageddon_clock.txt

* Update ashnods_altar.txt

* Update ashnods_transmogrant.txt

* Update su_chi.txt

* Update yawgmoth_demon.txt

* Update xenic_poltergeist.txt

* Update urzas_tower.txt

* Update urzas_mine.txt

* Update urzas_power_plant.txt

* Update urzas_miter.txt

* Update urzas_chalice.txt

* Update urzas_avenger.txt

* Update triskelion.txt

* Update transmute_artifact.txt

* Update titanias_song.txt

* Update the_rack.txt

* Update tetravus.txt

* Update tablet_of_epityr.txt

* Update sage_of_lat_nam.txt

* Update reverse_polarity.txt

* Update millstone.txt

* Update mishras_war_machine.txt

* Update orcish_mechanics.txt

* Update onulet.txt

* Update power_artifact.txt

* Update powerleech.txt

* Update priest_of_yawgmoth.txt

* Update primal_clay.txt

* Update reconstruction.txt

* Update coral_helm.txt

* Update cursed_rack.txt

* Update damping_field.txt

* Update drafnas_restoration.txt

* Update dwarven_weaponsmith.txt

* Update energy_flux.txt

* Update feldons_cane.txt

* Update gate_to_phyrexia.txt

* Update golgothian_sylex.txt

* Update ivory_tower.txt

* Update jalum_tome.txt

* Update whirling_dervish.txt

* Update white_mana_battery.txt

* Update wood_elemental.txt

* Update unholy_citadel.txt

* Update vaevictis_asmadi.txt

* Update venarian_gold.txt

* Update cathedral_of_serra.txt

* Update chains_of_mephistopheles.txt

* Update elder_spawn.txt

* Update eternal_warrior.txt

* Update fallen_angel.txt

* Update fortified_area.txt

* Update firestorm_phoenix.txt

* Update glyph_of_delusion.txt

* Update glyph_of_life.txt

* Update glyph_of_doom.txt

* Update glyph_of_destruction.txt

* Update glyph_of_reincarnation.txt

* Update green_mana_battery.txt

* Update gwendlyn_di_corci.txt

* Update hazezon_tamar.txt

* Update hells_caretaker.txt

* Update horror_of_horrors.txt

* Update infinite_authority.txt

* Update in_the_eye_of_chaos.txt

* Update karakas.txt

* Update knowledge_vault.txt

* Update kobold_drill_sergeant.txt

* Update kobold_overlord.txt

* Update kobold_taskmaster.txt

* Update lands_edge.txt

* Update land_equilibrium.txt

* Update lesser_werewolf.txt

* Update lifeblood.txt

* Update life_chisel.txt

* Update life_matrix.txt

* Update living_plane.txt

* Update living_plane.txt

* Update mana_matrix.txt

* Update wolves_of_the_hunt.txt

* Update mirror_universe.txt

* Update moat.txt

* Update mountain_stronghold.txt

* Update mold_demon.txt

* Update nebuchadnezzar.txt

* Update nicol_bolas.txt

* Update osai_vultures.txt

* Update part_water.txt

* Update pit_scorpion.txt

* Update puppet_master.txt

* Update ragnar.txt

* Update rapid_fire.txt

* Update rasputin_dreamweaver.txt

* Update recall.txt

* Update red_mana_battery.txt

* Update rohgahh_of_kher_keep.txt

* Update seafarers_quay.txt

* Update serpent_generator.txt

* Update solkanar_the_swamp_king.txt

* Update spectral_cloak.txt

* Update spirit_link.txt

* Update spirit_shackle.txt

* Update spiritual_sanctuary.txt

* Update stangg.txt

* Update storm_world.txt

* Update syphon_soul.txt

* Update takklemaggot.txt

* Update the_abyss.txt

* Update the_brute.txt

* Update the_tabernacle_at_pendrell_vale.txt

* Update time_elemental.txt

* Update triassic_egg.txt

* Update damping_field.txt

* Update axelrod_gunnarson.txt

* Update ashnods_transmogrant.txt

* Update argivian_blacksmith.txt

* Update arena_of_the_ancients.txt

* Update titanias_song.txt

* Update puppet_master.txt

* Update firestorm_phoenix.txt

* Update energy_flux.txt

* Update drafnas_restoration.txt

* Update damping_field.txt

* Update caverns_of_despair.txt

* Update mountain_stronghold.txt

* Update akron_legionnaire.txt

* Update argivian_archaeologist.txt

* Update ashnods_altar.txt

* Update cursed_rack.txt

* Update argivian_archaeologist.txt
2022-11-16 06:40:10 +08:00
Northmoc
b7b8472540 fixes (#1798) 2022-11-04 20:40:00 +03:00
asvitkine
2804206776 Improve AI logic for cavern of souls. (#1787)
* Improve AI logic for cavern of souls.

Improve AI logic for cavern of souls.

- Don't count token creature types when looking for most prominent creature type, since cavern of souls doesn't help with them.
- Weigh cards in hand and commanders double, as they are more likely to be cast.

I tested with a Tiny Leaders deck running Geist of Saint Traft that didn't have any creature type synergy and confirmed that the changes make the AI choose Spirit for Geist, rather than Human as before.

* Apply this to a few more cards.

* Remove a print statement.

* Address review comments.
2022-11-03 08:03:37 +03:00
tool4EvEr
64a9481a80 Fix missing LKI 2022-11-01 15:47:31 +01:00
tool4EvEr
b63f27d15d Clean up 2022-10-31 23:26:22 +01:00
tool4EvEr
2ca312ace9 Fix cards 2022-10-31 18:45:52 +01:00
Northmoc
e098b1f8e3 refactor AbilityKey: SpellAbilityTarget & SpellAbilityTargetingCards -> SpellAbilityTargets 2022-10-28 15:59:50 -04:00
Northmoc
1591c5463c vesuvan_duplimancy.txt without remember 2022-10-28 15:59:49 -04:00
tool4EvEr
32bbd2f62c Clean up 2022-10-27 21:56:07 +02:00
tool4ever
4024297259 Cleanup cards with ReplacementResult & IsPresent (#1713)
* Cleanup cards

* Shuffle fix

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-10-18 16:49:38 +03:00
TRT
681ce3e863 Clean up 2022-10-17 12:52:13 +02:00
tool4EvEr
332e9fcfb3 Cleanup + Fixes 2022-10-13 20:42:27 +02:00
tool4ever
b614b9b46f Cleanup cards (#1667)
* Card cleanup

* FailedToTarget fix

* Fix card

* Use ColorSet cache in favor of parsing

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-10-12 15:54:07 +03:00
tool4ever
839a9c8402 Unblockable fixes (#1662)
* Add shortcuts

* Fix cards

* Clean up

* Fix CantBlockBy checks

* Fix stack overflow

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-10-10 06:57:30 +03:00
Northmoc
2834993cb5 Refactor K:Unblockable > Static (#1551)
* round 1

* round 2

* 10 more (Oct 1)

* attempt to add "Pump" to EffectAi

* more 10/4

* more/fixes 10/4

* more 10/4 (80 to go...)

* more 10/4 (70 to go...)

* 10/5 (60 to go...)

* more 10/5 (50 to go...)

* more 10/5 (40 to go...)

* more 10/5 (30 to go...)

* 10/6 (20 to go...)

* more 10/6 (10 to go...)

* more 10/6 (last of pump -> effect)

* more 10/6 (continuous kw static > cantblockby... 30 to go)

* more 10/6 (continuous > cantblockby... 20 to go)

* more 10/6 (continuous > cantblockby... 10 to go)

* last 10/6 (continuous > cantblockby)

* Final keyword cleanup?

* GameSimulationTest.testEquippedAbilities use Shroud instead of Unblockable

* fish token!

* CreatureEvaluator evaluate for unblockable

* AttachAi evaluate for unblockable
2022-10-08 11:39:26 +03:00
tool4ever
0b451424df Cleanup & fixes (#1636)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-10-03 19:01:18 +03:00
Northmoc
f1ebac910c move keyword choice to PumpEffect from GenericChoice (#1626)
* move keyword choice to PumpEffect from GenericChoice

* fix silverquill_pledgemage.txt
2022-10-02 07:17:58 +03:00
paulsnoops
29a267f425 Small script migration 2022-09-30 10:10:25 +01:00
paulsnoops
aa26052f85 Migrate scripts for DMU, DMC & HBG and fix file name typos 2022-09-30 08:48:19 +01:00
paulsnoops
214274f45b QoL card script fixes 2022-09-14 09:01:44 +01:00
Northmoc
e8ac211e7e HBG: Thayan Evokers and support (ConjureAll trigger) (#1473)
* add Conjure$ to existing cards

* thayan_evokers.txt

* cards refactor Double Team > Double team

* Card.keywordsToText() add Double team to list

* CardFactoryUtil tidy up Double team, add Conjure$

* MakeCardEffect run TriggerConjureAll

* TriggerConjureAll

* TriggerType.ConjureAll

* Keyword.DOUBLE_TEAM refactor Team > team
2022-09-10 07:39:24 +03:00
tool4ever
38f8e784b1 TapsForMana corner cases with Piracy affecting wrong player (#1497) 2022-09-08 08:01:14 +00:00
tool4ever
67aac7840b Refactor HighestCMC (#1491)
Co-authored-by: TRT <>
2022-09-07 21:42:36 +03:00
tool4ever
1ca6b8c56c Improved Domain handling (#1479)
* Improved Domain handling

* Card fixes

* Update cards

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-09-06 21:54:14 +03:00
tool4ever
3ddec8a7d1 Venture Forth follow-up (#1431) 2022-08-31 18:12:24 +00:00
tool4ever
0f0fef3933 Misc script fixes (#1430) 2022-08-31 06:38:49 +00:00
tool4ever
6c0b3e97ed Some card fixes (#1401) 2022-08-25 22:38:55 +02:00
Paul Hammerton
93a33310a9 Migrate card scripts from released sets (#1370) 2022-08-21 07:58:32 +03:00