mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Acid breath should have absolute dispel immunity
This commit is contained in:
parent
e1857df4bb
commit
df11e851ef
@ -94,9 +94,9 @@ bool Dispel::mainSelector(const Bonus * bonus)
|
||||
const CSpell * sourceSpell = SpellID(bonus->sid).toSpell();
|
||||
if(!sourceSpell)
|
||||
return false;//error
|
||||
//Special case: DISRUPTING_RAY is "immune" to dispell
|
||||
//Special case: DISRUPTING_RAY and ACID_BREATH_DEFENSE are "immune" to dispell
|
||||
//Other even PERMANENT effects can be removed (f.e. BIND)
|
||||
if(sourceSpell->id == SpellID::DISRUPTING_RAY)
|
||||
if(sourceSpell->id == SpellID::DISRUPTING_RAY || sourceSpell->id == SpellID::ACID_BREATH_DEFENSE)
|
||||
return false;
|
||||
//Special case:do not remove lifetime marker
|
||||
if(sourceSpell->id == SpellID::CLONE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user