addnpc("Healer Dog","healer_ald","aldebaran.gat",135,115,4,81,"npc_healer") addnpc("Healer Dog","healer_gef","geffen.gat",125,95,4,81,"npc_healer") addnpc("Healer Dog","healer_moc","morocc.gat",160,100,4,81,"npc_healer") addnpc("Healer Dog","healer_prt","prontera.gat",155,190,4,81,"npc_healer") function npc_healer() npcmes "[Healer Dog]" npcmes "Would you like a heal?" npcnext() local r = npcmenu("Sure",1,"I prefer potions",2,"eh",3) if r == 1 then npcmes "[Healer Dog" npcmes "How much HP and SP would you like?" npcnext() heal(npcinput(),npcinput()) npcmes "[Healer Dog]" npcmes "Here you go!" npcclose() elseif r == 2 then npcmes "[Healer Dog]" npcmes "Oh, right, I have some potions to sell!" npcclose() npcshop(501,50,502,100) elseif r == 3 then npcmes "[Healer Dog]" npcmes "Sorry to hear that..." npcclose() end end addnpc("Healer Dog","healer_nif","niflheim.gat",195,195,4,81,"npc_biter") addareascript("Bite Area","niflheim.gat",190,190,200,200,"areascript_biter") function npc_biter() npcmes "[Healer Dog]" npcmes "Come, come closer so I can heal you!" npcnext() npcmes "This dog looks ferocious... I should better keep away... How far?" npcnext() npcmes("Yes, I think I need to be at least "..npcinput().." "..npcinput(1).." away from him to be safe.") npcclose() end function areascript_biter() percentheal(-50,-50) end