PK_Rockin for(var/mob/M in oview(1))
set category = "PSI"
if(usr.psidelay == 1)
usr << "\red Please wait before using PSI again."
return
if(M.pvp == "No")
usr << "\red That player has Pvp turned off!"
return
if(usr.PP >= 15)//PP Cost
usr.PP -= 15//PP Cost
M.overlays+=image(icon='icon/pkflash.dmi',icon_state="explosion")//Overlay
////EFFECT//////////////////////////////////////////////////////////////
var/damage = src.PSI + 25 - M.defense
if(M.defense >= damage)
damage = 0
M.hp -= damage
M.updateHealth()
src.exp += M.giveexp
src.level_up()
view(M) << sound("sound/flash.wav",,,3,100)
//////////////////////////////////////////////////$2F/////////////////////
view() << "\red[usr] used PK Rockin' on [M]! It quakes them for [damage] hp!"//Tells the target
usr.PSI_Use += 1
checkpsi()
usr.psidelay()
M.overlays-=image(icon='icon/pkflash.dmi',icon_state="explosion")
M.death_check(src)
else
src << "\red Not enough PP!"
return
Problem description:PSI.dm:139:error:PK_Rockin :invalid proc definition
PSI.dm:140:error::invalid proc definition
inventory\healthbartest.dm:7:error:updateHealth :previous definition
Combat.dm:110:error:death_check :previous definition
Combat.dm:173:error:level_up :previous definition
PSI.dm:13:error:checkpsi :previous definition
PSI.dm:29:error:psidelay :previous definition
PSI.dm:12:error:/mob/psi/verb/PK_Rockin:not a prototype
PSI.dm:28:error:/mob/psi/verb/PK_Rockin:not a prototype
PKFire_project.dm:17:error:checkpsi:undefined type: checkpsi
PSI.dm:56:error:checkpsi:undefined type: checkpsi
PSI.dm:84:error:src.level_up:undefined type: src.level_up
PSI.dm:89:error:checkpsi:undefined type: checkpsi
PSI.dm:126:error:src.level_up:undefined type: src.level_up
PSI.dm:131:error:checkpsi:undefined type: checkpsi
Next, you defined the proc wrong. Bakasensei explained well enough that anyone who read the guides would understand what he meant, so I suggest you read the DM and ZBT guides. It should all make sense after that.