Talk:HasSpell

From the Oblivion ConstructionSet Wiki
Revision as of 21:36, 30 October 2013 by imported>Syscrusher
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I believe I may have found an anomaly for this function. On a creature (rather than an NPC), it seems in my testing to always return zero.

I can replicate this either with an Ability that is built into the creature's spell list at edit time, or with an Ability that is added to the creature from the console in game.

I verified that the same Ability added to a human NPC *is* correctly detected by HasSpell.

I haven't tested with non-Ability spells, nor with a wide variety of creatures. For me, this anomaly happens with a Spider Daedra.

Syscrusher (talk) 22:36, 30 October 2013 (EDT)