I'm trying to put together a data package for 4 Winds Fantasy's Strategists & Tacticians book; one of the feats is giving me some trouble:
Careful Stringing (Combat)
Even when fighting at range, you remain prepared for melee combat.
Prerequisite: Dex 15.
Benefit: You can fire a bow normally while wielding a one-handed melee weapon.
I figured the easiest way to do this would be to change the wclass of all bows in the hero's inventory when he had a light or 1-handed melee weapon equipped in one hand. Thus:
The timing I nabbed from this thread on difficulties modifying wclass for the sawtooth saber. However, I'm still unable to get both the bow and the 1h melee weapon equipped (bow's wclass doesn't change). I also tried referencing the bows individually as wLongbow, wCompBow, wShortbow & wCompShort, so that doesn't seem to be the issue.
Anyone got advice on how to accomplish this? Doesn't necessarily have to be via modifying wClass if there's some other, easier route I'm missing.
Careful Stringing (Combat)
Even when fighting at range, you remain prepared for melee combat.
Prerequisite: Dex 15.
Benefit: You can fire a bow normally while wielding a one-handed melee weapon.
I figured the easiest way to do this would be to change the wclass of all bows in the hero's inventory when he had a light or 1-handed melee weapon equipped in one hand. Thus:
Code:
~ Timing: Pre-levels, 4000 (also tried 5000)
~ Check if hero has a 1H melee weapon equipped.
field[abValue].value = 0
foreach pick in hero from BaseWep where "wCategory.Melee & Hero.MainHand | Hero.OffHand"
if ( eachpick.tagis[wClass.OneHanded] <> 0) then
field[abValue].value += 1
elseif ( eachpick.tagis[wClass.Light] <> 0 ) then
field[abValue].value += 1
endif
nexteach
~ Halt if user has no 1H melee weapons equipped.
doneif (field[abValue].value = 0)
~ Change hero's bows to 1H class
foreach pick in hero from BaseWep where "wFtrGroup.Bows"
perform eachpick.tagreplace[wClass.TwoHanded,wClass.OneHanded]
nexteach
Anyone got advice on how to accomplish this? Doesn't necessarily have to be via modifying wClass if there's some other, easier route I'm missing.