Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)(-1)

Hi there I'd like to know if its possible to acquire skill point via plugin command, my game does not have leveling. 

Also is it possible to access the tree through an event and not through the menu?

(-1)

while is deseased, put the below snippet in a new plugin an
place it below the skillTree plugin and see if it works.

Usage = skilltree addpoint 4 1
or:  skilltree addpoints 4 1

actor 4 gain 1 point (this is MV usage, if you use MZ
the plugin commands work differently

const alias_RoseDale_SkillTree = Game_Interpreter.prototype.pluginCommand;

    Game_Interpreter.prototype.pluginCommand = function (command, args) {

        alias_RoseDale_SkillTree.call(this, command, args);

        if (command.toLowerCase("skilltree") && args[0]) {

            switch (args[0].toLowerCase()) {

                case 'addpoint':

                case 'addpoints':

                    const actorId = Number(args[1]);

                    if (actorId) $gameActors.actor(actorId)._bonusSp += Number(args[2]);

                    break;

            }

        }

    };