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.
DoubleX RMMV Action Times

0 Members and 1 Guest are viewing this topic.

***
Scripter
Rep:
Level 36
Changelog
Code: [Select]
*      v1.00c(GMT 1300 27-1-2016):                                           
 *      1. Fixed using 0 instead of 1 as the initial action times value       
 *      v1.00b(GMT 0900 11-11-2015):                                         
 *      1. Added descriptions that will be shown in the plugin manager       
 *      2. Fixed some syntax errors                                           
 *      v1.00a(GMT 1400 28-10-2015):                                         
 *      1. 1st version of this plugin finished                               

Authors
DoubleX

Credits
DoubleX(Optional)

Purpose
Changes the Action Times traits from being each of them calculated independently to be added together before calculating that sum at once

Games using this script
None so far

Description
Under the default RMMV setting, if p = p1 + p2 + p3 + ... + pn, where pi is the value of an Action Times trait, then the probability distribution on the final action times will be:
P(0 or smaller) = 0
P(1) = (1 - x1)(1 - x2)(1 - x3)...(1 - xn)
P(2) = x1(1 - x2)(1 - x3)(1 - x4)...(1 - xn) + x2(1 - x1)(1 - x3)(1 - x4)...(1 - xn) + x3(1 - x1)(1 - x2)(1 - x4)...(1 - xn) + ... + xn(1 - x1)(1 - x2)(1 - x3)...(1 - x(n - 1))
P(3) = x1x2(1 - x3)(1 - x4)(1 - x5)...(1 - xn) + x1x3(1 - x1)(1 - x4)(1 - x5)...(1 - xn) + x1x4(1 - x2)(1 - x3)(1 - x5)...(1 - xn) + ... + x(n - 1)xn(1 - x1)(1 - x2)(1 - x3)...(1 - x(n-2))
...
P(n + 1) = x1x2x3...xn
P(n + 2 or larger) = 0
With this plugin's used, if a = the integer part of a p and r = the decimal part of p, then the probability distribution on the final action times will be:
P(a - 1 or smaller) = 0
P(a) = 1 - r
P(a + 1) = r
P(a + 2 or larger) = 0


Prerequisites
Nothing special

Terms Of Use

You shall keep this plugin's Plugin Info part's contents intact
You shalln't claim that this plugin's written by anyone other than DoubleX or his aliases
None of the above applies to DoubleX or his/her aliases
« Last Edit: January 29, 2016, 12:24:19 AM by DoubleX »

***
Scripter
Rep:
Level 36
Updates
Code: [Select]
*      v1.00b(GMT 0900 11-11-2015):                                         
 *      1. Added descriptions that will be shown in the plugin manager       
 *      2. Fixed some syntax errors                                           

***
Scripter
Rep:
Level 36
Updates
Code: [Select]
*      v1.00c(GMT 1300 27-1-2016):                                           
 *      1. Fixed using 0 instead of 1 as the initial action times value