Npc Healer 2d

You are here:
← All Topics
Version: 2019.100 Requirements:uMMORPG2d, ToolsScript Define:None
Core Changes:NoTutorial Video:No

Description

Allows healing at a Npc (Inn/Healer) with variable or fixed prices. Can remove buffs as well.


Installation

  1. [Required] Drag and drop all prefabs in UI [Drag to Canvas] onto your canvas.
  2. [Required] Drag and drop all prefabs in UI [Add Content to Npc Dialogue] onto your Npc Dialogue.
  3. [Required] Drag and drop all scripts in SCripts [Add to Npc Dialogue] onto your Npc Dialogue.
  4. [Required] Add ButtonHealer to default Npc Dialouge and link it.

Screenshot


Extra

  • Gold Cost – the fixed cost to access this healer, is used as a fixed price when “Scale Cost” is unchecked, otherwise its used as multiplicator.
  • Scale Cost – scales the gold cost according to the amount of health/mana/buffs the player requires to be healed. This can result in a very high cost very quickly.
  • Scale cost is calculated by multiplying the “Gold Cost” by the amount of health/mana/buffs that needs to be healed/removed.
  • Unequip Max Cursed Level – does not work with Scaled cost, use fix cost instead.
  • To prevent confusion, it is recommended to create one healer per service offered and not to mix all of them into one Npcs.
  • Button will not show when at full health or you can’t afford the heal cost. These can be modified in code to your liking.
  1.  

Support the IndieMMO Team Today!

Leave a reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.