AlexVinS
|
4d9058e412
|
Whitespace cleanup. (No code changes.)
|
2016-02-15 13:34:37 +03:00 |
|
ArseniyShestakov
|
e872b400b7
|
Comments save format backward compatability code as Ivan suggested
Also we should always handle RumorState::TYPE_NONE in getTavernRumor properly anyway.
|
2015-12-06 02:51:54 +03:00 |
|
AlexVinS
|
70d9be8447
|
Use ISpellCaster in battle callback
|
2015-09-29 17:26:52 +03:00 |
|
AlexVinS
|
36e154d9b9
|
Use ISpellCaster in getAffectedStacks
|
2015-09-29 17:26:50 +03:00 |
|
AlexVinS
|
947f6089d5
|
Use ISpellCaster in isImmuneByStack
|
2015-09-29 17:26:49 +03:00 |
|
AlexVinS
|
a4d4851d80
|
Fix typo: casted->cast
|
2015-09-29 17:26:48 +03:00 |
|
AlexVinS
|
d9cbe487c7
|
remove useless function CSpell::getTargetInfo
|
2015-09-29 17:26:47 +03:00 |
|
AlexVinS
|
253b850ac3
|
Partial fix for 1791
|
2015-09-29 17:26:43 +03:00 |
|
AlexVinS
|
baba3a46e1
|
Centralize creature spell bonuses handling
* unified heal and damage calculation
* apply SPELL_DAMAGE_REDUCTION, MORE_DAMAGE_FROM_SPELL for Fairy dragon
|
2015-09-29 17:26:35 +03:00 |
|
AlexVinS
|
46f99db8d7
|
Hide some spell mechnaics details
|
2015-09-29 17:26:32 +03:00 |
|
AlexVinS
|
9e0fd70208
|
Move isCastableBy logic back to CGHeroInstance - it is Hero-specific
* When and if canCastThisSpell will also be implmented for creatures common part may be moved to CSpell class.
|
2015-09-16 04:39:44 +03:00 |
|
AlexVinS
|
3029b1a432
|
Fix initialization of CSpell::AnimationItem
|
2015-09-12 23:52:04 +03:00 |
|
AlexVinS
|
7776d7bbf7
|
rename BattleSpellCastParameters::caster
|
2015-09-12 21:09:54 +03:00 |
|
AlexVinS
|
98ea8bf314
|
Introduce dummy spell animation/ animation pause configuration
* save format changed with backward compatibility, UNTESTED
|
2015-09-12 21:09:52 +03:00 |
|
AlexVinS
|
832d69ec11
|
Hide battle log algorithm in spell classes.
* not finished, to be moved to json of splitted between mechanics classes
|
2015-09-12 21:09:51 +03:00 |
|
AlexVinS
|
fb5903d610
|
Initial experiments on hero & creature casting unification
|
2015-09-12 21:09:44 +03:00 |
|
AlexVinS
|
41f1d3f21f
|
Quick fix for major spell configuration bug
* clean fix requires save format change
|
2015-04-11 13:14:26 +03:00 |
|
AlexVinS
|
9600446cf9
|
+smart target, +hit animation
|
2015-03-18 17:48:32 +03:00 |
|
AlexVinS
|
c81d4203d7
|
Do not try to cast EARTHQUAKE with no fort
|
2015-03-18 16:39:07 +03:00 |
|
AlexVinS
|
5fda2aac9a
|
formatting
|
2015-02-26 20:59:18 +03:00 |
|
AlexVinS
|
685deddac1
|
Start spell-relatet files reorganisation
* moved existing files to separate directory
-> todo: split mechanics
|
2015-02-26 08:39:48 +03:00 |
|