mob/NPC_Rouge
icon = 'NPC.dmi'
HP = 99999999999999
verb/Talk()
set src in oview(1)
switch(alert("What!?? The Tutorial Lady sent you!! For God Sake Lady!! I dont want anything to do with this... Well your here now i might aswell tell you a few things about being a rogue. Wanna listen?","Rogue Expert","Yes","No"))
if("Yes")
var/s = input("Ok, lets make this quick. We Rogues rely on our speed and cunning ability to steal other peoples money. My job is to teach you a move for rogues only and then send you off to the Food fanatic. Wanna learn HeartSteal?")in list("Yes","no")
if(s=="Yes")
if(usr.Class=="1")
alert("HeartSteal damages the enemy then steals their life to heal yours.","","Ok")
usr << sound('Unforgiven.mid')
usr << "<b> You learn HeartSteal!"
usr.verbs+=new/mob/Skills/verb/HeartSteal
usr.mana -= 1
else
alert("Bother someone else.","","Ok")
return
mob
Skills
verb
HeartSteal(mob/M as mob in oview(3))
desc = "Deals damage to an enemy and heals you with it!"
var/damage = usr.str
if(usr.mana>=8)
view() << "<I>\red You use HeartSteal on the [M]!"
M.overlays += 'overmonst.dmi'
spawn(20)
M.overlays -= 'overmonst.dmi'
M << "<I>\red Your HP Drains as [usr.name] Hits you with HeartSteal!"
M.HP -= damage
usr.mana -= 8
Health_Bar()
mana_Bar()
M.Deathcheck()
usr.DeathCheck()
else
usr << "<I>\blue You need more MP to use this Skill!"
Problem description:
I dont see whats wrong, i mean all the vars check out with the character i use...
i get no errors but the verb wont create.
Good to hear! Problem solved.