Browse Source

log error if DISPELL was resisted

AlexVinS 10 years ago
parent
commit
2bf63b0ebd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/spells/BattleSpellMechanics.cpp

+ 1 - 0
lib/spells/BattleSpellMechanics.cpp

@@ -142,6 +142,7 @@ void DispellMechanics::applyBattle(BattleInfo * battle, const BattleSpellCast *
 	for(auto stackID : packet->affectedCres)
 	{
 		if(vstd::contains(packet->resisted, stackID))
+			logGlobal->errorStream() << "Resistance to DISPELL";			
 			continue;
 
 		CStack *s = battle->getStack(stackID);