Konstantin P
|
8600e3035a
|
IBonusBearer: split cached methods
|
2023-05-05 21:30:45 +03:00 |
|
Konstantin P
|
f2827834c0
|
vcmi: bump serialization version
|
2023-05-05 21:30:45 +03:00 |
|
Konstantin P
|
45ca449f2c
|
vcmi: more optionals in bonuses
|
2023-05-05 21:30:45 +03:00 |
|
Konstantin P
|
9e1cdc410f
|
vcmi: replace school bonuses to unified ones
Except immunity now
|
2023-05-05 21:30:45 +03:00 |
|
Konstantin P
|
8764765dcf
|
Bonus: complex duration as bitset
Fixes #2125
|
2023-05-05 21:30:45 +03:00 |
|
Konstantin P
|
e9a90a8cbf
|
Serializer: serialize small bitsets (32 bits)
|
2023-05-05 21:30:45 +03:00 |
|
Konstantin P
|
6ff83e6f16
|
tests: test nonMagical effects
|
2023-05-05 18:57:40 +03:00 |
|
Konstantin P
|
75948a5dd7
|
tests: add ResistanceCondition test
|
2023-05-05 18:57:40 +03:00 |
|
Konstantin
|
3d46ee3182
|
TargetCondition: units with 100% MR is immune
Spells should not consider units with 100% MR as valid targets.
|
2023-05-05 18:57:40 +03:00 |
|
Konstantin P
|
c216292f1e
|
CHeroHandler: remove confusing map
This map should not be used, it does not have values anymore
|
2023-05-05 18:57:40 +03:00 |
|
Konstantin
|
b0d2787e86
|
vcmi: remove DIRECT_DAMAGE_IMMUNITY bonus
Replace by SPELL_DAMAGE_REDUCTION bonus with 100 value
|
2023-05-05 18:57:40 +03:00 |
|
Konstantin P
|
5841c716fd
|
vcmi: 100% damage reduction is damage immunity
|
2023-05-05 18:57:11 +03:00 |
|
Konstantin P
|
0cbc2e458c
|
CBonusSystemNode: remove description
It was almost unused, but this change is save-breaking
|
2023-05-05 18:57:11 +03:00 |
|
Konstantin P
|
d0e6205688
|
CBonusSystemNode: make some properties private
|
2023-05-05 18:57:11 +03:00 |
|
Nordsoft91
|
3a731b62b8
|
Merge pull request #2119 from macomarivas/spanish_translation
Spanish translation updated
|
2023-05-05 19:23:48 +04:00 |
|
Asirome
|
f28ed43a86
|
Merge branch 'vcmi:develop' into spanish_translation
|
2023-05-05 13:53:03 +02:00 |
|
Asirome
|
ea0c219c53
|
Update spanish.ts
|
2023-05-05 13:52:12 +02:00 |
|
Asirome
|
1fa252add7
|
Update spanish.json
|
2023-05-05 13:49:42 +02:00 |
|
Ivan Savenko
|
095064d288
|
Merge pull request #2118 from IvanSavenko/mod_repo_url
Use separate json for vcmi-1.3
|
2023-05-05 12:06:44 +03:00 |
|
Asirome
|
04e59c7f2e
|
Update spanish.ts
|
2023-05-04 20:05:09 +02:00 |
|
Asirome
|
84127e6104
|
Update spanish.json
|
2023-05-04 20:03:28 +02:00 |
|
Ivan Savenko
|
4c93b8f3f2
|
Use separate json for vcmi-1.3
|
2023-05-04 19:38:36 +03:00 |
|
Ivan Savenko
|
9373239c03
|
Merge pull request #2108 from rilian-la-te/bonuses-refactor-p2
Split HeroBonus.h to pieces, part2
|
2023-05-04 19:14:39 +03:00 |
|
Konstantin
|
05eccbc2bb
|
vcmi: split bonus to enumerator and HeroBonus.h
|
2023-05-03 18:01:06 +03:00 |
|
Nordsoft91
|
9f5ee885b4
|
Merge pull request #2105 from rilian-la-te/bonuses-refactor
Split HeroBonus.h to pieces: part1
|
2023-05-02 15:39:49 +04:00 |
|
Konstantin
|
fbc05c70ac
|
vcmi: camelCase methods of new classes
Also use EGameSettings for clamping morale and luck
|
2023-05-02 12:09:13 +03:00 |
|
Konstantin
|
a6de9097be
|
vcmi: rename HeroBonus.h to Bonus.h
|
2023-05-02 11:20:58 +03:00 |
|
Konstantin
|
3df5a8e415
|
vcmi: split selectors from HeroBonus.h
|
2023-05-02 00:54:53 +03:00 |
|
Konstantin
|
29c76fb9bf
|
HeroBonus: split BonusList
|
2023-05-02 00:54:53 +03:00 |
|
Konstantin
|
48bcfe74f7
|
HeroBonus: move TBonusSubtype from GameConstants.h
|
2023-05-02 00:54:53 +03:00 |
|
Konstantin
|
ce37380e99
|
HeroBonus: remove unused template
|
2023-05-02 00:54:53 +03:00 |
|
Konstantin
|
4866c2fe5c
|
vcmi: split IBonusBearer
|
2023-05-02 00:54:53 +03:00 |
|
Konstantin
|
b6eb2dc060
|
vcmi: rename IFactionMember and ICreature
|
2023-05-02 00:54:53 +03:00 |
|
Konstantin
|
1d34c73c2d
|
vcmi: split CBonusSystemNode, BonusParams and prop
More splitting of HeroBonus.h
|
2023-05-02 00:54:53 +03:00 |
|
Konstantin
|
713e3004df
|
vcmi: rename updater and limiter files
|
2023-05-02 00:53:51 +03:00 |
|
Konstantin
|
4894280c6b
|
HeroBonus: remove unused function
|
2023-05-02 00:53:51 +03:00 |
|
Konstantin
|
34c1d4f3e9
|
vcmi: move CBonusProxy and friends to new file
To decouple HeroBonus.h more
|
2023-05-02 00:53:51 +03:00 |
|
Konstantin
|
a2d4c72016
|
vcmi: morale and luck now also IFactionMember
Not all bonus bearers have morale and luck, only faction members
|
2023-05-02 00:53:51 +03:00 |
|
Konstantin
|
e37f798a68
|
vcmi: split bonus updaters
|
2023-05-02 00:53:50 +03:00 |
|
Konstantin
|
416faf521e
|
vcmi: move limiters outside of HeroBonus.cpp
This will help for recompilation.
|
2023-05-02 00:53:50 +03:00 |
|
Konstantin
|
6fa1b2b19f
|
vcmi: move bonuses to its own folder
|
2023-05-02 00:53:50 +03:00 |
|
Konstantin P
|
03b8ce2d4c
|
HeroBonus: remove unused functions
|
2023-05-02 00:53:50 +03:00 |
|
Konstantin P
|
4b2a09dae7
|
FactionMember: move code around
|
2023-05-02 00:53:50 +03:00 |
|
Konstantin
|
1f54a1474c
|
vcmi: remove SHval (replace by simple val)
|
2023-05-02 00:53:50 +03:00 |
|
Konstantin
|
af25ad0866
|
vcmi: split creatures and faction members
|
2023-05-02 00:53:50 +03:00 |
|
Konstantin
|
f4f0fd5945
|
vcmi: magicResistance is IFactionMember property
It is no reason to keep it inside IBonusBearer
|
2023-05-02 00:53:50 +03:00 |
|
Konstantin
|
4f7035d3ff
|
vcmi: add IFactionMember abstract class
|
2023-05-02 00:53:50 +03:00 |
|
Nordsoft91
|
c9b59735cf
|
Merge pull request #2101 from Nordsoft91/rewardable-expand
Part 2: refactoring for rewardable object
|
2023-05-02 01:19:57 +04:00 |
|
Ivan Savenko
|
b0a11ac9d6
|
Merge pull request #2097 from vcmi/fix_3SM3d
Add some non-zero value treasures to fix empty zones
|
2023-05-01 21:54:46 +03:00 |
|
Ivan Savenko
|
916b41d9a7
|
Merge pull request #2078 from IvanSavenko/shortcuts
Basic shortcuts system
|
2023-05-01 21:45:52 +03:00 |
|