So, I've been going back and replacing a bunch of game.getPlayer() calls with a PlayerRef property, because it's more efficient.
However, despite the property being set to the PlayerRef(00000014) in the CK, once the script is running, the property seems to be a NONE. The following error (and more like it) appear in my Papyrus logs:
[11/11/2012 - 03:35:06AM] error: Cannot call HasMagicEffect() on a None object, aborting function callstack:[Active effect 7 on (00000014)].ishicobattlemageweaponbuffscript.OnSpellCast() - "ishicobattlemageweaponbuffscript.psc" Line 56
Am I doing something wrong? Forgetting something?