1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

* fixed bug with displaying mass spells

* fixed defender projectile animation
* you don't have to select location for spells which don't need them
* fixed calculating stack speed when it's under slow spell effect
* changed some 17's into BFIELD_WIDTH
This commit is contained in:
mateuszb
2009-01-16 17:58:41 +00:00
parent a5c4586d13
commit 9ef5519f89
4 changed files with 47 additions and 44 deletions

View File

@ -343,7 +343,7 @@ ui32 CStack::speed() const
//slow effect check
effect = getEffect(54);
if(effect)
premy -= VLC->spellh->spells[effect->id].powers[effect->level];
premy -= (creature->speed * VLC->spellh->spells[effect->id].powers[effect->level])/100;
//prayer effect check
effect = getEffect(48);
if(effect)