Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - 4th Edition

Notices

Reply
 
Thread Tools Display Modes
SAbel
Senior Member
 
Join Date: Jul 2007
Location: Walbridge, Ohio
Posts: 761

Old July 14th, 2018, 05:26 AM
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
SAbel is offline   #1 Reply With Quote
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 online now   #2 Reply With Quote
SAbel
Senior Member
 
Join Date: Jul 2007
Location: Walbridge, Ohio
Posts: 761

Old July 14th, 2018, 09:04 PM
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!
SAbel is offline   #3 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:31 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.