Modified actors.cpp and Authors.md

pull/593/head
Noah Gooder 4 years ago
parent 0d1c073cfa
commit e42b67ee50

@ -215,6 +215,7 @@ Programmers
Yohaulticetl Yohaulticetl
Yuri Krupenin Yuri Krupenin
zelurker zelurker
Noah Gooder
Documentation Documentation
------------- -------------

@ -951,7 +951,7 @@ namespace MWMechanics
if (actor.getClass().hasInventoryStore(actor)) if (actor.getClass().hasInventoryStore(actor))
actor.getClass().getInventoryStore(actor).purgeEffect(ESM::MagicEffect::Poison); actor.getClass().getInventoryStore(actor).purgeEffect(ESM::MagicEffect::Poison);
} }
else if (effects.get(ESM::MagicEffect::CureParalyzation).getModifier() > 0) if (effects.get(ESM::MagicEffect::CureParalyzation).getModifier() > 0)
{ {
creatureStats.getActiveSpells().purgeEffect(ESM::MagicEffect::Paralyze); creatureStats.getActiveSpells().purgeEffect(ESM::MagicEffect::Paralyze);
creatureStats.getSpells().purgeEffect(ESM::MagicEffect::Paralyze); creatureStats.getSpells().purgeEffect(ESM::MagicEffect::Paralyze);

Loading…
Cancel
Save