Entity Effect: Separates total duration and ticks of activity

Changed HandleEntityEffect to use cEntityEffect's ticks instead of a static counter