Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
willuwontu
Senior Member
 
Join Date: Sep 2014
Posts: 105

Old October 24th, 2014, 04:45 PM
Right now I'm remaking an item power called splitting (imported from 3.5) which does

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?
willuwontu is offline   #1 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old October 24th, 2014, 05:06 PM
Phase and Priority?
AndrewD2 is offline   #2 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old October 24th, 2014, 05:06 PM
Also the power doesn't seem to require Pont Blank Shot, is that something you're adding?
AndrewD2 is offline   #3 Reply With Quote
willuwontu
Senior Member
 
Join Date: Sep 2014
Posts: 105

Old October 24th, 2014, 05:09 PM
"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"

So while you can add the ability the ability only works if you have the feat.

Final 9500

Last edited by willuwontu; October 24th, 2014 at 05:11 PM.
willuwontu is offline   #4 Reply With Quote
willuwontu
Senior Member
 
Join Date: Sep 2014
Posts: 105

Old October 24th, 2014, 05:12 PM
And oh god

Have i been using point-blank shot not precise shot (*Facepalm*)
willuwontu is offline   #5 Reply With Quote
willuwontu
Senior Member
 
Join Date: Sep 2014
Posts: 105

Old October 24th, 2014, 05:16 PM
Yup that fixed it. TYVM for pointing that out to me
willuwontu is offline   #6 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old October 24th, 2014, 05:20 PM
no prob, glad to help
AndrewD2 is offline   #7 Reply With Quote
Reply


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 12:16 PM.


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