So I have never tried to apply these bonuses to one particular weapon when equipped.
Example, from the Fantasy Companion the "Pathblocker". It grants the wielder +2 to his Fighting and damage rolls...
So this code works sort of:
Pre-Traits/5000
Equip the weapon and the bonuses apply. But they apply to Fighting and the damage bonus to EVERY weapon character has, including Unarmed.
So can you make a script that applies bonuses like that JUST to the equipped weapon? I guess the same would apply for an equipped item.
Once again, just additional coding that would prove more useful for someone running game within HeroLab.
Example, from the Fantasy Companion the "Pathblocker". It grants the wielder +2 to his Fighting and damage rolls...
So this code works sort of:
Pre-Traits/5000
Code:
if (field[grIsEquip].value <> 0) then
perform #traitprof[skFighting,+,2,"Pathblocker"]
perform hero.child[miSFAPathblocker].setfocus
focus.field[wpDmgBonus].value += 2
endif
Equip the weapon and the bonuses apply. But they apply to Fighting and the damage bonus to EVERY weapon character has, including Unarmed.
So can you make a script that applies bonuses like that JUST to the equipped weapon? I guess the same would apply for an equipped item.
Once again, just additional coding that would prove more useful for someone running game within HeroLab.