trouble applying damage

I'm trying to apply as a mechanic of a certain ability that the user takes double damage, but when I try running my functions this happens (video and functions attached):

Continue to help post