Buff Endure 2d

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

Description

The target cannot lose its final healthpoint while affected by this buff (can still receive buffs, stuns and other effects).


Core Changes

  1. [Required] Open the following script Entity.cs. See Changes...

    Comment Out/Delete this line:
    public int health
        {
            get { return Mathf.Min(_health, healthMax); } // min in case hp>hpmax after buff ends etc.
            set { _health = Mathf.Clamp(value, 0, healthMax); }
        }

Installation

  1. [Required] Apply all core changes.
  2. [Required] Now create a new buff skill (or modify an existing one) and make it available to your players.

Support the IndieMMO Team Today!

Leave a reply

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