Ok, I have the code for the healing spell. The healing works fine, but it does it on other players instead of yourself, can anyone help me, here is my code:
mob/proc/SoulFire(mob/M as mob in oview(1000))
set category = "Spells"
if(usr.MP<=10)
usr<<"You don't have enough MP"
else
usr<<"You summon your power...."
usr.overlays+=/obj/overlays/SoulFireStart
sleep(50)
usr.overlays-=/obj/overlays/SoulFireStart
sleep(1)
M.HP=M.MaxHP
usr.MP-=10
Copyright © 2024 BYOND Software.
All rights reserved.
oview() -- All within the view excluding the tile the user is on.
view() -- Same as oview() except it includes the tile the user is on.