Jump to content
TheoAllen

Theo - Custom Parameter Formula

Recommended Posts

Custom Parameter Formula
Version : 1.0
Type : System add-on

 

Introduction :
Have u though that what if each parameter has its own formula? For example, the MDF bonus is depends on remaining MP. Or even DEF is depends on remaining HP? Which mean, if your character has a lot of remaining HP, your character will be much stronger.
Features :

  • Define your own custom formula for each parameter
  • Just that ~

Screenshots :

cparam01.jpg
For example, I have a character that already have full remain MP
 
cparam02.jpg
But suddenly, his MP is going to zero


 
Script:
Grab it here in Pastebin
 
How to use:
Put this script below material but above main
Define your own formula in script configuration

Credit:
Credit me as TheoAllen
 
Notes:

  • I haven't tested yet with any other scripts. So I don't know if there will be any compatiblity issues
  • My inspiration was came from Eremidia Dungeon. You should play it. That's awesome game :D
Edited by TheoAllen

Share this post


Link to post
Share on other sites

This is really a great idea! I have played RPG's where you can unlock special abilities for having your characters below a certain percentage of health. But I haven't really thought about doing things this way. Great script here! :) I'll see if I can implement it in one of my projects! :D

Share this post


Link to post
Share on other sites

You sir, have earned my deepest respect for doing this. Lately I've been thinking a lot about making RPG game, and I thought about something different, than simple parameters which grows with character. But this. This allows to ad so much strategy. Never again warrior should simple increase HP to last longer in battle.

Share this post


Link to post
Share on other sites

I don't want to revive a dead topic, but I have a question for this script. My formulas for MaxHP and MaxMP exceed 9,999 and 999, but I want to limit the formulas to this cap. Is there anyway I can do this?

Share this post


Link to post
Share on other sites

It does. Different actor or enemy could have different formula by doing this

 

if actor? && id == 1
  return #{Write your own formula here}
end
return ori_param

Share this post


Link to post
Share on other sites

Sorry to revive a dead thread, but... how exactly would I go about implementing Defense in an equation? Because every time I type 'def', the script editor interprets it as the beginning of a def-end statement.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×