Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

KyluxWolf

2
Posts
A member registered Mar 18, 2024 · View creator page →

Creator of

Recent community posts

oh my GOD YES FINALLY
Sorry I have been fighting with this all morning, I am very much a beginner when it comes to javascript, but it actually finally worked! I'll explain in case anyone else needs it:

Unfortunately I couldn't find any script call, BUT, there is a plugin command, Get Battler Status, that gets data like HP or MP from the battler.  So I went into the plugin file (ARPG_Core.js) and found the source of the command, at line 1093, which comes with a long list of stats to choose from (HP, MP, ATK, DEF, and so on):

@command GetBattlerStatus
@text GetBattlerStatus
@desc Get the status of the specified battler.

And then, at 8305, I found the code that gets those stats:

    get hp() {             
        return this.battler().hp;         
        }

So, by following your advice, I added my own!

     get lvl() {
            return this.battler().getLevel();
        }

And then I added "@option lvl" under all the other stats in that list. So now I can use the plugin command to get the level of the enemies!

Also as a little fun fact, I added another one that draws the enemy name:

     get nme() {             
            return this.battler().name();         
        }

Which is when I realized, your plugin writes the level into the name itself ("Lv7 Monster"). So that's an option too!

Alright, thank you so so much for the help, I'll go back to fighting this cursed plugin now

Hey there! Thanks for the plugin, it works great! I'm using the official ARPG plugin and this affects the stats of the enemies just as i needed it to. But unfortunately, since I'm not using the normal battle system, I can't make use of the "show level" feature.
Do you think there's any workaround to show the level in the overworld? Something like a script call that writes it into a variable? Thank you again!