public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

(SOLVED) Increasing variables by amounts with reducing returns.

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: (SOLVED) Increasing variables by amounts with reducing returns.
  • Original author: TheTsunaru
  • Original date: November 6, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/solved-increasing-variables-by-amounts-with-reducing-returns.70662/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Requests

Summary

So I've been working on a skill system that's akin to the original Grandia system, but I've hit a bit of a snag. In it, you unlock elements and the basic level 1 spells connected to them by trading in items called Mana Eggs. Then as you use that element, you'll gain proficiency experience, and the elements will level up at a certain point (100EXP), unlocking newer stronger spells when you reach certain levels. I've managed to get that part done (though in a slightly convoluted way) using variables and...

Archived First Post

So I've been working on a skill system that's akin to the original Grandia system, but I've hit a bit of a snag. In it, you unlock elements and the basic level 1 spells connected to them by trading in items called Mana Eggs. Then as you use that element, you'll gain proficiency experience, and the elements will level up at a certain point (100EXP), unlocking newer stronger spells when you reach certain levels.


I've managed to get that part done (though in a slightly convoluted way) using variables and common events placed in the spells, but I'm having trouble with properly balancing the exp you receive. Currently its set so that all spells of the element give the same amount of EXP regardless of its strength, but I want to set it up where weaker spells will give less exp based on the level of the element being used (For example, at Fire level 1, Fireball will give 10EXP, but at Fire level 10 it only gives 3EXP), thereby forcing the player to rely on their more powerful spells to train rather than just spamming the weaker, low MP spells and getting the same benefit from it.


Current setup is something like this

Protected download





I'd like to be able to change the first Control Variable to an Operand Script formula to something along the lines of (Base Spell EXP / v[2] + 1), with Base Spell EXP be set via notetags in the Skills tab, v[2] being the element's level, and +1 being in case it ignores decimal points and goes immediately to 0 rather than rounding up in the event that the v[2] is higher than the base exp.


I'm assuming this would require a plugin, hence why I'm posting it here rather than in the Maker Support, but if you know how to do it without a plugin I'm all ears.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

Fireball.png
Fireball.png
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#js-requests

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar