Senior Member
Join Date: Jul 2007
Location: Walbridge, Ohio
Posts: 770
|
This Feat War Wizard's Expertise
Prerequisite: Any arcane class Benefit: You gain a +1 feat bonus to the attack rolls of arcane powers and basic attacks that you make with a light blade or a heavy blade. This bonus increases to +2 at 11th level and +3 at 21st level. Also, when you use an arcane attack power with a light blade or a heavy blade, your attack rolls take a –5 penalty against your allies. Published in Dragon Magazine 402. Should add a bonus to light or heavy blade with arcane powers but it does not seem to be working: Eval script I am using: phase: Setup Priority: 1000 Index 1 script: doneif (field[usrChosen1].ischosen = 0) ~work out what our attack bonus should be var bonus as number if (hero.tagvalue[Level.?] <= 14) then bonus = 1 elseif (hero.tagvalue[Level.?] <= 24) then bonus = 2 else bonus = 3 endif ~add an appropriate number of 'attack bonus' tags to all implements of ~the appropriate type foreach pick in hero where "EquipIndex.? & ImplemType." & field[usrChosen1].chosen.idstring var i as number for i = 1 to bonus perform eachpick.assign[Helper.AttBonus] next nexteach Timing: No timing |
#1 |
Senior Member
Join Date: Jul 2008
Posts: 1,328
|
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 Second Edition, Star Trek Adventures On Hiatus: Pathfinder First Edition Former HL Games: D&D 4e & 5e, Mutants & Masterminds 2E & 3E, Savage Worlds |
#2 |
Senior Member
Join Date: Jul 2007
Location: Walbridge, Ohio
Posts: 770
|
OMG charlieluce and your "Better half" ROCK as always!
fixed and fixed thanks again guys. If your going to GenCon let me know and maybe we can exchange notes and stuff on Hero Lab even possibly play a game! |
#3 |
|
|