Hey, I'd like some sort of a plugin that calls common event when the player procs action times and has 2 actions per turn and another common event when they have 3 actions per turn. This is mostly for player convenience as in the regular battles, there's absolute no indication that the actor is able to perform multiple actions per turn. The reason I thought common event, is that it would be flexible and other people could make use of this too that way.
More indepth info: My character has Action times 30% twice in traits so that they have 30% chance to act twice and 15% chance to act three times.
Action times notification
● ARCHIVED · READ-ONLY
-
-
I can't seem to get a common event to play during the input phase, it always triggers at the end of the phase (maybe someone else knows of a workaround). Maybe the following will suffice, though. It lets you display a custom message in the battle log with placeholders for the actor's name and the number of actions they have. If you want to try it out, just save it as Cae_ActionCountMsg.js and import it as usual~
Code://========================================================= // Cae_ActionCountMsg.js //========================================================= /*: * @plugindesc v1.0 - Lets you show a message in the battle log when an actor has more actions available than normal due to "Action Times +" traits. * @author Caethyril * * @help Plugin Commands: * None. * * Compatibility: * Aliases the makeActions function of Game_Actor by postfix. * * Terms of use: * Free to use and modify. * * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * Update log: * 1.0: Initial release. * * @param Normal Action Count * @text Normal Action Count * @type number * @desc The message will only show if an actor has more than this many actions. * @default 1 * * @param Action Count Message * @text Action Count Message * @type text * @desc The message that will be displayed when an actor has extra actions. %1 = actor's name; %2 = number of actions. * @default %1 has %2 actions this turn! */ var Imported = Imported || {}; // Import namespace, var can redefine Imported.Cae_ActionCountMsg = 1.0; // Import declaration var CAE = CAE || {}; // Author namespace, var can redefine CAE.ActionCountMsg = CAE.ActionCountMsg || {}; // Plugin namespace (function(_) { 'use strict'; _.params = PluginManager.parameters('Cae_ActionCountMsg'); // Process user parameters _.standard = Number(_.params['Normal Action Count']); _.msg = String(_.params['Action Count Message']) || ''; _.Game_Actor_makeActions = Game_Actor.prototype.makeActions; Game_Actor.prototype.makeActions = function() { _.Game_Actor_makeActions.call(this); if (this.numActions() > _.standard) { SceneManager._scene._logWindow.addText(_.msg.format(this.name(), this.numActions())); } }; })(CAE.ActionCountMsg);Also, I think this is slightly off? I believe the odds of acting three times would be 30% * 30% = 9%. :kaoswt:My character has Action times 30% twice in traits so that they have 30% chance to act twice and 15% chance to act three times. -
I guess it could work in a pinch but my problem with using messages to call for it, is that they'd literally interrupt flow of gameplay, that's why I think common events could allow usage of images or other means of showing the effect dynamically.
-
They're battle log messages, so it's not like you have to click through them all, but I agree that a common event approach would be more convenient. =)