Sure that is no Problem. I haven't implemented a Plugin Command for this. But you can execute a "Script.." (It is above Plugin Command).
The Code for One Character is the following:
Code:
$gameParty.members()[1].levelUpElement(2);
This Code will get the First Member of your Party and increase the Element with the Id 2.
For your whole Party it would look like this:
Code:
$gameParty.members().forEach(function(actor) {
actor.levelUpElement(2);
});
Hope this helps you
🙂
Thank you for the fast reply
@Gilles !
I tried out putting
$gameParty.members().forEach(function(actor) {
actor.levelUpElement(2);
});
into script on an event as instructed, and my game has an error now, the console log is:
Spoiler: Error Message
rpg_managers.js:1756 TypeError: Cannot read property '2' of undefined
at Game_Actor.calculateElementLevel (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/plugins/GDT_Core.js:243:43)
at Game_Actor.getNeededElementXPForNextLevel (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/plugins/GDT_Core.js:230:10)
at Game_Actor.levelUpElement (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/plugins/GDT_Core.js:196:19)
at eval (eval at <anonymous> (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_objects.js:10641:10), <anonymous>:2:7)
at Array.forEach (native)
at Game_Interpreter.eval (eval at <anonymous> (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_objects.js:10641:10), <anonymous>:1:22)
at Game_Interpreter.command355 (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_objects.js:10641:5)
at Game_Interpreter.executeCommand (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_objects.js:9091:34)
at Game_Interpreter.update (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_objects.js:8999:19)
at Game_Map.updateInterpreter (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_objects.js:6260:27)
at Game_Map.updateInterpreter (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/plugins/LeTBS.js:9687:47)
at Game_Map.update (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_objects.js:6167:14)
at Scene_Map.updateMain (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_scenes.js:420:14)
at Scene_Map.updateMainMultiply (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_scenes.js:412:10)
at Scene_Map.update (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_scenes.js:401:10)
--EDIT--
I also tried the first script for the first member of the party, and got this error back:
Spoiler: Error 2
rpg_managers.js:1756 TypeError: Cannot read property 'levelUpElement' of undefined
at Game_Interpreter.eval (eval at <anonymous> (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_objects.js:10641:10), <anonymous>:1:24)
at Game_Interpreter.command355 (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_objects.js:10641:5)
at Game_Interpreter.executeCommand (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_objects.js:9091:34)
at Game_Interpreter.update (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_objects.js:8999:19)
at Game_Map.updateInterpreter (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_objects.js:6260:27)
at Game_Map.updateInterpreter (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/plugins/LeTBS.js:9687:47)
at Game_Map.update (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_objects.js:6167:14)
at Scene_Map.updateMain (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_scenes.js:420:14)
at Scene_Map.updateMainMultiply (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_scenes.js:412:10)
at Scene_Map.update (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_scenes.js:401:10)
at Function.SceneManager.updateScene (file:///C:/Users/yippy/Documents/My%20Games/RPG%20Maker/Quest%20RPG%201.0.0/js/rpg_managers.js:1829:25)