SteelRat451
Member
Hello! I am trying to deal with a boon that allows for circumstance bonus to ability checks on a situational basis. (e.g. +1 circumstance bonus on any Charisma based checks with any dwarf...)
I have found how to add a permanent bonus like this (non-situational) as well as situational bonuses to individual skill checks (thanks to ShadowChemosh and his Adjustments Addon) but not both.
I am not much of a programmer / coder and I'm stuck.... I am not sure how to get the #situational macro to acknowledge fields associated with the tags drawn from the pulltags command.
I have had little luck finding anything in the forums nor in the help sites. I would appreciate any useful suggestions.
I have found how to add a permanent bonus like this (non-situational) as well as situational bonuses to individual skill checks (thanks to ShadowChemosh and his Adjustments Addon) but not both.
I am not much of a programmer / coder and I'm stuck.... I am not sure how to get the #situational macro to acknowledge fields associated with the tags drawn from the pulltags command.
doneif (field[pIsOn].value = 0)
doneif (field[pChosen].ischosen = 0)
perform field[pChosen].chosen.setfocus
perform focus.pulltags[SkillOver.?]
foreach pick in hero from BaseSkill
if (eachpick.intersect[SkillOver,SkillOver] <> 0) then
#situational[?????,field[pDuration].text,field [pSource].text]
elseif (eachpick.islinkage[skillattr] <> 0) then
if (eachpick.linkage[skillattr].uniqindex = focus.uniqindex) then
#situational[?????,field[pDuration].text,field [pSource].text]
endif
endif
nexteach
I have had little luck finding anything in the forums nor in the help sites. I would appreciate any useful suggestions.