void main()
{
object oPC = OBJECT_SELF;
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectAreaOfEffect(AOE_PER_INVIS_SPHERE, "spellabsorbent", "test", "spellabsorbex"), oPC);
}
IF this is running in an onEquip event then the script in running on the module.(OBJECT_SELF).
So your script is applying the area of effect to the module. Use GetItemLastEquiptedBy or whatever it is to get the PC equiping the item.
Modifié par Lightfoot8, 30 juin 2011 - 07:26 .