made the attack instance accessible in effects applyeffect