willuwontu
Well-known member
Right now I'm remaking an item power called splitting (imported from 3.5) which does
The issue is that even though my test hero has the feat, it's not showing up. when i test without the requirement it works fine
I've also tried this too
Any idea on what would be causing the issue and what i could do to fix it?
Code:
Any missile fired from a splitting weapon, or an arrow or bolt enchanted with the splitting ability, breaks into two identical missiles before striking the intended target.
V-shaped engravings adorn a splitting weapon or splitting ammunition.
The splitting ability of a ranged weapon (must be a bow, crossbow, arrow, or bolt) only functions if its wielder has the Precise Shot feat.
Any arrow or bolt fired from a splitting weapon magically splits into two missiles in mid-flight. Both missiles are identical, sharing the nonsplitting properties of the original missile; for example, a +1 splitting arrow splits into two +1 arrows in mid-flight. Both missiles strike the same target. Make a separate attack roll for each missile using the same attack bonus.
Code:
if (#hasfeat[fPointBlnk] > 0) then
if (hero.child[Attack].field[tAtkBase].value >= 5) then
perform parent.assign[Helper.ExtraRanHi]
endif
if (hero.child[Attack].field[tAtkBase].value >= 10) then
perform parent.assign[Helper.ExtraRanHi]
endif
if (hero.child[Attack].field[tAtkBase].value >= 15) then
perform parent.assign[Helper.ExtraRanHi]
endif
endif
The issue is that even though my test hero has the feat, it's not showing up. when i test without the requirement it works fine
I've also tried this too
Code:
doneif (hero.tagis[HasFeat.fPointBlnk] = 0)
if (hero.child[Attack].field[tAtkBase].value >= 5) then
perform parent.assign[Helper.ExtraRanHi]
endif
if (hero.child[Attack].field[tAtkBase].value >= 10) then
perform parent.assign[Helper.ExtraRanHi]
endif
if (hero.child[Attack].field[tAtkBase].value >= 15) then
perform parent.assign[Helper.ExtraRanHi]
endif
Any idea on what would be causing the issue and what i could do to fix it?