Sharinnegan/verb
Amenotejikara()
set category = "Ninjutsu"
set name = "Amenotejikara"
if(usr.dead){usr<<"You may not use Jutsu Here!";return}
if(usr.rest){usr<<"Not while resting!";return}
if(usr.fired){usr<<"You must wait!";return}
if(usr.chakra<=0){usr<<"You dont have enough chakra for this jutsu!";return}
if(usr.chakra>=1000)
usr.chakra-=1000
usr.fired = 1
for(var/mob/M in view(6))
var/Swap=usr.loc
var/MSwap=M.loc
M.move = 1
usr.move = 1
M.loc=Swap
usr.loc=MSwap
usr<<"You Switch Places With [M]"
usr.move = 0
M<<"Huh?"
sleep(5)
M.move = 0
sleep(20)
usr.fired = 0
Problem description:
it seems when i call this verb there's a small slight delay when swapping places with a person i was wonder if there's a way to make it instant and also how can i make it so you can swap with objects?
I think you need something other than a for() loop if you want a "targeted skill" that lets you swap places with any movable atom. Maybe left-click something after using the skill?