Hey ♫
Oh, well, haha! I completely assumed that was what you wanted- my bad!
Well, here is the modified version of the script (Which would have taken much less time to produce! Damn my presumptuousness!)
This one is called
RepeatRandom.js
Spoiler
/*=======================================RepeatRandom.js======================================= /*: * @plugindesc Repeating Random * @author Kaimonkey * @param True for all skills? * @desc Setting to true will mean that this plugin affects skills without the * <repeatrandom> tag * @default false * * @help * ============================================================================ * Terms and Conditions * ============================================================================ * The plug in may only be used for NONCOMMERCIAL projects. If you wish to * use this plug in in a commercial product, please contact Kaimonkey for a * licience * * While reasonable effort will be made to fix any faults in the product, the * product comes "as is", and Kaimonkey is under no legal obligation to do so. * ============================================================================ * Intro * ============================================================================ * This script means that any skill with the repeat property, the scope of "one * random enemy", and the <repeatrandom> tag will repeat against different * targets * */ (function() { //Start Plugin var parameters = PluginManager.parameters('RepeatRandom'); var all_skills = String(parameters["True for all skills?"]) !== "false"; var _km_action_numTargets = Game_Action.prototype.numTargets;Game_Action.prototype.numTargets = function() {if(this.is_non_repeat()){return this.item().repeats;} return _km_action_numTargets.call(this);}; Game_Action.prototype.is_non_repeat = function(){return this.item().scope == 3 && (all_skills || this.item().note.includes("<repeatrandom>"));}; var _km_action_numRepeats = Game_Action.prototype.numRepeats;Game_Action.prototype.numRepeats = function() { if(this.is_non_repeat()){ return 1; } return _km_action_numRepeats.call(this);}; })(); //Close Plugin
As for the compatibility issue it is
vital when making script/plug in requests to list links to other scripts which you are using, especially those which interact with the same components. (So in this case, combat and skills)
The code was designed for comparability (No methods are overridden, only added to) so you must have some kind of combat system script which simply never make references to the parts of the core code which I changed.
Post a link to the scripts you are using and I will see what I can do
/Kai