Percent Equipment Stats

Mr. Trivel

Glasses
Veteran
Joined
Jun 9, 2014
Messages
284
Reaction score
467
First Language
Lithuanian
Primarily Uses
Name: Percent Equipment Stats


Version: 1.0


Author: Mr. Trivel


Created: 2016-01-05


 


What does it do?


Allows for items to have percentage stat increases.



 


Screenshots:




Nope.


 



How to use?




Following tags influence stats item give when put into weapon or armor notefield:


Code:
<mhp: [TYPE] [VALUE]>
<mmp: [TYPE] [VALUE]>
<atk: [TYPE] [VALUE]>
<def: [TYPE] [VALUE]>
<matk: [TYPE] [VALUE]>
<mdef: [TYPE] [VALUE]>
<agi: [TYPE] [VALUE]>
<luk: [TYPE] [VALUE]>

[TYPE] - p, v


p - percentage, [VALUE] - 1, -0.2, 0.505


v - variable, [VALUE] - 1, 5, 10


 


1 means +100%


-1 means -100%


0.5 means +50%


-0.7337 means -73.37%


And so on..


 


Example
Code:
<atk: p 0.1>
<def: v 5>





Plugin: <Link: Github>


How to download Script. Click the link above, there will be a button named Raw, press Right Click -> Save As.







Terms of Use:



Don't remove the header or claim that you wrote this plugin.


Credit Mr. Trivel if using this plugin in your project.


Free for commercial and non-commercial projects.




 


Questions:


Q: How to set decimal values in variables?


A: Set variable to Script and type decimal number there. 


 
Last edited by a moderator:

Solis

Veteran
Veteran
Joined
Oct 24, 2015
Messages
376
Reaction score
84
First Language
English
I was curious; thought You could already do this without a plugin? Nevermind, didn't realize you could do the variable to stats too :D
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

X[ oh gawd.... I dropped my super expensive laptop on my hard tile floor! It still comes on and all, but now Im worried its gunna start screwing up in the near future.... I hope not, cant afford to replace stuff like that. :(
I wrote a nice animated preloading system for mv+mz today. It only supports graphic assets atm, should it support audio too? See it in action in my recent minigame @
I posted my first commercial game on the forums, and now waiting for approval.
fingers crossed.
TMW the air quality is so bad, your hair changes color every time you wash it. :LZYyuck:
Finished two animations today. :kaojoy:

Forum statistics

Threads
103,002
Messages
996,642
Members
134,484
Latest member
Gesonel
Top