AlexVinS
|
36e154d9b9
Use ISpellCaster in getAffectedStacks
|
10 years ago |
AlexVinS
|
947f6089d5
Use ISpellCaster in isImmuneByStack
|
10 years ago |
AlexVinS
|
a4d4851d80
Fix typo: casted->cast
|
10 years ago |
AlexVinS
|
d9cbe487c7
remove useless function CSpell::getTargetInfo
|
10 years ago |
AlexVinS
|
72587a8299
Removed hardcoded check for ANIMATE_DEAD absolute imminity - there is json configuration for that
|
10 years ago |
AlexVinS
|
5f41ec912f
fix sphereOfPermanence
|
10 years ago |
AlexVinS
|
3d7435c520
Introduced absolute specific spell immunity.
|
10 years ago |
AlexVinS
|
253b850ac3
Partial fix for 1791
|
10 years ago |
AlexVinS
|
a44c606277
Use callback methods
|
10 years ago |
AlexVinS
|
660203b436
Tweak BattleSpellCastParameters
|
10 years ago |
AlexVinS
|
2b434111bf
More hero|creature casting unification
|
10 years ago |
AlexVinS
|
e454649886
Use BattleSpellCastParameters for spell parameters override
|
10 years ago |
AlexVinS
|
10318a3da3
Intoduce PASSIVE_CASTING mode for opening battle spells
|
10 years ago |
AlexVinS
|
6010bbe7ba
More correct usage of battleGetFightingHero
|
10 years ago |
AlexVinS
|
92990c887c
Fix creatures can always cast on self
|
10 years ago |
AlexVinS
|
e552e37cf7
Factored out CDefaultSpellMechanics::battleCast
|
10 years ago |
AlexVinS
|
baba3a46e1
Centralize creature spell bonuses handling
|
10 years ago |
AlexVinS
|
67bd698019
Added some debug logging
|
10 years ago |
AlexVinS
|
873979a300
The only usage of secHero cast parameter is mana channeling - better to get it OTF
|
10 years ago |
AlexVinS
|
46f99db8d7
Hide some spell mechnaics details
|
10 years ago |
AlexVinS
|
2c3a607497
Tweak StacksHealedOrResurrected
|
10 years ago |
AlexVinS
|
a1e06aa217
Unify LIFE_DRAIN and Tent healing with magic healing
|
10 years ago |
AlexVinS
|
9ed9075afc
Introduce calculateHealedHP again, now in better place.
|
10 years ago |
AlexVinS
|
0929e009db
Remove suspicios code in display damage calculation
|
10 years ago |
AlexVinS
|
16f0714474
More usage of OOP in HealingSpellMechanics::applyBattleEffects
|
10 years ago |
AlexVinS
|
0fecb40039
Extract HealingSpellMechanics
|
10 years ago |
AlexVinS
|
c050fde3f9
Get rid of DefaultSpellMechanics::calculateHealedHP
|
10 years ago |
AlexVinS
|
a35b8a46d3
Comment out wrong code
|
10 years ago |
AlexVinS
|
f66c29ea3b
fix comments
|
10 years ago |
AlexVinS
|
05e52993fd
Simplified healed HP calculation
|
10 years ago |