Hello!
I found out today that the Devout Protector Expertise is buggy. It is supposed to give you +1/+2/+3 to attack, but they give you +0. Nothing. Nada. Nichts. I was playing last time with +1 attack less, and hadn't noticed it ^^
I started working on a script to fix this:
- After: Calc attrBonus
- Before: Power attack final
The Script (in Phase Traits with priority 1000):
var bonus as number
bonus = (1 + round(hero.tagvalue[Level.?]/10,0,-1))
foreach pick in hero from Power
perform eachpick.field[wpAtkFeat].modify[+,bonus,""]
nexteach
The remaining problem: How do I check that this is only applied to powers which use a 1 handed melee weapon or a holy symbol?
Also it might be that to have it actually calculated as a feat bonus something like in the Axe Expertise
var bonus as number
if (#level[] <= 10) then
bonus = 1
elseif (#level[] <= 20) then
bonus = 2
else
bonus = 3
endif
foreach pick in hero from WeaponBase where "WepGroup.wgAxe"
perform eachpick.field[wpAtkFeat].modify[+,bonus,""]
nexteach
is better. But what is the complete list of Weapongroups I need to include? And how to include the implement?
It seems the other Expertise feats are fine, BTW, only the Devout Protector Expertise is broken.
EDIT: I updated the above script to also use wpAtkFeat. Still no "check for 1H Weapon or Implement" in though.
EDIT 2: I found out Swordmage Implement Expertise, Mighty Crusader Expertise and War Wizard's Expertise are broken in the same way. Only the very "easy to check which weapon it is" expertises work correctly.
MagicSN
I found out today that the Devout Protector Expertise is buggy. It is supposed to give you +1/+2/+3 to attack, but they give you +0. Nothing. Nada. Nichts. I was playing last time with +1 attack less, and hadn't noticed it ^^
I started working on a script to fix this:
- After: Calc attrBonus
- Before: Power attack final
The Script (in Phase Traits with priority 1000):
var bonus as number
bonus = (1 + round(hero.tagvalue[Level.?]/10,0,-1))
foreach pick in hero from Power
perform eachpick.field[wpAtkFeat].modify[+,bonus,""]
nexteach
The remaining problem: How do I check that this is only applied to powers which use a 1 handed melee weapon or a holy symbol?
Also it might be that to have it actually calculated as a feat bonus something like in the Axe Expertise
var bonus as number
if (#level[] <= 10) then
bonus = 1
elseif (#level[] <= 20) then
bonus = 2
else
bonus = 3
endif
foreach pick in hero from WeaponBase where "WepGroup.wgAxe"
perform eachpick.field[wpAtkFeat].modify[+,bonus,""]
nexteach
is better. But what is the complete list of Weapongroups I need to include? And how to include the implement?
It seems the other Expertise feats are fine, BTW, only the Devout Protector Expertise is broken.
EDIT: I updated the above script to also use wpAtkFeat. Still no "check for 1H Weapon or Implement" in though.
EDIT 2: I found out Swordmage Implement Expertise, Mighty Crusader Expertise and War Wizard's Expertise are broken in the same way. Only the very "easy to check which weapon it is" expertises work correctly.
MagicSN
Last edited: