Forced + Bonus Battle Drops (Arisu)

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.



System

This is a plugin created for RPG Maker MV.

For help on how to install plugins, click here.

For help on how to update plugins, click here.

Got errors with your RPG Maker MV plugin? Click here.

Download

  • [link Mirror]

Arisu's Dollhouse

ArisuAvatar.png

This is a plugin created by Arisu's Dollhouse.

You can also follow Arisu's Dollhouse on itch.io.

RPG Maker Version

This plugin is made for RPG Maker MV versions 1.6.1 and below. If you update RPG Maker MV past that and this plugin breaks, I am NOT responsible for it.

Terms of Use

You are only allowed to use the plugins made by Arisu's Dollhouse if you agree to all of the following:

  1. For Free and Commercial Use.
  2. Put "Arisu's Dollhouse" in your game's credits.
  3. Do not redistribute this plugin without permission.
  4. Do not take code from this plugin without permission.
  5. Edit of code is allowed as long as it's within plugin file.
  6. I do not support changes made to code edit.

Introduction

This plugin lets you force battle EXP, Gold, and Drops in battle to override the rest or lets you add them as extra through script calls. This way, you can control EXP, Gold, and Drops given to the player party without needing to make enemies dedicated to giving them. These effects are done through Script Calls.


Instructions

  1. Install this plugin into your RPG Maker MV project's js/plugin folder.
  2. Open your game project in RPG Maker MV and open up the Plugin Manager.
  3. Add a new plugin and place this plugin beneath all Yanfly plugins present.
  4. Adjust any Plugin Parameter settings to this plugin.
  5. Read through plugin help file to understand how to use plugin.
  6. When testing this plugin, save first.


Script Calls

ScriptCallsMV.png

Script Calls are event commands that are used to run JavaScript code during an event to call upon unique functions, usually added by the related plugin.

Here is a list of Script Call(s) that you may use:

Run these script call(s) sometime during the battle.

---

$gameTroop.clearForcedDrops()
- Removes all forced and bonus EXP, Gold, and Drops.

---

$gameTroop.setForcedExp(x)
- Sets the forced EXP the player earns from this battle to 'x'.
- Overrides the default EXP earned for the current battle.

---

$gameTroop.setForcedGold(x)
- Sets the forced Gold the player earns from this battle to 'x'.
- Overrides the default Gold earned for the current battle.

---

$gameTroop.addForcedItemDrop(itemID, x)
- Sets the forced Drop the player earns from this battle to have the
  item listed with 'x' quantity.
- Overrides default drops earned for the current battle.
- Combines with other forced drop functions from this plugin.

---

$gameTroop.addForcedWeaponDrop(itemID, x)
- Sets the forced Drop the player earns from this battle to have the
  weapon listed with 'x' quantity.
- Overrides default drops earned for the current battle.
- Combines with other forced drop functions from this plugin.

---

$gameTroop.addForcedArmorDrop(itemID, x)
- Sets the forced Drop the player earns from this battle to have the
  armor listed with 'x' quantity.
- Overrides default drops earned for the current battle.
- Combines with other forced drop functions from this plugin.

---

$gameTroop.setBonusExp(x)
- Sets the bonus EXP the player earns from this battle to 'x'.
- Bonus EXP is added onto default or forced EXP.

---

$gameTroop.setBonusGold(x)
- Sets the bonus Gold the player earns from this battle to 'x'.
- Bonus Gold is added onto default or forced Gold.

---

$gameTroop.addBonusItemDrop(itemID, x)
- Sets the forced Drop the player earns from this battle to have the
  item listed with 'x' quantity.
- Bonus drops are combined with default or forced drops.
- Combines with other forced drop functions from this plugin.

---

$gameTroop.addBonusWeaponDrop(itemID, x)
- Sets the forced Drop the player earns from this battle to have the
  weapon listed with 'x' quantity.
- Bonus drops are combined with default or forced drops.
- Combines with other forced drop functions from this plugin.

---

$gameTroop.addBonusArmorDrop(itemID, x)
- Sets the forced Drop the player earns from this battle to have the
  armor listed with 'x' quantity.
- Bonus drops are combined with default or forced drops.
- Combines with other forced drop functions from this plugin.

---


Warning

This plugin is made for RPG Maker MV versions 1.6.1 and below. If you update RPG Maker MV past that and this plugin breaks, I am NOT responsible for it.


Terms of Use

  1. For Free and Commercial Use.
  2. Put "Arisu's Dollhouse" in your game's credits.
  3. Do not redistribute this plugin without permission.
  4. Do not take code from this plugin without permission.
  5. Edit of code is allowed as long as it's within plugin file.
  6. I do not support changes made to code edit.


Changelog

  • None