File information
Created by
LowPriorityCitizenUploaded by
LowPriorityCitizenVirus scan
About this mod
Display the accurate chance of evade and magick evade attribute shown in the status/equip menu.
- Requirements
- Permissions and credits
- Changelogs
This mod runs a lua script that modifies the stat value of "Evade" and "Magick Evade" shown in the status and equip menu to make it accurate (rounded down) as per the ingame mechanic.
In vanilla the value of physical shield block and weapon block is added together so it is easy to reach 100, which is misleading because the actual chance of triggering physical block/parry is way below that.
Block/Parry Mechanic
The ingame mechanic to check for physical hit is:
Check for Shield Block.
If not blocked, check for Weapon Block.
If not blocked, check for Parry.
If not parried, continue to other checks.
The ingame mechanic to check for magick hit is:
Check for Shield Magick Block.
If not blocked, continue to other checks.
The chance of physical block/parry (after adding augments bonus) can be calculated by this formula:
100 - ((100 - Shield Block) * (100 - Weapon Block) * (100 - Parry))
The chance of magick block is just the value of Shield Magick Block + augments bonus.
This mean to get 100 physical block/parry, at least 1 of Shield Block, Weapon Block or Parry must reach 100. In vanilla this can only be achieved by equipping Ensanguined Shield or Gendarme + 2/3 Shield Block Licenses.
Augments Bonus
There are 5 augments that increase the chance of block/parry:
- Shield Boost (ID = 3), Increase shield block by 10.
- Parry Boost (ID = 4), Increase parry by 30.
- Shield Block 3 (ID = 88), Increase shield block by 5.
- Shield Block 2 (ID = 89), Increase shield block by 5.
- Shield Block 1 (ID = 90), Increase shield block by 5.
Both physical and magick block stats from shield got the bonus from above augments only if they have at least 1 stat value to begin with.
The bonus for Parry Boost is hardcoded as 30 for party members, and 25 for enemies. The other bonuses are the parameter of each augments in the battle pack section 58 and can be modified.
Those augments can either be unlocked by default (battle pack section 16), granted by an equipment or from the license board.
Compatibility
This mod gets the data directly from the battlepack, so in theory any overhaul mod that changes equipment's stats, equipment's augment, augment's parameter and/or the license board is fully compatible.
Editable Parry Bonus
For those who installed a mod that changes the value of Evasion Boost via The Insurgent's Forge function 34, you can also change the value that will be calculated in this mod. For example, to set it to 40 you can write this line in lua:
memory.u8[memory.getSymbol("FAEC_PARRYBONUS")] = 40
Special thanks to Xeavin for allowing me to use his lua script template.