Equipment Performance Enhanced
Version: 1.01
Author: John Clifford AKA Trihan
Date: 21/04/2015
Version History
- <Version 1.01> 2015.04.21 Edited default weights for some sparams to a negative value because they're better the lower they are.
- <Version 1> 2015.04.20 Original Release
Planned Future Versions
- <Version 1.1> Add commands and notetags to override performance weights on a per-item basis.
- <Version 1.2> Add an optional flag for actors which will cause them to try optimising to compensate for weaknesses e.g. a character weak against fire will prioritise equipment with fire resistance.
Description
The default behaviour of the equipment optimisation method for actors takes nothing but its parameter bonuses into account; this means you could have armour with 18 DEF that will be equipped over one with 17 DEF that quadruples your HP and reduces all damage to 0%. This script aims to change that by giving features a weight that will be considered when picking the "optimal" equipment.
Features
- Define weights for each feature you can set for a weapon or armour that will be taken into account when optimising equipment
- Adapts to whatever states, skill types, skills, weapon types, armour types and elements you've set in the database, so you don't have to worry about keeping track of how many array elements are set in the config.
- REDUCES the item's performance value if the feature is detrimental e.g. -10% HP or making you more susceptible to a state.
- Override individual weight values easily in the config.
- Optional config flag to prevent performance reduction when the feature has a negative effect; all features will add to the value, even bad ones.
- Once it's configured everything else is done for you!
Screenshots
Take these two items of armour, for example (I've edited one to have worse overall stats, for illustration purposes)
Now logic would dictate that you'd rather be wearing a robe that reduces most elemental damage by 60%, even if it does have 1 less DEF. However, if you optimise your equipment in the default engine while holding these two...
But no more, my friends! Use my patented Equipment Performance Enhanced script and you too can achieve this!
Instructions
Using this script couldn't be easier. In fact, if you're okay with 1 extra point per percentage or solid point of bonuses, and 10 points for additional skill types/skills etc, you don't even have to set anything up! The config is fully commented and explained, and it also tells you how you can override individual values for the arrays which are set up dynamically. If I made this any easier to use I'd have to charge for it.
Script
Spoiler Code:
Credit
Thanks
- The readers of my Slip into Ruby series. I only noticed this while I was looking through Game_Actor for my next issue.
- Sixth, for pointing out that some sparams work the opposite way and needed negative weights.
Support
I'm a regular pretty much everywhere. Make a post asking about the script and I'll probably find it, but the main support sources are listed in the script comments.
Known Compatibility Issues
None known at present
Demo
I don't think this really needs a demo, it's pretty self-explanatory.
Author's Notes
This is the first proper utility script I've made in a while. I'm really proud of how well it turned out!
Terms of Use
Anyone can use this for anything. I'd appreciate credit, but feel free to go nuts.
本贴来自国际rpgmaker官方论坛作者:Trihan处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/rmvx-ace-equipment-optimisation-enhanced.39083/