Multicast v1.2.3
Author: dingk
RMMV version 1.6.2 Updated September 19, 2021
Introduction
This plugin allows an actor to cast more than one skill in the same turn like in the Final Fantasy series.
To perform a multicast, first select the Multicast skill, then select multiple skills in the same window, provided that you meet the skill costs. Spoiler: Video Demonstration
Place in your /RPG Maker MV/[YourGameTitle]/js/plugins/ folder.
Open the Plugin Manager, and create a new entry at the bottom of the list
Under the Name dropdown, find dingk_Multicast.js or dingk_Multicast_mini.js near the bottom of the list.
Customize the plugin parameters to the right and click OK.
Click OK to exit the Plugin Manager, and save your project.
If you are updating, refresh the plugin in the Plugin Manager by opening the plugin in the list and clicking OK.
Plugin Parameters Multicast Type
Determines the default multicast type that is applied to all Multicast skills.
0 - Select and cast multiple skills at once.
1 - Select only one skill, casts it multiple times, each with its own target selection.
2 - Select only one skill, casts it multiple times, but cannot select different targets.
Show Finish Multicast
Allow the player to finish a multicast skill selection early (e.g. select two skills while triple casting.
Useful when actors have multicast via states, where a low MP actor won't have enough MP to multicast, whereas if enabled via skill, they can just cancel it.
Notetags
Skill and State Notetags
The following notetags can be applied to skills and states.
If applied to a skill, you must select the skill to activate Multicasting.
If applied to a state, an actor with this state always has Multicasting active and cannot be disabled unless the state expires.
Code:
<Multicast x: y, y ... >
<Multicast x: y to z>
复制代码
Lets the skill activate Multicasting. x - The number of skills that can be selected y, z - The skill IDs associated with the multicast
Code:
<Multicast Type: x>
复制代码
Sets the skill to be a certain multicast type.
Code:
<Multicast Cost: x.y>
复制代码
Change the skill cost rate. For example, you can set multicasted skills to cost 1.5 times more.
Spoiler: Example
Creates the Dualcast skill, allowing the player to select skill IDs 8 to 10 (Heal, Fire, Spark) two times.
Compatibility
Won't work with plugins that allow custom skill costs.
Only works with battle systems that allow multiple actions per turn.That means systems like Yanfly's ATB, CTB, and STB, and Moghunter's ATB will NOT work, but Victor's ATB will.
Known Bugs
"Action Times+" trait does not work. Nothing will happen when you try to select an action.
Terms of Use
Free and commercial use and redistribution (under MIT License).
Spoiler: Changelog
v1.2.3 - Bug fix (2021-09-19)
Fixed a bug that cause the game to crash when selecting "Fight" after finishing a triple (or more) cast selection early with only one member in your party.
v1.2.2 - Bug fix (2021-09-17)
Fixed a bug that caused the game to crash when trying to select a skill when the actor has not learned any.
v1.2.1 - Hot fix (2020-05-04)
Fixed an issue with YEP_BattleEngineCore that cause actor and enemy selection to visually appear as if the user is selecting all targets when the first selected skill while multicasting targets all actors/enemies.
The Finish Command will no longer show for multicast types 1 and 2 as it doesn't serve any purpose.
Adjusted skill window logic.
v1.2.0 - Feature update (2020-05-02)
New features:
Actors can now have multicast always active as a state
Using multicast type 1 and 2 will now show the right skill cost when activated (e.g. Double cast 10MP = 20MP, Triple cast 10MP = 30MP)
While multicasting, you can now finish skill selection early (e.g. choose two skills while triple casting).
Compatibility: Now compatible with YEP_X_SkillCostItems's item costs
Bug fix: Actually fixed a bug that failed to properly reset an actor's action when canceling a multicast.
v1.1.1 - Bug fix
Fixed a bug that failed to properly reset an actor's action when canceling a multicast.
Canceling multicast now refreshes the skill window rather than going back to the actor command window.