DjWarmonger
|
abe88ea890
|
- Refactoring legacy code
- Some checks for #2311
|
2015-10-24 15:09:46 +02:00 |
|
DjWarmonger
|
8c9f8f22d9
|
Merge pull request #123 from ArseniyShestakov/mantis-1230
Okay, now we shouldn't get broken savegames. Merging.
|
2015-10-17 08:31:44 +02:00 |
|
ArseniyShestakov
|
3663b952ea
|
Fix issue 2276. Refugee Camp shouldn't be guarded
|
2015-10-16 06:45:06 +03:00 |
|
ArseniyShestakov
|
226650582d
|
Move base movement cost to GameConstants
|
2015-10-16 03:03:40 +03:00 |
|
ArseniyShestakov
|
3466e0fae7
|
getTileCost: one more pass over code and formatting fix
|
2015-10-15 15:17:21 +03:00 |
|
ArseniyShestakov
|
46c7e8e36d
|
Add list ending comment as suggested by @alexvins
This way we can add new bonuses without changing last line in list and avoid possible issues of extra concatenating.
|
2015-10-15 12:20:53 +03:00 |
|
ArseniyShestakov
|
25da9f249e
|
Move NO_TERRAIN_PENALTY to the end of list to avoid save breakage
|
2015-10-15 11:44:59 +03:00 |
|
ArseniyShestakov
|
52a52dcfd9
|
Implement NO_TERRAIN_PENALTY bonus
Penalty of specified terrain type is ignored if hero have this bonus
|
2015-10-15 01:09:02 +03:00 |
|
Alexander Shishkin
|
fca4deaad2
|
Merge pull request #122 from vmarkovtsev/feature/warnings
Fix warnings produced by recent Clang build
|
2015-10-14 07:28:47 +03:00 |
|
Vadim Markovtsev
|
b701835de0
|
Fix wrong comparison
|
2015-10-13 21:05:46 +03:00 |
|
Vadim Markovtsev
|
e4b1ef1405
|
Add "override" to virtual overriden methods
|
2015-10-13 21:05:36 +03:00 |
|
AlexVinS
|
b94432b4ba
|
Fixed http://bugs.vcmi.eu/view.php?id=2297
* allow banned spells by Tomes (XXX_SPELLS bonus), Spelbinders Hat (SPELLS_OF_LEVEL bonus)
* allow banned spells by cheat-code (now also SPELLS_OF_LEVEL bonus)
|
2015-10-13 13:16:46 +03:00 |
|
AlexVinS
|
eeb100d6a4
|
More comments about dispell special cases.
|
2015-10-13 07:11:49 +03:00 |
|
AlexVinS
|
2677d4a677
|
Fixed action cancel on active stack remove
|
2015-10-08 08:15:29 +03:00 |
|
AlexVinS
|
02c15085be
|
Remove (aready disabled in prev. commit) active stack change in sacrifice mechanics
* stack removing is evil, but changing active stack by spells is more evil ...
|
2015-10-06 03:59:05 +03:00 |
|
AlexVinS
|
f99bf099ca
|
Made player interface tolerant to active stack removal.
|
2015-10-06 03:46:35 +03:00 |
|
AlexVinS
|
4e60b4cf53
|
Fixed 0002280
|
2015-10-06 01:26:50 +03:00 |
|
AlexVinS
|
f1d9e15783
|
[Tweak] Magic values--
|
2015-10-06 00:33:46 +03:00 |
|
AlexVinS
|
6cf220b882
|
Partial fix for 2272, there are more active stack sacrifice problems.
|
2015-10-05 20:33:05 +03:00 |
|
AlexVinS
|
fa06e05487
|
Merge branch 'develop' into SpellsRefactoring7
|
2015-10-05 00:45:57 +03:00 |
|
DjWarmonger
|
abe02247b5
|
Fixed bank randomization.
|
2015-10-02 17:28:33 +02:00 |
|
DjWarmonger
|
2733927527
|
Version bump.
|
2015-10-01 17:22:07 +02:00 |
|
AlexVinS
|
b07d272c2a
|
Added new BattleSpellCastParameters support to SACRIFICE spell.
|
2015-10-01 02:36:00 +03:00 |
|
AlexVinS
|
939a9180e2
|
Added new BattleSpellCastParameters support to TELEPORT spell.
|
2015-09-30 22:38:50 +03:00 |
|
AlexVinS
|
57e5b768e8
|
Allow multiple destinations in BattleSpellCastParameters
|
2015-09-30 00:31:50 +03:00 |
|
AlexVinS
|
70d9be8447
|
Use ISpellCaster in battle callback
|
2015-09-29 17:26:52 +03:00 |
|
AlexVinS
|
75c2566410
|
"const" tweak
|
2015-09-29 17:26:51 +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
|
72587a8299
|
Removed hardcoded check for ANIMATE_DEAD absolute imminity - there is json configuration for that
|
2015-09-29 17:26:46 +03:00 |
|
AlexVinS
|
5f41ec912f
|
fix sphereOfPermanence
|
2015-09-29 17:26:45 +03:00 |
|
AlexVinS
|
3d7435c520
|
Introduced absolute specific spell immunity.
|
2015-09-29 17:26:44 +03:00 |
|
AlexVinS
|
253b850ac3
|
Partial fix for 1791
|
2015-09-29 17:26:43 +03:00 |
|
AlexVinS
|
a44c606277
|
Use callback methods
|
2015-09-29 17:26:42 +03:00 |
|
AlexVinS
|
660203b436
|
Tweak BattleSpellCastParameters
|
2015-09-29 17:26:41 +03:00 |
|
AlexVinS
|
2b434111bf
|
More hero|creature casting unification
|
2015-09-29 17:26:40 +03:00 |
|
AlexVinS
|
e454649886
|
Use BattleSpellCastParameters for spell parameters override
|
2015-09-29 17:26:39 +03:00 |
|
AlexVinS
|
10318a3da3
|
Intoduce PASSIVE_CASTING mode for opening battle spells
* now at least one "caster" object is present
|
2015-09-29 17:26:39 +03:00 |
|
AlexVinS
|
6010bbe7ba
|
More correct usage of battleGetFightingHero
* this should fix "FIXME: battleGetFightingHero wrong argument!"
|
2015-09-29 17:26:38 +03:00 |
|
AlexVinS
|
e552e37cf7
|
Factored out CDefaultSpellMechanics::battleCast
(-) still huge
|
2015-09-29 17:26:36 +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
|
67bd698019
|
Added some debug logging
|
2015-09-29 17:26:34 +03:00 |
|
AlexVinS
|
873979a300
|
The only usage of secHero cast parameter is mana channeling - better to get it OTF
|
2015-09-29 17:26:33 +03:00 |
|
AlexVinS
|
46f99db8d7
|
Hide some spell mechnaics details
|
2015-09-29 17:26:32 +03:00 |
|
AlexVinS
|
2c3a607497
|
Tweak StacksHealedOrResurrected
* flags should be bool
|
2015-09-29 17:26:31 +03:00 |
|
AlexVinS
|
a1e06aa217
|
Unify LIFE_DRAIN and Tent healing with magic healing
|
2015-09-29 17:26:30 +03:00 |
|
AlexVinS
|
9ed9075afc
|
Introduce calculateHealedHP again, now in better place.
|
2015-09-29 17:26:29 +03:00 |
|
AlexVinS
|
0929e009db
|
Remove suspicios code in display damage calculation
|
2015-09-29 17:26:28 +03:00 |
|