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:
@ -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)
|
||||
|
Reference in New Issue
Block a user