I'm trying to address two problems I'm working on in the 4e files, one of which will help me fix the other.
The first is that the the various Implement Expertise feats (which are supposed to add a bonus to those powers that use a given implement) don't actually work. I suspect that's because they don't actually apply the value they've derived to anything.
A parallel sort of thing is an ability that adds to powers that use various weapons. That seems to work. However in trying to use it as a model, I have the problem that I can't tell what sort of, well, component a reference in it might be (and thus what the parallel to implements might be.) For reference here's a chunk of code applying to weapons:
What I can't figure out is what "WeaponBase" might be here. Anyone care to speculate? I'm guessing it might be the program category the weapons are all stored in, but don't know, if true, how I'd find the equivalent might be for the implements.
The first is that the the various Implement Expertise feats (which are supposed to add a bonus to those powers that use a given implement) don't actually work. I suspect that's because they don't actually apply the value they've derived to anything.
A parallel sort of thing is an ability that adds to powers that use various weapons. That seems to work. However in trying to use it as a model, I have the problem that I can't tell what sort of, well, component a reference in it might be (and thus what the parallel to implements might be.) For reference here's a chunk of code applying to weapons:
Code:
foreach pick in hero from WeaponBase where "WepGroup.wgStaff"
perform eachpick.field[wpAtkFeat].modify[+,bonus,""]
What I can't figure out is what "WeaponBase" might be here. Anyone care to speculate? I'm guessing it might be the program category the weapons are all stored in, but don't know, if true, how I'd find the equivalent might be for the implements.