LandSandBoat / server

:sailboat: LandSandBoat - a server emulator for Final Fantasy XI
https://landsandboat.github.io/server/
GNU General Public License v3.0
301 stars 605 forks source link

Shield Block rate formula is wrong. Round Shield block rate is wrong. Agi shouldn't work on block rate. #837

Open ShiyoKozuki opened 3 years ago

ShiyoKozuki commented 3 years ago

Additional Information (Steps to reproduce/Expected behavior) : https://www.bg-wiki.com/ffxi/Shield_block_rate Round Shields should be 40%, not 50%. https://github.com/LandSandBoat/server/blob/f909259cc9967f952cc7f90d1af5989bb61641bf/src/map/utils/battleutils.cpp#L1762 Should be float skillmodifier = (blockskill - attackskill) * 0.2325f; BG Wiki: BlockRate = SizeBaseBlockRate + ((ShieldSkill - AttackerCombatSkill) × 0.2325)

AGI does nothing for block rate. https://www.bluegartr.com/threads/120223-Agility-s-effect-on-Parrying-and-Shield-rate

TeoTwawki commented 3 years ago

related: agi doesn't help parry either, and possibly doesn't help guard

ShiyoKozuki commented 3 years ago

Agility has no effect on any defensive skill besides evasion, crit rate against you, and subtle blow(is this even coded here?).

TeoTwawki commented 3 years ago

and subtle blow(is this even coded here?).

I'd wager the agi part of that is not but I didn't go looking.