Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mob
- Skill
- verb
- Atirar(mob/M as mob in oview(15))// The spells name. ALso sets how far away the enemy can be.8.
- desc = "Deals damage to an enemy and heals you with it!"// A short Description.
- var/damage = usr.Mana_Power
- if(usr.MP>=8)
- view() << "<b> Você atirou uma flecha no [M]!"
- M.overlays += 'Etc.dmi'
- spawn(20)
- M.overlays -= 'Etc.dmi'
- M << "<b>\red Yoou slowly feel your life drained as [usr.name] casts inervation on you!"//Tell the mosnter or whoever you use it on what happened.
- M.HP -= damage
- usr.HPCHECK()
- usr.MP -= 0
- M.Death()
- usr.Check()
- else
- usr << "<b> You need for MP to use this spell!"
- mob
- proc
- HPCHECK()//Another proc which makes sure yor HP is over your MaxHP Bar thingy.
- if(usr.HP<=usr.MaxHP)//checks
- usr.HP = usr.MaxHP// if so sets your HP back to your Max HP!
- else
- return
- mob
- var
- action = 0
- Speed = 4
- proc
- Movecycle()
- if(src.action)
- sleep(12 - src.Speed)
- step(src,action)
- src.action = NULL
- spawn(1) Movecycle()
- Skill
- verb
- Run
- desc = "DUHH MAKES YOU RUN"
- if(src.Speed == 4)
- src.Speed = 8
- view() << "<b> You start running!</b>"
- else
- src.Speed = 4
- src << "<b> You stop running!</b>"
- Login()
- spawn(1) src.Movecycle()
- client
- North()
- mob.action = NORTH
- mob.dir = NORTH
- South()
- mob.action = SOUTH
- mob.dir = SOUTH
- East()
- mob.action = EAST
- mob.dir = EAST
- West()
- mob.action = WEST
- mob.dir = WEST
- Northeast()
- mob.action = NORTHEAST
- mob.dir = NORTHEAST
- Northwest()
- mob.action = NORTHWEST
- mob.dir = NORTHWEST
- Southeast()
- mob.action = SOUTHEAST
- mob.dir = SOUTHEAST
- Southwest()
- mob.action = SOUTHWEST
- mob.dir = SOUTHWEST
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement