: Flying_Thundergod_jutsu_lvl_1()
flick("Flying-Thundergod lvl1",src)
for(var/mob/m in get_step(src,src.dir))
var/Damage=max(0,src-[m].Def+7)
view(m)<<"[src] hit [m] for [Damage] Damage!"
with the errors:Characters.dm:60:error: .: missing comma ',' or right-paren ')'
Characters.dm:60:error: .: expected end of statement
Characters.dm:60:error: ): expected }
Characters.dm:60:error: location of top-most unmatched {
and on top of i can't find an example of how to create an attack that would move forward x amount of tiles and then return to the same spot, like a boomerang kind of effect if that's possible. If its not, a simple way to make the attack more forward x amount of tiles would help. Thx!
As for your question, you could use a loop and step for projectiles, and for the boomerang effect have it step back towards the player after its moved a certain distance. You'd want get_dist() for that one.