Arseniy Shestakov
|
c8faca8f39
Refactoring: only use RNGs explicitly to avoid bug prone code in future
|
9 år sedan |
Arseniy Shestakov
|
c8bcb14d34
CCallbackBase: add CRandomGenerator to all callbacks
|
9 år sedan |
AlexVinS
|
5df8d1cbd0
Update low level battle stacks accessor for ghost selection support.
|
9 år sedan |
Arseniy Shestakov
|
c5cfc8467f
Battles: change naming from drawbridge to gate for everything
|
9 år sedan |
Arseniy Shestakov
|
57328bdc83
Battles: implement basic drawbridge mechanics
|
9 år sedan |
Arseniy Shestakov
|
9fd1cff090
Refactoring: always use std prefix for shared_ptr, unique_ptr and make_shared
|
10 år sedan |
AlexVinS
|
70d9be8447
Use ISpellCaster in battle callback
|
10 år sedan |
AlexVinS
|
a4d4851d80
Fix typo: casted->cast
|
10 år sedan |
AlexVinS
|
6010bbe7ba
More correct usage of battleGetFightingHero
|
10 år sedan |
Fay
|
1cb54689cf
Prevents first aid tents from melee attacking;
|
10 år sedan |
AlexVinS
|
b0df8172f9
Move battleIsImmune to CSpell
|
11 år sedan |
AlexVinS
|
fa9c1e8637
remove healedHP calculation from battlestate
|
11 år sedan |
AlexVinS
|
a06dae1f96
Move getAffectedCreatures to CSpell. + more drafts
|
11 år sedan |
AlexVinS
|
d7800b834e
get rid of CBattleInfoCallback::calculateSpellDmg
|
11 år sedan |
AlexVinS
|
e4b726151d
get rid of CBattleInfoCallback::battleStackIsImmune
|
11 år sedan |
AlexVinS
|
ddf98a5920
+SpecialRisingSpellMechanics::isImmuneByStack
|
11 år sedan |
AlexVinS
|
639b915391
Move calculateSpellBonus to CSpell
|
11 år sedan |
AlexVinS
|
6f65d2484b
Extract battleStackIsImmune from battleIsImmune
|
11 år sedan |
AlexVinS
|
0e93ec28c5
Add new general method for battle stack access
|
11 år sedan |
Ivan Savenko
|
9c0df68cb8
Fixing spelling mistakes. Patch from josch, fixes #1759
|
11 år sedan |
beegee1
|
69eee05ccc
- Partially fixed mantis #1065 (Gate with hex 95 can't be attacked)
|
12 år sedan |
Ivan Savenko
|
ee6cdbeffe
went through the rest of cppcheck warnings, mostly harmless
|
12 år sedan |
Michał W. Urbańczyk
|
5c6d12400f
Fixed AI detection of battle end (solves some freezes).
|
12 år sedan |
Michał W. Urbańczyk
|
4f29b526ca
The battle callback method battleGetAllStacks will by default omit the arrow turrets. Fixes #1453, #1455 and related.
|
12 år sedan |
Ivan Savenko
|
8beee29482
- corrected "isToReverse" check, partially fixes 1397
|
12 år sedan |
Ivan Savenko
|
c81a31c74a
- catapult attacks should be identical to H3
|
12 år sedan |
DjWarmonger
|
5f310aa20f
Fixed all issues with Resurrection: #123, #1358
|
12 år sedan |
Michał W. Urbańczyk
|
d8a27d8f3c
Refactored player-specific data into single struct BattleState.
|
12 år sedan |
Ivan Savenko
|
2b45e13c5c
c++03 -> c++11 switch:
|
12 år sedan |
Michał W. Urbańczyk
|
06dbdd234f
Further changes for duel mode. It is possible to pass names of AIs to be used by command line. Moved things in battle AI.
|
12 år sedan |