RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Percent Equipment Stats

0 Members and 1 Guest are viewing this topic.

*****
Rep:
Level 27
Mr. Trivel
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: [Select]
<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: [Select]
<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 Edit: February 15, 2016, 08:13:15 AM by Glasses »