Jump to content
Vlue

Interesting Stats and Formulas

Recommended Posts

Interesting Stats and Formulas v1.0
By Vlue


Introduction
This script let's you change up the formula for things like hit chance, crit chance, etc, without having to dig through scripts.
As well, you can give your stats more life by making them add to secondary stats. Maybe have every point of defense increase hp by 10, or every point of luck increase crit chance by 0.1%, stuff like that.

Features
- Easily change built in formulas.
- Add more life to your stats.

How to Use
Plug and play, customize as needed. You should really customize it to fit what you want. :P

Script
On the pastebin: http://pastebin.com/XdezAchc

FAQ
None yet.

Credit and Thanks
- By Vlue
- Free to use in any project, commercial or otherwise, with credit given

Author's Notes
Banana. Edited by Vlue

Share this post


Link to post
Share on other sites

Man. I used about 3 scripts from other people and did a lot of coding myself to get to a similar system in my game.

 

I don't know if I jump for joy or strangle you. Good work.

Share this post


Link to post
Share on other sites

Awesome work Vlue. I'm using this in my commercial game. Its a humble project but you can expect a free copy no less. :)

Share this post


Link to post
Share on other sites

Whew ... there are something i don't understand, can you explain to me ~^-^ Since i don't know much about scripts...

#1:

  1.  #State chance is the change in chance to apply a state
  2.   #The final chance will be the item's chance * STATE_CHANCE
  3.   STATE_CHANCE = "[1.0 + (user.luk - luk) * 0.001, 0.0].max"

Is it right to be "user.luk - luk" or it should be "user.luk - self.luk"

 

#2:

  1.   #Options are :hp,  :mp,  :hit, :eva, :cri, :cev, :mev, :mrf, :cnt
  2.   #      :hrg, :mrg, :trg, :tgr, :grd, :rec, :pha, :mcr, :tcr, :pdr
  3.   #      :mdr, :fdr, :exr

I don't understand all of them:

what does "cev" mean? chance to evade?

hrg, mrg, trg, tgr ..... fdr, exr?

Can you explain what does they mean :3

  1. :hrg, :mrg, :trg, :tgr, :grd, :rec, :pha, :mcr, :tcr, :pdr
  2. :mdr, :fdr, :exr

Share this post


Link to post
Share on other sites

To answer you second question, here is what all the parameters mean. You can check any time my highlighting the drop down menu in features (in the image, MHP is highlighted). I don't really know about the first question though.

 

 

 

Parameters_zpsee63abb3.png

 

Share this post


Link to post
Share on other sites

THank you very much :) Why didn't i notice it.

Oh and by the way can i ask you, can we use code in formula box?

ex: a.hp - b.def + rand(5)

If it's possible, can you tell me which ones can be used and how (you can give me few examples ~^.^)

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.

×
Top ArrowTop Arrow Highlighted