じ☆ve冰风 发表于 2026-7-19 15:11:03

DoubleX RMMV Action Times

Note


        This plugin's available for commercial use.


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 plugin


        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


Changelog


*      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                              




View attachment DoubleX RMMV Act Times v100c.rar


本贴来自国际rpgmaker官方论坛作者:DoubleX处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/doublex-rmmv-action-times.48035/
页: [1]
查看完整版本: DoubleX RMMV Action Times