Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - 4th Edition (http://forums.wolflair.com/forumdisplay.php?f=60)
-   -   War Wizard's Expertise (http://forums.wolflair.com/showthread.php?t=60921)

SAbel July 14th, 2018 05:26 AM

War Wizard's Expertise
 
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

charlieluce 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

SAbel 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!


All times are GMT -8. The time now is 02:56 PM.

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