TheoAllen 830 Posted December 8, 2013 (edited) Custom Parameter FormulaVersion : 1.0Type : 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 : For example, I have a character that already have full remain MP But suddenly, his MP is going to zero Script:Grab it here in Pastebin How to use:Put this script below material but above mainDefine your own formula in script configurationCredit: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 Edited May 16, 2014 by TheoAllen 6 Anderson88, Sughayyer, estriole and 3 others reacted to this Share this post Link to post Share on other sites
+ RUNE 1 Posted December 9, 2013 This is brilliant, and certainly opens up a ton of possibilities for me. I'm checking this out tomorrow. Share this post Link to post Share on other sites
KayDgirl91 99 Posted December 10, 2013 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! Share this post Link to post Share on other sites
pYmba 3 Posted December 11, 2013 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
TheoAllen 830 Posted December 11, 2013 Thanks guys, I also doing this for my own good Share this post Link to post Share on other sites
RythTheYoshi 0 Posted June 20, 2014 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
TheoAllen 830 Posted June 20, 2014 Use this formula def custom_mhp(ori_param) [ori_param, 999].min end So the MaxHP can not exceed 999 Share this post Link to post Share on other sites
+ Galdelonian 13 Posted August 27, 2014 Does this work for a singular battler? Basically can you use it to affect only specific battlers? Share this post Link to post Share on other sites
TheoAllen 830 Posted August 27, 2014 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
ArkhamVI 1 Posted September 7, 2014 the code 'orig_param' refers to what's in the formula used in the database, right? Share this post Link to post Share on other sites
TheoAllen 830 Posted September 7, 2014 Yes, it's original parameter value before you make a change as formula Share this post Link to post Share on other sites
Disponi 18 Posted August 11, 2015 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