runtime error: Cannot modify null.LockMovement.
proc name: Body Copy (/mob/swap/verb/Finalpash)
source file: skills.dm,3376
usr: the game crasher (/mob/player/Sayain)
src: the game crasher (/mob/player/Sayain)
call stack:
the game crasher (/mob/player/Sayain): Body Copy(null)
but heres the coding
mob
swap
verb
Finalpash(mob/M in oview(6))
set name = "Body Copy"
set category = "Fighting"
if(M.PowerLevel <= 0)
if(usr.ki >= 19)
if(usr.stamina >= 50)
if(usr.swapping == 0)
var/dam = usr.maxPowerLevel
if(dam == usr.maxPowerLevel)
view(6) << "<font size = 1><B>[usr] creeps under [M] skin and steals [M] body"
usr.loc = M.loc
M.LockMovement = 1
usr.LockMovement = 1
sleep(35)
usr.swapping = 1
usr.icon = M.icon
usr.icon_state = M.icon_state
M.PowerLevel -= dam
M.DeathCheck()
usr.firing = 0
M.LockMovement = 0
usr.LockMovement = 0
usr.stamina -= 50
usr.ki -= 20
else
usr << "Chill [usr] you already stolen a body"
else
usr << "You need to rest"
else
usr << "Your out of ki"
else
usr << "[M] powerlevel must be below 0"