» Sat Nov 17, 2012 8:03 pm
Ok I did not understand much: first thing first. here is how it goes.
The player kills a creature. In this creature's inventory there is a MiscItem (I called it MATorque). when the players takes this MiscItem he gets a 70% resist Frost magic effect. but when this MiscItem is taken out of the player's inventory this Magic Effect disapear...
My question becomes: how do I do go about doing this?
should I use onItemadded and then what is the akSourceContainer? also what is the function that will add the Magic Effect is it the Active MagicAffect but then on the onItemremoved what I don't even find a function called Desactive MagicEffect...
In short I need your help...