Skip to content
Snippets Groups Projects
Commit f029d55d authored by dg's avatar dg
Browse files

Draconic Will does not prevent status effects of type "other"

git-svn-id: http://svn.net-core.org/repos/t-engine4@5992 51575b47-30f0-44d4-a5cc-537603b46e54
parent c8f7d495
No related branches found
No related tags found
No related merge requests found
......@@ -4295,7 +4295,7 @@ function _M:on_set_temporary_effect(eff_id, e, p)
local e = self.tempeffect_def[self.EFF_HAUNTED]
e.on_setFearEffect(self, e)
end
if e.status == "detrimental" and self:attr("negative_status_effect_immune") then
if e.status == "detrimental" and e.type ~= "other" and self:attr("negative_status_effect_immune") then
p.dur = 0
end
if e.status == "detrimental" and e.type == "mental" and self:attr("mental_negative_status_effect_immune") and not e.subtype["cross tier"] then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment