View Single Post
Shadow_Hawk
Junior Member
 
Join Date: Mar 2021
Posts: 6

Old June 3rd, 2021, 12:20 PM
Got the Agile maneuvers mechanic working properly now, just needed a bit of syntax help with figuring out how to check for specific weapons. I did have to add in a check to see if the matching weapon is equipped though, otherwise what you started with would give them the bonuses just for owning a finesse weapon

Code:
if (#attrmod[aDEX] > #attrmod[aSTR]) then
    foreach pick in hero where "wCategory.Melee & (wClass.Light | Helper.Finesse)"
        if (each.field[gIsEquip].value <> 0) then
            perform hero.child[manDisarm].assign[CMBOver.aDEX]
            perform hero.child[manSunder].assign[CMBOver.aDEX]
            perform hero.child[manTrip].assign[CMBOver.aDEX]
        endif
    nexteach
endif
You are completely correct about what I'm trying to do with that other expression though, I need to give the user those three options for weapon groups instead of all the weapon groups. This is for the Rapid Reload and Point Blank Master feats.

Last edited by Shadow_Hawk; June 3rd, 2021 at 12:35 PM.
Shadow_Hawk is offline   #159 Reply With Quote