After Some debugging it seems that active effects are in an Avatar's ".dataLeaf.auras".
The aura itself can be identified by it's "nam" property. It also has a property "ts" which I assume to be the time stamp of when the aura was applied. so you can tell how much time is left in the aura by subtracting ts from Now.
hopefully the following code will explain:
Code:
protected function IsTargetPoisoned():Boolean
{
var Player:Object = Game.world.myAvatar;
var Target:Object = Player.target;
var aura:Object;
for each(aura in Target.dataLeaf.auras)
if (aura.nam == "Viper's Kiss")
return true;
return false;
}
I hope this will help anyone who has a related question.