1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

* Fixed bug #72

* Implemented artifacts: Wizard's Well, Ring of the Magi, Cornucopia.
* Partially implemented artifacts: Armageddon's Blade,  Angelic Alliance, Cloak of the Undead King, Armor of the Damned, Power of the Dragon Father, Titan's Thunder, Admiral's Hat, Bow of the Sharpshooter.
Most of these only have their bonuses set.
* Updated AUTHORS
This commit is contained in:
OnionKnight
2009-08-21 19:31:41 +00:00
parent f4743d2fc6
commit 9bc40f1a8d
6 changed files with 110 additions and 37 deletions

View File

@ -1014,6 +1014,8 @@ int CGHeroInstance::getSightRadious() const
si32 CGHeroInstance::manaRegain() const
{
if (getArtPos(138) != -1) // Hero has Wizard's Well equipped.
return manaLimit();
return 1 + getSecSkillLevel(8) + valOfBonuses(HeroBonus::MANA_REGENERATION); //1 + Mysticism level
}