Skills:
  - setvariable{var=caster.targetdistance;type=FLOAT;value=0}
  - setvariable{var=caster.targetx;type=FLOAT;value=<target.l.x>} @target
  - setvariable{var=caster.targetz;type=FLOAT;value=<target.l.z>} @target
  - setvariable{var=caster.selfx;type=FLOAT;value=<caster.l.x.>} @self
  - setvariable{var=caster.selfz;type=FLOAT;value=<caster.l.z.>} @self
  - variableMath{var=caster.targetdistance;equation="sqrt(((<caster.var.targetx>-<caster.var.selfx>)^2)+((<caster.var.targetz>-<caster.var.selfz>)^2))"} @self