Code:
;~ Description: Returns time remaining before an effect expires, in milliseconds. Func GetEffectTimeRemaining($aEffect) If Not IsDllStruct($aEffect) Then $aEffect = GetEffect($aEffect) If IsArray($aEffect) Then Return 0 Return DllStructGetData($aEffect, 'Duration') * 1000 ;~ Return DllStructGetData($aEffect, 'Duration') * 1000 - (GetSkillTimer() - DllStructGetData($aEffect, 'TimeStamp')) EndFunc ;==>GetEffectTimeRemaining
Any suggestions for solving this problem?






