1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-29 00:41:38 +02:00
This commit is contained in:
mateuszb
2010-03-02 11:40:29 +00:00
parent 336b260d8a
commit c3cf16df19
2 changed files with 22 additions and 3 deletions

View File

@ -2702,6 +2702,8 @@ std::set<CStack*> BattleInfo::getAttackedCreatures( const CSpell * s, int skillL
int BattleInfo::calculateSpellDuration(const CSpell * spell, const CGHeroInstance * caster)
{
if(!caster) //TODO: something better
return 1;
switch(spell->id)
{
case 56: //frenzy