Commit graph

43343 commits

Author SHA1 Message Date
Oleg Agafonov
05f987b365 dev: enable auto-labels for PRs (labeler) 2024-02-18 17:32:37 +04:00
Oleg Agafonov
5763138c8b dev: enable auto-labels for PRs (labeler) 2024-02-18 17:28:02 +04:00
Oleg Agafonov
1240dad718 dev: enable auto-labels for PRs (labeler) 2024-02-18 17:07:00 +04:00
Oleg Agafonov
3ebe9b55d2 tests: added verify check for equip ability settings 2024-02-18 16:51:55 +04:00
Oleg Agafonov
46d751f996 refactor: improved usage of target pointers 2024-02-18 15:38:53 +04:00
Oleg Agafonov
78612ddc91 multiple changes:
* refactor: improved target pointer init code and logic, added docs and runtime checks;
* game: fixed miss or wrong init calls in some continuous effects;
* game: fixed wrong usage of target pointers (miss copy code, miss npe checks);
2024-02-18 15:05:05 +04:00
xenohedron
b2aa4ecc08 text fix 2024-02-18 00:33:58 -05:00
xenohedron
ead385a03b fix #11811 (Mob Rule) with new common class to handle logic 2024-02-18 00:32:44 -05:00
xenohedron
920d75377d make inner classes static in ForetellAbility 2024-02-17 22:31:24 -05:00
xenohedron
0a5370cf27 make inner class static 2024-02-17 22:31:24 -05:00
xenohedron
a8648c25f7 rework Baneful Omen 2024-02-17 22:31:24 -05:00
xenohedron
d6e7ff6dad new TargetPlayerGainControlSourceEffect
rework Drooling Ogre and others to use it
2024-02-17 22:31:24 -05:00
xenohedron
94ca1626c7 de-nest some classes 2024-02-17 22:31:24 -05:00
xenohedron
24c74aa12b rework Divine Intervention 2024-02-17 22:31:24 -05:00
xenohedron
a0a6fe652e rework Impending Disaster 2024-02-17 22:31:24 -05:00
xenohedron
f13c564ce7 rework Worldheart Phoenix 2024-02-17 22:31:24 -05:00
xenohedron
b0e8fec79f increase test coverage on Worldheart Phoenix 2024-02-17 22:31:24 -05:00
xenohedron
ea548af570 cleanup inner class in token 2024-02-17 22:31:24 -05:00
xenohedron
cbad085169 refactor AwakenAbility to remove inner class 2024-02-17 22:31:24 -05:00
xenohedron
baa8a18c3e remove reminder text from lifelink ability (closes #11812) 2024-02-17 22:30:05 -05:00
PurpleCrowbar
2b13ce8544 Fix scry triggered ability optional argument being unused 2024-02-18 02:44:11 +00:00
PurpleCrowbar
a4cc404e18 Implement common surveil triggered ability 2024-02-18 02:26:33 +00:00
PurpleCrowbar
8174be9926 [MKC] Implement Follow the Bodies 2024-02-17 19:57:15 +00:00
PurpleCrowbar
63c65680c8 [MKC] Implement Merchant of Truth 2024-02-17 19:29:08 +00:00
PurpleCrowbar
4388b7ac8c
Add hint to Storm ability (#11795) 2024-02-17 13:31:17 -05:00
PurpleCrowbar
167a796c72
[MKC] Implement Trouble in Pairs (#11807)
* [MKC] Implement Trouble in Pairs

* Delete DrawCardWatcher, use preexisting common watcher

* Fix some unrelated cards' rarities to fix verify

* Implement common turn skipping ability
2024-02-17 13:30:19 -05:00
PurpleCrowbar
4e648a29a9
[MKC] Implement Watcher of Hours (#11808) 2024-02-17 13:30:00 -05:00
PurpleCrowbar
c470598080 [MKC] Implement On the Trail 2024-02-17 18:16:55 +00:00
Oleg Agafonov
99cfca6bfb tests, refactor: removed outdated code 2024-02-17 20:49:04 +04:00
Oleg Agafonov
1f36a32a6e tests, refactor: removed outdated code 2024-02-17 20:41:57 +04:00
Oleg Agafonov
229e8d3075 game engine, tests and other fixes:
tests: fixed wrong permanent structure for battlefield cards (addCard command);
tests: added docs and additional runtime checks;
game: Modal double-faced cards - improved support, no more other side effects on battlefield;
game: Copy abilities - improved stability and cards support;
game: Player under control - improved stability and related cards support (possible NPE errors, additional runtime checks);
server: fixed bloated logs with game timer;
AI: fixed wrong timer in computer games;
2024-02-17 19:35:44 +04:00
xenohedron
824e4c6b7a
fix some inner classes (#11798)
* make inner class static

* rework to remove inner class

* static filter cleanup

* ManaCostsImpl<>

* fix copy constructor

* new TargetPlayerGainControlTargetPermanentEffect

* make some inner classes no longer inner classes
2024-02-16 22:37:30 -05:00
Matthew Wilson
fa92dc8580
[MKM] Implement Krenko's Buzzcrusher (#11801) 2024-02-16 22:33:24 -05:00
xenohedron
6f87cfa95b more text adjustments 2024-02-16 22:32:43 -05:00
xenohedron
361cf94d9c text adjustments 2024-02-16 22:32:43 -05:00
PurpleCrowbar
4ac9458db7 Fix Lazav, the Multifarious rarity in MKC set file 2024-02-17 01:56:00 +00:00
xenohedron
cb0dcfe97c adjust fuse ability text 2024-02-15 22:51:22 -05:00
xenohedron
9a4f935f07 verify test: ref text adjustments to remove some false positives 2024-02-15 22:14:11 -05:00
xenohedron
19dd9ea1b8 adjust text 2024-02-15 22:14:11 -05:00
PurpleCrowbar
362913261d Add hint to Shimmer Dragon 2024-02-16 03:09:09 +00:00
PurpleCrowbar
4f7bdfa6bb Fix Blinkmoth Urn triggering while tapped 2024-02-16 03:08:46 +00:00
PurpleCrowbar
542e1b7978 [MKM] Implement Forensic Gadgeteer 2024-02-16 00:37:17 +00:00
Cameron Merkel
16e6ae7b28
[MIR] Implement Acidic Dagger (#11794) 2024-02-15 19:03:41 -05:00
jimga150
5ee0bf1924
[REX] Implement Dino DNA (#11784) 2024-02-15 19:03:29 -05:00
Matthew Wilson
2e5229114b
[MKM] Implement Lazav, Wearer of Faces (#11790) 2024-02-15 19:03:15 -05:00
Cameron Merkel
39fee40e5f
[MIR] Implement Torrent of Lava (#11664)
* [MIR] Implement Torrent of Lava

* Show id of the ToL on the stack in the gained ability text
2024-02-15 00:22:06 -05:00
Evan Kranzler
50d44c5f24
[SLD] Implement Lara Croft, Tomb Raider (#11410) 2024-02-15 00:21:50 -05:00
xenohedron
5eebb4cc4d adjust filter message 2024-02-14 22:46:02 -05:00
xenohedron
b736f76322 adjust choose message 2024-02-14 22:22:54 -05:00
Matthew Wilson
6868cf3707
[MKM] Implement Polygraph Orb (#11780)
* [MKM] Implement Polygraph Orb

* Address comments

* Fix AI outcome
2024-02-14 22:19:58 -05:00