Skip to content

Mq2 melee epic1.0 bashing

Big Dorf requested to merge BigDorf/VeryVanilla:MQ2Melee_Epic1.0_Bashing into master

This is update to melee impacts the BashCheck function thats called frequently during combat to ensure equipped gear is appropriate to bash with.

I've refactored the checks around shields and 2h weapons. In part, this was to grant a more efficent check for 2H, only if secondary is empty and the player class is one of Pal, Shd or War. This also structured the code to introduce the check for Knights epic 1.0 weapons, by testing for the worn effect "two-hand bash" (ID 2835)

Discussion of this change is on the RG creators forum, here.

I've also applied a couple of subtle changes a previous fix, re: testiing for the AA. That had added two functions; is2hBashAAPurchased and isAAPurchased. As per Knightlys work in MQNext, I've inlined is2hBashAAPurchased to the Configure procedure, and removed it. The isAAPurchased function has also been tidied up a bit.

Edited by Big Dorf

Merge request reports