Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
I have a weapon that uses it's own BAB instead of the characters.
I've tried to set the wAttBAB and the wAttack fields respectively but cannot figure out how to negate the BAB of the created hero! Quote:
Last edited by bodrin; February 24th, 2011 at 02:12 PM. Reason: Clarification |
|
#1 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
Another request for help
Im trying to code a weapon that adds a Profane bonus to ranged touch attacks only but when i try to apply the BonProf tag to wAttRanged or wRanAtk it throws an non existant thing referenced error! Quote:
Last edited by bodrin; February 24th, 2011 at 02:36 PM. Reason: Clarifiacation |
|
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jun 2010
Posts: 623
|
Look at my Flurry of Blows mod for Pathfinder, it looks up the attacks with a weapon. You could use that, subtract the BAB of the hero, then add the BAB the weapon uses. Then update the live name to put the attack roll value.
Code you tried? |
#3 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
Ranged attack profane bonus
~ If we're not equipped, get out if (field[gIsEquip].value + field[wIs2nd].value = 0) then done endif #applybonus[BonProf, hero.child[wRanAtk], 1] then Weapon BAB ~ If we're not equipped, get out if (field[gIsEquip].value + field[wIs2nd].value = 0) then done endif perform hero.assign[wAttBAB], 12] The Profane bonus errors out and the weapon adds the heroes BAB to the 12 making an attack bonus +13 |
#4 |
|
|