AlexVinS
|
195e979a18
get rid of CBattleInfoCallback::battleCanCastThisSpell
|
8 years ago |
AlexVinS
|
6c308956f9
get rid of CBattleInfoCallback::battleCanCastThisSpellHere
|
8 years ago |
AlexVinS
|
2cfb2e6ae0
get rid of CPlayerBattleCallback::battleCanCastThisSpell
|
8 years ago |
AlexVinS
|
4d430f6ad8
get rid of CPlayerBattleCallback::battleCanCastSpell
|
8 years ago |
AlexVinS
|
60bd54c9b3
Changed playerToSide return type to signed
|
9 years ago |
AlexVinS
|
9097ffbd8a
Handle HYPNOTIZE effect in case of FEAR and ENCHANTED effects
|
9 years ago |
AlexVinS
|
83b3c700dd
Handle HYPNOTIZE effect in case of mana drain
|
9 years ago |
dydzio
|
68af6a0c19
Refactoring InfoAboutHero + GetHeroInfo
|
9 years ago |
AlexVinS
|
7e85154946
Unify battleCanCastSpell parameters
|
9 years ago |
AlexVinS
|
505e53c17d
Merge remote-tracking branch 'remotes/origin/develop' into SpellsRefactoring8
|
9 years ago |
Arseniy Shestakov
|
c8faca8f39
Refactoring: only use RNGs explicitly to avoid bug prone code in future
|
9 years ago |
Arseniy Shestakov
|
c8bcb14d34
CCallbackBase: add CRandomGenerator to all callbacks
|
9 years ago |
AlexVinS
|
3b2a45c8dc
Get rid of battleGetPossibleTargets.
|
9 years ago |
AlexVinS
|
5df8d1cbd0
Update low level battle stacks accessor for ghost selection support.
|
9 years ago |
Arseniy Shestakov
|
c5cfc8467f
Battles: change naming from drawbridge to gate for everything
|
9 years ago |
Arseniy Shestakov
|
57328bdc83
Battles: implement basic drawbridge mechanics
|
9 years ago |
Arseniy Shestakov
|
9fd1cff090
Refactoring: always use std prefix for shared_ptr, unique_ptr and make_shared
|
10 years ago |
AlexVinS
|
70d9be8447
Use ISpellCaster in battle callback
|
10 years ago |
AlexVinS
|
a4d4851d80
Fix typo: casted->cast
|
10 years ago |
AlexVinS
|
6010bbe7ba
More correct usage of battleGetFightingHero
|
10 years ago |
Fay
|
1cb54689cf
Prevents first aid tents from melee attacking;
|
10 years ago |
AlexVinS
|
b0df8172f9
Move battleIsImmune to CSpell
|
11 years ago |
AlexVinS
|
fa9c1e8637
remove healedHP calculation from battlestate
|
11 years ago |
AlexVinS
|
a06dae1f96
Move getAffectedCreatures to CSpell. + more drafts
|
11 years ago |
AlexVinS
|
d7800b834e
get rid of CBattleInfoCallback::calculateSpellDmg
|
11 years ago |
AlexVinS
|
e4b726151d
get rid of CBattleInfoCallback::battleStackIsImmune
|
11 years ago |
AlexVinS
|
ddf98a5920
+SpecialRisingSpellMechanics::isImmuneByStack
|
11 years ago |
AlexVinS
|
639b915391
Move calculateSpellBonus to CSpell
|
11 years ago |
AlexVinS
|
6f65d2484b
Extract battleStackIsImmune from battleIsImmune
|
11 years ago |
AlexVinS
|
0e93ec28c5
Add new general method for battle stack access
|
11 years ago |