public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

3 Followers

(SOLVED) Increasing variables by amounts with reducing returns.

BMM_Archive · July 15, 2026

BMM_Archive
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

Fireball.png





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

RPG Maker Web attachments are mirrored locally when available. Other external links remain hosted by their original creator or third-party service.

  • Local mirror: 31708-ca66361b101690ef792421ad56e940a8.png
    SHA-256: 079040a9daca91a2a215bf80b1e9d9c29b04eb5c6016544be4ec1d7dee884488
    Original attachment URL: https://forums.rpgmakerweb.com/attachments/fireball-png.51565/

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.

Replies (0)

No replies yet.

0 replies 18 views

Log in to reply.