summaryrefslogtreecommitdiff
path: root/example/scripts/npcs/healer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'example/scripts/npcs/healer.lua')
-rw-r--r--example/scripts/npcs/healer.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/example/scripts/npcs/healer.lua b/example/scripts/npcs/healer.lua
index 478047bf..35696736 100644
--- a/example/scripts/npcs/healer.lua
+++ b/example/scripts/npcs/healer.lua
@@ -5,11 +5,11 @@
--]]
function Healer(npc, ch)
- mana.npc_message(npc, ch, "Do you need healing?")
- local c = mana.npc_choice(npc, ch, "Heal me fully", "Heal 100 HP", "Don't heal me")
+ npc_message(npc, ch, "Do you need healing?")
+ local c = npc_choice(npc, ch, "Heal me fully", "Heal 100 HP", "Don't heal me")
if c == 1 then
- mana.being_heal(ch)
+ being_heal(ch)
elseif c == 2 then
- mana.being_heal(ch, 100)
+ being_heal(ch, 100)
end
end