Arseniy Shestakov
|
ca819b3cda
CGHeroInstance::nextPrimarySkill: don't use GS RNG directly
|
9 years ago |
Arseniy Shestakov
|
85f49bc968
CGHeroInstance::initArmy: don't use GS RNG. Get RNG through a ref
|
9 years ago |
Arseniy Shestakov
|
2ba3b20928
Multiple changes to RNG usage to both client and server
|
9 years ago |
Arseniy Shestakov
|
6747555339
CGameHandler: use ObjProperty enum instead of magic numbers
|
9 years ago |
Arseniy Shestakov
|
d06d07a39b
Add ChangeFormation netpack to avoid MP desyncs
|
9 years ago |
AlexVinS
|
85f94676a5
Server: convert logging
|
9 years ago |
Arseniy Shestakov
|
abad3cfb17
PlayerState::daysWithoutCastle: change in netpacks only. Fix issue 2462
|
9 years ago |
Arseniy Shestakov
|
39fe9472b6
CGameHandler::moveArtifact: check lock status by slot instead of id
|
9 years ago |
AlexVinS
|
e7f2858d33
Use make_unique for TurnInfo in CGameHandler.
|
9 years ago |
Arseniy Shestakov
|
b0045fa357
Fix TurnInfo memory leaks
|
9 years ago |
Arseniy Shestakov
|
2e70d29479
CGameHandler::applyBattleEffects: improve Fire Shield support
|
9 years ago |
Arseniy Shestakov
|
605962019b
CGameHandler::giveSpells: improve Conflux grail building support
|
9 years ago |
Arseniy Shestakov
|
bee0c6d705
CGameHandler::buildStructure: give spells after gs apply. Fix issue 2425
|
9 years ago |
Arseniy Shestakov
|
10dbbead2d
Fix indentation of logging code and around it
|
9 years ago |
AlexVinS
|
e3e27b9bfe
Move ghost creation to inner battle loop
|
9 years ago |
AlexVinS
|
4bf9036c7b
Ensure that ghost stacks are created only by BattleStacksRemoved packet.
|
9 years ago |
AlexVinS
|
2c48c95c8d
Fix casualties calculation for commander
|
9 years ago |
AlexVinS
|
f890037008
Fixes
|
9 years ago |
AlexVinS
|
5df8d1cbd0
Update low level battle stacks accessor for ghost selection support.
|
9 years ago |
AlexVinS
|
9036d39241
Do not remove battle stacks, make them ghosts instead.
|
9 years ago |
AlexVinS
|
5d5ad99436
Rename DEAD_CLONE -> GHOST, as this will be possible for any stack
|
9 years ago |
Arseniy Shestakov
|
f8c6751707
CGameHandler::endBattle: change town ownership when hero lost siege
|
9 years ago |
ArseniyShestakov
|
c550484613
Merge pull request #181 from vcmi/feature/drawbridgeMechanics
|
9 years ago |
Arseniy Shestakov
|
c5cfc8467f
Battles: change naming from drawbridge to gate for everything
|
9 years ago |
Arseniy Shestakov
|
11dc428b1e
Battles: move hexes enum to GameConstants and fix wall position
|
9 years ago |
Arseniy Shestakov
|
01b4d0ae01
Battles: better handling for walking double-wide creatures
|
9 years ago |
Arseniy Shestakov
|
a07761b608
Battles: readable identifiers enum for drawbridge and gate hexes
|
9 years ago |
Arseniy Shestakov
|
731de439eb
Battles: drawbridge support for double-hex flying creatures
|
9 years ago |
Arseniy Shestakov
|
28aff78f2c
Battles: implement drawbridge support for flying creatures
|
9 years ago |
Arseniy Shestakov
|
fbb34b8d04
Battles: always update drawbridge state after battle state changed
|
9 years ago |