mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-28 03:57:02 +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();
|
const CSpell * sourceSpell = SpellID(bonus->sid).toSpell();
|
||||||
if(!sourceSpell)
|
if(!sourceSpell)
|
||||||
return false;//error
|
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)
|
//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;
|
return false;
|
||||||
//Special case:do not remove lifetime marker
|
//Special case:do not remove lifetime marker
|
||||||
if(sourceSpell->id == SpellID::CLONE)
|
if(sourceSpell->id == SpellID::CLONE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user