jmlundeen
b0b508fd27
Spell Abilities respect ruleAtTop boolean
2025-04-25 14:36:15 -05:00
Oleg Agafonov
521a0f6e32
GUI: introduced default card hints:
...
* refactor: added helper emblems instead rad counter's inherent emblems (use initGameDefaultHelperEmblems to define new card hints or other fake objects);
* refactor: added card hints support for emblems, planes and other command objects;
* GUI: added storm counter as default card hint (use hints tool to see it, closes #12360 );
2024-07-27 09:40:41 +04:00
Susucre
85cad4ff1e
cleanup AbilityType for easier check that an ability is an activated ability ( #12153 )
...
* cleanup AbilityType
* further cleanup
* cleanup instanceof
* tweak formatting
* rework Rex
* fix mistake in PlayerImpl
* cleanup 'instanceof' for 'ActivatedManaAbilityImpl'
2024-05-03 22:13:34 -04:00
Oleg Agafonov
70c79fd6a6
performance: improved CPU usage in games with big amount of permanents (related to #11285 )
2023-11-07 01:14:07 +04:00
DeepCrimson
4cd262c45d
Refactor: Remove unused getManaAbilities method ( #9169 )
2022-07-01 17:11:18 -04:00
Evan Kranzler
d202278ccd
change to containsKey method to prevent stream exceptions ( fixes #7904 , fixes #7880 , fixes #7844 , fixes #7810 , fixes #7805 , fixes #7675 , fixes #7669 , fixes #7654 , fixes #7651 )
2021-06-13 10:13:41 -04:00
Evan Kranzler
707de23436
cleaned up some methods for effects and abilities
2021-03-22 21:47:08 -04:00
LevelX2
c48331f216
* Doubling Cube - Added support for possible mana calculation (related to #6698 ).
2020-08-18 00:22:53 +02:00
LevelX2
6a65e5bb23
* Mana Clash - Fixed use in available mana calculation (related to #6698 ).
2020-08-12 13:58:06 +02:00
Oleg Agafonov
978118148b
Ability refactor: new code to remove abilities from permanent;
2020-05-28 22:31:54 +04:00
Oleg Agafonov
cba3f0ee12
* As an additional cost to cast - fixed wrong text (reveal cost, etc);
2020-04-19 21:32:51 +04:00
Oleg Agafonov
5adab75324
Revert "format: organize imports"
2020-02-05 02:17:00 +04:00
Leandro Doctors
8a0a9acff7
format: organize imports
2020-02-04 16:21:48 -03:00
Oleg Agafonov
89394ffe0a
Improved ability outcome processing;
2020-01-29 07:33:33 +04:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files
2018-06-02 17:59:49 +02:00
LevelX2
27ced167fb
* Added logic to add permitting object to play/cast events.
2018-05-27 23:47:57 +02:00
Evan Kranzler
cf9ac754f0
small text fix
2018-04-21 18:49:10 -04:00
Evan Kranzler
b82475dcff
updated additional cost text
2018-04-21 17:56:44 -04:00
Evan Kranzler
54b8f10c3c
text fixes and test fixes to fix how tests test text, then more text next
2017-10-07 16:08:06 -04:00
LevelX2
3ac7fc2726
* Some fixes to possible exceptions.
2017-09-23 23:48:25 +02:00
igoudt
0cb7d8aab6
loop to streams
2017-06-06 09:31:41 +02:00
ingmargoudt
594ffa2754
rewrote some streams and optionals
2017-04-01 22:45:40 +02:00
ingmargoudt
3a152ab3d6
rewrote enum comparisons, iterator to removeIf, added some stream and filters
2017-02-11 22:37:00 +01:00
vraskulin
0557b5e89c
list.size > 0 changed to !list.isEmpty
...
We care about if it's empty or not, not about it's size
2017-02-06 14:32:51 +03:00
LevelX2
d2561c1752
* Fixed a problem with triggered mana abilities. Fixed a problem that AI did not always select the needed mana color. Fixed a problem with Reflecting Pool not taking triggered mana abilities into account.
2016-11-03 22:37:54 +01:00
LevelX2
d7dd635bca
Revert "introduced StringUtil class with .isEmpty(String input) and .isNotEmp…"
2016-09-16 23:55:54 +02:00
ingmargoudt
f1cf9e7adb
introduced StringUtil class with .isEmpty(String input) and .isNotEmpty(String input), to replace str != null && str.length()>0 statements
2016-09-16 21:23:31 +02:00
drmDev
c93865673c
merge
2016-04-14 13:50:04 -04:00
drmDev
aa033617a2
Better logging?
2016-04-14 12:46:42 -04:00
drmDev
ad0dde4501
server logging for nulls
2016-04-14 10:49:08 -04:00
drmDev
bee12d709c
Various NPE fixes based on server log
2016-04-14 09:55:13 -04:00
LevelX2
19d67f9a83
Removed old AlternativeCost class, that's no longer used in cards.
2016-03-06 22:32:58 +01:00
poixen
46eb6c0525
Restructured Mage module
2015-11-29 21:56:49 +01:00