View Single Post
charlieluce
Senior Member
 
Join Date: Jul 2008
Posts: 1,321

Old July 14th, 2018, 02:52 PM
Okay, I turned this one over to my better half and this is what she came up with, which appears to be working:

Phase: Traits
Priority: 2300
Index: 1

var light as number
var heavy as number
light = 0
heavy = 0
foreach pick in hero from WeapMelee where "Equipped.Equipped"
light += eachpick.tagis[WepGroup.wgLightBl]
heavy += eachpick.tagis[WepGroup.wgHeavyBl]
nexteach
if (light = 0) then
if (heavy = 0) then
done
endif
endif

var bonus as number
if (#level[] < 11) then
bonus = 1
elseif (#level[] < 21) then
bonus = 2
else
bonus = 3
endif

foreach pick in hero from Power where "(thingid.pwBasicMel | PowerSrc.Arcane)"
perform eachpick.field[pwAtkFeat].modify[+,bonus,""]
nexteach

Timing Before: Derived trtFinal

Currently Running: Pathfinder Second Edition
Currently Playing:
Pathfinder First Edition, Star Trek Adventures
Former HL Games: D&D 4e & 5e, Mutants & Masterminds 2E & 3E, Savage Worlds
charlieluce is offline   #2 Reply With Quote