瀏覽代碼

log error if DISPELL was resisted

AlexVinS 10 年之前
父節點
當前提交
2bf63b0ebd
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);