Konstantin P
|
057a33c508
|
SpellSchool: use identifier instead of int
Needs redifinition of MAGIC_SCHOOL_SKILL in all mods
|
2023-05-07 20:37:32 +03:00 |
|
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
|
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 |
|
Konstantin
|
05eccbc2bb
|
vcmi: split bonus to enumerator and HeroBonus.h
|
2023-05-03 18:01:06 +03: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
|
916b41d9a7
|
Merge pull request #2078 from IvanSavenko/shortcuts
Basic shortcuts system
|
2023-05-01 21:45:52 +03:00 |
|
nordsoft
|
97a1758e8e
|
Merge remote-tracking branch 'upstream/develop' into rewardable-expand
|
2023-05-01 21:51:10 +04:00 |
|
nordsoft
|
eb577a03b5
|
Deprecating enum constants
|
2023-05-01 21:49:37 +04:00 |
|
nordsoft
|
87ff31531f
|
Rename parameter and remove extra check
|
2023-05-01 21:49:37 +04:00 |
|
nordsoft
|
07b2052679
|
Bit refactoring
|
2023-05-01 21:49:37 +04:00 |
|
nordsoft
|
68fa7aaf35
|
Remove limitations for amount of skills
|
2023-05-01 21:49:37 +04:00 |
|
nordsoft
|
a4fd6c1c92
|
Move trading window title to config
|
2023-05-01 21:49:37 +04:00 |
|
nordsoft
|
b29fc1a5f4
|
Fix movement bonus subtype
|
2023-05-01 21:49:37 +04:00 |
|
nordsoft
|
3d20538c1e
|
Implement markets
|
2023-05-01 21:49:37 +04:00 |
|
nordsoft
|
35a505288b
|
Fix json value reader
|
2023-05-01 21:49:37 +04:00 |
|
nordsoft
|
59bc9326e9
|
Remove excess pointer from market interface
|
2023-05-01 21:49:37 +04:00 |
|
Ivan Savenko
|
a654cc2391
|
Removed vstd::advance. Added vstd::next to handle similar cases.
|
2023-05-01 17:58:18 +03:00 |
|
Ivan Savenko
|
4aa232a60a
|
Merge pull request #2055 from SoundSSGood/cartifactholder-rework
Artifact related code refactoring part2 (client CArtifactHolder)
|
2023-05-01 02:33:08 +03:00 |
|