Is your EActor a pointer now? If it is, you need to call EActor->AplyDamage() instead of EActor.ApplyDamage(), maybe you want to update your code in your question
Edit: try removing your function call to ApplyDamage() at all and see if THAT is the problem. I can not see anything wrong with it. I think that something else might be amiss