Life State Effects VisuStella MZ

From Yanfly.moe Wiki
Jump to navigation Jump to search

Welcome to the wiki! This is where you can find resources from Yanfly.moe, Ækashics.moe,
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.



Download

System

This is a plugin created for RPG Maker MZ.

InstallPluginsMz.png

UpdatePlugins.png

Troubleshooting.jpg

Click here for help on how to install plugins and an explanation on the Tier Hierarchy System.

Click here to learn how to update plugins.

Click here for how to troubleshoot plugins if you get an error.


Masterarbeit Writer


LifeStateEffects AutoLife.gif

LifeStateEffects Curse.gif

LifeStateEffects Doom.gif

LifeStateEffects Fragile.gif

LifeStateEffects Guts.gif

LifeStateEffects Undead.gif

Required Plugins

The following plugins are required in order to use this plugin.

Place the following plugins above this plugin located in the Plugin Manager.


VisuStella MZ

This plugin is a part of the VisuStella MZ Plugin Library.

Click here if you want to help support VisuStella on Patreon.

Introduction

The Life State Effects plugin allow for trait objects and/or states to create specific, though, commonly used effects found in many traditional JRPG's, such as Auto Life, Doom, and Guts. These mechanical effects add a whole new layer of strategy when it comes to status effects.

Features include all (but not limited to) the following:

  • Auto Life effect, which is a state effect that recovers a percentage of the user's HP and disappears upon triggering.
  • Curse effect, which prevents HP, MP, and/or TP recovery.
  • Doom effect, which is a state effect that will kill the affected battler once the state's timer wears off and expires.
  • Fragile effect, which causes any time a user receives HP damage from a direct action, that user will instantly lose all HP.
  • Guts, which prevents HP from dropping below 1, unless the battler's HP is at 1, itself.
  • Undead, which causes normal HP healing to inflict damage instead, instant death effects to fully restore HP, and Drain effects to be inverted.
  • Death Transformations, for specificly notetag-marked enemies, will cause them to undergo a transformation once they die in battle and be reborn anew with full HP/MP as something else.

Requirements

This plugin is made for RPG Maker MZ. This will not work in other iterations of RPG Maker.

Required Plugin List

This plugin requires the above listed plugins to be installed inside your game's Plugin Manager list in order to work. You cannot start your game with this plugin enabled without the listed plugins.


Tier 3

This plugin is a Tier 3 plugin. Place it under other plugins of lower tier value on your Plugin Manager list (ie: 0, 1, 2, 3, 4, 5).

This is to ensure that your plugins will have the best compatibility with the rest of the VisuStella MZ Plugin library.


Notetags

RPG Maker MZ's editor is unable to allow for custom traits/properties that a game dev may wish to associate with a database object, event, map, etc. Notetags are used to work around such limitations by allowing the game dev to tag certain traits/properties using specific Notetags declared by the related plugin.

Here is a list of Notetag(s) that you may use.


The following are notetags that have been added through this plugin. These notetags will not work with your game if this plugin is OFF or not present.

---

State-Only Effects

---

LifeStateEffects AutoLife.gif

<Auto Life: x%>

- Used for: State Notetags
- When the affected battler dies with this state present, this state will
  automatically remove itself (and any other states with <Auto Life: x%>) to
  restore that much HP% for the battler.
- Replace 'x' with a number representing that percentage of HP to heal the
  battler upon dying.

---

LifeStateEffects Doom.gif

<Doom>

- Used for: State Notetags
- When this state expires naturally (without direct removal), kill the
  affected battler.

---

Trait-Object Effects

---

LifeStateEffects Curse.gif

<Curse HP>
<Curse MP>
<Curse TP>

- Used for: Actor, Class, Skill, Weapon, Armor, Enemy, State Notetags
- Prevents the affected battler from being able to recover HP, MP, and/or TP
  depending on which notetag is being used.

---

LifeStateEffects Fragile.gif

<Fragile>

- Used for: Actor, Class, Skill, Weapon, Armor, Enemy, State Notetags
- If a battler affected by <Fragile> receives a direct attack and takes any
  HP damage (as opposed to event command damage or regeneration damage),
  then instantly kill the affected battler.

---

LifeStateEffects Guts.gif

<Guts>

- Used for: Actor, Class, Skill, Weapon, Armor, Enemy, State Notetags
- This will prevent the battler from taking any fatal damage and leaves them
  with only 1 HP. However, if the battler has 1 HP and receives damage, then
  the battler will actually die.

---

LifeStateEffects Undead.gif

<Undead>

- Used for: Actor, Class, Skill, Weapon, Armor, Enemy, State Notetags
- If the battler receives HP Healing, it receives damage instead.
- If the battler is a target of an instant death skill or item, then the
  battler will recover full HP.
- If the battler is the target of an HP Drain action, then the battler will
  drain HP from the attacker instead.
- If the battler is the target of an elemental attack and the battler would
  absorb that element, the target will bypass the undead effect and recovers
  HP instead. Now your zombies can absorb "Darkness" elements.

---

<Allow Undead Regen>

- Used for: Actor, Class, Skill, Weapon, Armor, Enemy, State Notetags
- If an undead battler gets affected by a trait object (such as a state)
  with this notetag, then HP Regeneration will no longer damage the undead
  enemy but instead, heal it.

---

Enemy-Only Effects

---

LifeStateEffects DeathTransform.gif

<Death Transform>
 name: weight
 name: weight
 name: weight
</Death Transform>

- Used for: Enemy Notetags
- Upon death, the enemy will transform into another enemy with full HP/MP.
- Replace 'name' with the name of the enemy to transform into.
- Replace 'weight' with a number value representing how often the 'name'
  would come up. The higher the weight, the more often. You may omit this
  and the colon(: ) and just type in the 'name' instead.

Examples:

<Death Transform>
 Slime
</Death Transform>

<Death Transform>
 Slime: 75
 Goblin: 25
</Death Transform>

<Death Transform>
 Slime: 10
 Goblin
</Death Transform>

<Death Transform>
 Slime
 Goblin
</Death Transform>

---

Plugin Parameters

Effect Settings

LifeStateEffects Params1.png

Auto-Life Settings

Curse Settings

Doom Settings

Fragile Settings

Guts Settings

Undead Settings

When certain effects trigger, you can have an animation play (if the VisuStella MZ Core Engine is also installed) and/or a popup appear, too. Each of the six effects provided by this plugin have animation and popup effects that can be adjusted.

---

Animation

 Animation ID:
 - Play this animation when the effect activates.
 - Requires VisuMZ_0_CoreEngine.
 Mirror Animation:
 - Mirror the effect animation?
 - Requires VisuMZ_0_CoreEngine.
 Mute Animation:
 - Mute the effect animation?
 - Requires VisuMZ_0_CoreEngine.

---

Popups

 Text:
 - Text displayed upon the effect activating.
 Text Color:
 - Use #rrggbb for custom colors or regular numbers for text colors from
   the Window Skin.
 Flash Color:
 - Adjust the popup's flash color.
 - Format: [red, green, blue, alpha]
 Flash Duration:
 - What is the frame duration of the flash effect?

---


Terms of Use

1. These plugins may be used in free or commercial games provided that they have been acquired through legitimate means at VisuStella.com and/or any other official approved VisuStella sources. Exceptions and special circumstances that may prohibit usage will be listed on VisuStella.com.

2. All of the listed coders found in the Credits section of this plugin must be given credit in your games or credited as a collective under the name: "VisuStella".

3. You may edit the source code to suit your needs, so long as you do not claim the source code belongs to you. VisuStella also does not take responsibility for the plugin if any changes have been made to the plugin's code, nor does VisuStella take responsibility for user-provided custom code used for custom control effects including advanced JavaScript notetags and/or plugin parameters that allow custom JavaScript code.

4. You may NOT redistribute these plugins nor take code from this plugin to use as your own. These plugins and their code are only to be downloaded from VisuStella.com and other official/approved VisuStella sources. A list of official/approved sources can also be found on VisuStella.com.

5. VisuStella is not responsible for problems found in your game due to unintended usage, incompatibility problems with plugins outside of the VisuStella MZ library, plugin versions that aren't up to date, nor responsible for the proper working of compatibility patches made by any third parties. VisuStella is not responsible for errors caused by any user-provided custom code used for custom control effects including advanced JavaScript notetags and/or plugin parameters that allow JavaScript code.

6. If a compatibility patch needs to be made through a third party that is unaffiliated with VisuStella that involves using code from the VisuStella MZ library, contact must be made with a member from VisuStella and have it approved. The patch would be placed on VisuStella.com as a free download to the public. Such patches cannot be sold for monetary gain, including commissions, crowdfunding, and/or donations.

7. If this VisuStella MZ plugin is a paid product, all project team members must purchase their own individual copies of the paid product if they are to use it. Usage includes working on related game mechanics, managing related code, and/or using related Plugin Commands and features. Redistribution of the plugin and/or its code to other members of the team is NOT allowed unless they own the plugin itself as that conflicts with Article 4.

8. Any extensions and/or addendums made to this plugin's Terms of Use can be found on VisuStella.com and must be followed.

Terms of Use: Japanese


『VisuStella MZ』利用規約

1. これらのプラグインは、VisuStella.comおよび/または公式に承認されたVisuStellaのソースから合法的な手段で入手したものである限り、フリーゲームや商用ゲームに使用することができます。例外的に使用が禁止される場合については、VisuStella.comの記載をご確認ください。

2. 本プラグインの「クレジット」部分に記載されているすべてのコーダーの名前は、ゲーム内にクレジット表記を行うか、もしくは「VisuStella」という名前の下にまとめて表記する必要があります。

3. ソースコードを自分のものだと主張しない限りは、必要に応じて編集することが可能です。ただしプラグインのコードに変更が加えられた場合、VisuStellaはそのプラグインに対して一切の責任を負いません。高度なJavaScriptのノートタグやJavaScriptコードを許可するプラグインのパラメータを含む、カスタムコントロールエフェクトに使用される、ユーザー提供のカスタムコードについても、VisuStellaは一切の責任を負いません。

4. これらのプラグインやプラグイン内のコードを、「自分のもの」として再配布したり使用したりすることはできません。これらのプラグインとそのコードは、VisuStella.comおよび、その他の公式/承認済みVisuStellaソースからのみダウンロードすることができます。公式/承認済みのソースのリストは、VisuStella.comでご確認いただけます。

5. VisuStellaは、意図しない使用方法による問題、VisuStella MZライブラリ以外のプラグインとの非互換性の問題、プラグインのバージョンが最新でないことによる問題、第三者による互換性パッチが適切に動作していないことなどが原因でゲーム内で発生した問題については、一切の責任を負いません。VisuStellaは、高度なJavaScriptのノートタグやJavaScriptコードを許可するプラグインのパラメータを含む、カスタムコントロールエフェクトに使用される、ユーザー提供のカスタムコードに起因するエラーについても、一切の責任を負いません。

6. VisuStella MZライブラリのコードを使用した互換性パッチをVisuStellaとは関係のない第三者を通じて作成する必要がある場合は、まずVisuStellaのメンバーと連絡を取り、承認を得る必要があります。パッチはVisuStella.comに公開され、誰でも無料でダウンロードすることができるようになります。このようなパッチを、制作発注やクラウドファンディングの対象にしたり、寄付などの金銭的な利益を得るために販売することはできません。

7. このVisuStella MZプラグインが商用製品である場合、プロジェクトチームのすべてのメンバーは、それを使用するため、それぞれ製品を購入しなければなりません。使用方法には、関連するゲームメカニクスの作業、関連するコードの管理、および/または関連するプラグインコマンドや機能の使用、が含まれます。プラグインそのものやそのコードをチームの他のメンバーに再配布することは第4項に抵触するため、そのメンバーがプラグインそのものを所有していない限りは許可されません。

8. このプラグインの利用規約の追加項目や補足については、VisuStella.comに掲載されていますので、それを参照し従ってください。

Credits

If you are using this plugin, credit the following people in your game:

Team VisuStella

Changelog

Version 1.06: December 14, 2023

  • Documentation Update!
    • Help file updated for new features.
  • New Features!
    • New notetag added by Arisu:
      • <Allow Undead Regen>
        • If an undead battler gets affected by a trait object (such as a state) with this notetag, then HP Regeneration will no longer damage the undead enemy but instead, heal it.


Version 1.05: October 12, 2023

  • Bug Fixes!
    • Fixed a bug where if an undead target absorbs elemental damage, they would take damage instead of recovering it. This is now reversed and undead targets can now absorb the dark elemental energy you throw at it. Fix made by Irina.
  • Documentation Update!
    • Help file updated for <Undead> notetag.
      • If the battler is the target of an elemental attack and the battler would absorb that element, the target will bypass the undead effect and recovers HP instead. Now your zombies can absorb "Darkness" elements.


Version 1.04: March 10, 2022

  • Documentation Update!
    • Added new bullet point to feature list.
    • Help file updated for new features.
  • New Features!
    • New Notetags & Plugin Parameters added by Olivia and sponsored by AndyL:
      • Death Transformation
        • When an enemy dies (and only works for enemies), transform them into another enemy with full HP/MP. This can be from a random pool of enemies, a weighted pool of enemies, a mix, or a single specific enemy.
        • Animations and popups will play upon a death transformation. Unique animations can also be set for specific target transformations.


Version 1.03: June 24, 2021

  • Bug Fixes!
    • Doom expiration should no longer affect temporary actors during calculations and causing crashes. Fix made by Olivia.


Version 1.02: March 12, 2021

  • Bug Fixes!
    • When Doom is applied but the battler later gains state resistance to Doom, Doom will no longer instantly kill the battler. Fix made by Irina.


Version 1.01: February 12, 2021

  • Bug Fixes!
    • Added a check to prevent an infinite loop with Doom. Fix made by Olivia.


Version 1.00: October 7, 2020

  • Finished Plugin!

See Also


End of File