mob/var
YT = 0
mob/Dark/verb
YamiTeleport()
set category = "Jutsus"
set name = "Yami Teleport"
if(YT == 1)
usr.YT = 0
usr << "You disable the ability to Yami Teleport"
else
usr.YT = 1
usr << "You enable the ability to Yami Teleport"
turf/DblClick()
if(usr.YT)
if(src.density) return
if(usr.onwater == 1)
usr << "You can't use Yami Teleport while on water!"
if(usr.PK == 0)
usr << "You can't use Yami Teleport in a Non PK Zone!"
else
usr.loc = locate(src.x,src.y,src.z)
usr.chakra -= 500
else
return
Problem description:
Alright well this is the yami teleport move. Its not working at all i click on the surface and i dont teleport to the spot. I work on the game before its just now its not working and when i complie no errors
If there is anything wrong in this code, please let me know.
- Hashir