1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-03 00:46:55 +02:00

Merged Ivan's changes in trunk ( r1918 )

This commit is contained in:
Michał W. Urbańczyk
2011-01-15 20:07:16 +00:00
9 changed files with 90 additions and 36 deletions

View File

@ -2752,7 +2752,7 @@ void COPWBonus::onHeroVisit (const CGHeroInstance * h) const
}
break;
case 5: //Mana Vortex
if (visitors.empty() && h->mana <= h->manaLimit())
if (visitors.empty() && h->mana <= h->manaLimit() * 2)
{
cb->setManaPoints (heroID, 2 * h->manaLimit());
cb->setObjProperty (id, ObjProperty::VISITED, true);