Support for damage spell immunities.
This commit is contained in:
DjWarmonger committed 2011-06-25 06:55:35 +00:00
1 parent 7dce558e28
commit e5c11385cd
6 files changed
+38 -49

No files matched your search

+1 -1
View File
@@ -772,7 +772,7 @@ void CSpellWindow::SpellArea::clickRight(tribool down, bool previousState)
std::string dmgInfo;
const CGHeroInstance * hero = owner->myHero;
int causedDmg = owner->myInt->cb->estimateSpellDamage( CGI->spellh->spells[mySpell], (hero ? hero : NULL));
if(causedDmg == 0)
if(causedDmg == 0 || mySpell == 57) //Titan's Lightning Bolt already has damage info included
dmgInfo = "";
else
{