Automatic Equipment Optimization
#1
Automatic Equipment Optimization
by RPG Advocate
saved from Phylomortis.Com


Introduction
This script modifies the equip screen so that if you press "X", the equipment in the slot selected by the cursor will be optimized, and if you press "Y", then all equipment slots will be optimized. You can change how the algorithm chooses the best equipment by changing the weight constants included with the script. In some games, accessories are not used to boost stats, so optimizing them by stats is pointless. If your game is one of those games, change the constant NO_ACCESSORY_OPTIMIZATION to true to prevent accessories from being subject to the optimization algorithm.

Some lines of code in the optimize algorithm are provided for compatibility with my two-handed weapon script. If you're not using this script, comment out or delete the lines marked in red in the optimize method.

EDIT BY DERVVULFMAN: Lines of code have been added work better with either the two-handed weapon script or the cursed weapons/armor script. In either case, place this script below the other(s).

Optimization will not be possible if a player has a cursed item as that item is intentionally not removable.


Demo
>Click<


Script
Automatic Equipment Optimization
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   ATOA CBS Equipment Set Variables Patch kyonides 0 206 10-14-2024, 12:47 AM
Last Post: kyonides
   Angie's Equipment Sets DerVVulfman 3 9,490 08-04-2024, 01:44 AM
Last Post: DerVVulfman
   H-Mode7 Visual Equipment Chaotech Games 8 36,788 03-30-2017, 01:58 AM
Last Post: wrathx
   Automatic Battle Actions Claihm 1 7,425 08-15-2016, 09:15 PM
Last Post: Mel
   Equipment Upgrade System by Charlie Fleed, Version 1.2 Charlie Fleed 145 211,336 04-11-2014, 01:19 AM
Last Post: Gardesion
   Multi-Slot Equipment Script Guillaume777 3 13,362 05-26-2013, 07:28 PM
Last Post: Pia Carrot
   Equipment Weights DerVVulfman 4 9,383 03-08-2013, 05:18 AM
Last Post: DerVVulfman
   FFIX Skills Learning System aka Equipment Skills, NEW!!! v2.3 (8-8-2010) Charlie Fleed 13 29,731 10-13-2010, 05:17 PM
Last Post: Charlie Fleed
   Multi-Slots! patch for Me(tm)'s Visual Equipment DerVVulfman 1 6,845 08-24-2009, 03:55 AM
Last Post: DerVVulfman
   Visual Equipment by Geso Chisku Geso Chisku 0 5,348 03-08-2008, 01:11 AM
Last Post: Geso Chisku



Users browsing this thread: 2 Guest(s)