Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old November 18th, 2012, 06:20 PM
I have created an Ability called "Foe of the Giants" that is meant to be bootstrapped on a special dwarven waraxe that is kind of a legacy weapon.

That ability grants 3 separate benefits at 3 different character levels; at level 12 it grants the item power "Bane" vs giants. As I ran into issues with bootstrapping item powers on the axe as gizmos, I preferred to code Bane into the Foe of the Giants ability. I just have no clue how to properly add the #extradamage macro into the ability's script so that it modifies the weapon bootstrapping the ability

I have tried:
(...)
~Bane vs Giants
if (#totallevelcount[] >= 12) then
if (field[abilActive].value <> 0) then
hero.child[Attack].field[Bonus].value += 2
#extradamage[root,"+2d6 vs Giants",field[name].text]
endif
endif

but the #extradamage does not work (the rest of the script is OK) and I get this message:
"Cannot reliably access bootstrap source for unique pick 'abGntKarsh'
Location: 'eval' script for Thing 'abGntKarsh' (Eval Script '#1') near line 20"

Any pointers on how to debug that or things I could look at for examples?

Thanks!
Lord Magus is offline   #1 Reply With Quote
Pezmerga
Senior Member
 
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328

Old November 18th, 2012, 09:08 PM
Quote:
Originally Posted by Lord Magus View Post
I have created an Ability called "Foe of the Giants" that is meant to be bootstrapped on a special dwarven waraxe that is kind of a legacy weapon.

That ability grants 3 separate benefits at 3 different character levels; at level 12 it grants the item power "Bane" vs giants. As I ran into issues with bootstrapping item powers on the axe as gizmos, I preferred to code Bane into the Foe of the Giants ability. I just have no clue how to properly add the #extradamage macro into the ability's script so that it modifies the weapon bootstrapping the ability

I have tried:
(...)
~Bane vs Giants
if (#totallevelcount[] >= 12) then
if (field[abilActive].value <> 0) then
hero.child[Attack].field[Bonus].value += 2
#extradamage[root,"+2d6 vs Giants",field[name].text]
endif
endif

but the #extradamage does not work (the rest of the script is OK) and I get this message:
"Cannot reliably access bootstrap source for unique pick 'abGntKarsh'
Location: 'eval' script for Thing 'abGntKarsh' (Eval Script '#1') near line 20"

Any pointers on how to debug that or things I could look at for examples?

Thanks!
Edit: I created it differently trying to fix this so I gave bad advice lol.

Last edited by Pezmerga; November 20th, 2012 at 07:14 PM.
Pezmerga is offline   #2 Reply With Quote
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old November 19th, 2012, 03:04 AM
Unfortunately not working...

"Attempt to access non-existent parent pick for a top-level container from script
Location: 'eval' script for Thing 'abGntKarsh' (Eval Script '#1') near line 20"
Lord Magus is offline   #3 Reply With Quote
Pezmerga
Senior Member
 
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328

Old November 19th, 2012, 09:11 AM
What did you make the ability in the editor? "Item Power"? "Ability"? "Class Special"? "Racial Special"?

Actually, could you post everything about the ability you made, or upload the user file with it in it? The latter would be easier to work with.
Pezmerga is offline   #4 Reply With Quote
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old November 19th, 2012, 08:04 PM
Quote:
Originally Posted by Pezmerga View Post
What did you make the ability in the editor? "Item Power"? "Ability"? "Class Special"? "Racial Special"?

Actually, could you post everything about the ability you made, or upload the user file with it in it? The latter would be easier to work with.
Coded as an "Ability" named "Foe of the Giants"; can be checked on the "In Play" tab when fighting a giant.
1 script
Code:
Pre-Levels 11000
~+1 stacking bonus to attack & damage vs Giants
if (#totallevelcount[] >= 8) then
   if (field[abilActive].value <> 0) then
      hero.child[Attack].field[Bonus].value += 1
      hero.child[Damage].field[tDamBonus].value += 1
   endif
endif

~+4 dodge bonus to AC vs Giants
if (#totallevelcount[] >= 11) then
   if (field[abilActive].value <> 0) then
      hero.child[ArmorClass].field[tACDodge].value += 4
   endif
endif

~Bane vs Giants
if (#totallevelcount[] >= 12) then
   if (field[abilActive].value <> 0) then
      hero.child[Attack].field[Bonus].value += 2
      #extradamage[parent,"+2d6 vs Giants",field[name].text]
   endif
endif

The ability is bootstrapped upon a custom weapon (Karesh, with the Gizmo "dwarven waraxe"), with the Condition "count:Hero.HitDice >= 8" at First/500

This weapon's stack of abilities is as follows (I have coded about 75% of it)
Level 5: Dwarven waraxe +1 (OK)
Level 6: Wielder acquires the Aggressive trait (from Unearthed Arcana/d20 SRD) (OK)
Level 7: +4 bonus to Craft (Armor) and Craft (Weapon) skills (OK); gain Stability (as the dwarven racial ability; if already a dwarf, the bonus granted is increased to +6) (in progress, through bootstrap)
Level 8: +1 bonus to attacks and damage vs. giant-type creatures, stacking with the other bonuses granted by the axe. (OK: foe of the giants)
Level 9: -1 CHA (inherent) (OK), gain Power Attack when wielding the axe (if wielder already has Power Attack, he gains Cleave; if he already has Cleave, he gains Great Cleave) (in progress, through bootstraps)
Level 10: Dwarven waraxe +2 (OK)
Level 11: +4 Dodge bonus vs. giant-type creatures (OK: foe of the giants)
Level 12: -1 WS (inherent) (OK), Giant Bane Waraxe (extra +2 attack, +2d6 damage vs creatures of the Giant subtype); this stacks with the other attack and damage bonuses granted by the axe. (In progress: foe of the giants)
Level 13: Keen (Still needs to be done, but won't be through bootstrapping because of issues with conditions)
Level 14: Dwarven waraxe +3 (OK)
Level 15: -1 Ref save (Not done but easy to do)
Level 18: -1 CHA (inherent), +4 Waraxe (OK)

Last edited by Lord Magus; November 19th, 2012 at 08:10 PM. Reason: Precisions
Lord Magus is offline   #5 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old November 20th, 2012, 08:12 AM
First/1000 in this case.
Mathias is online now   #6 Reply With Quote
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old November 20th, 2012, 05:18 PM
Quote:
Originally Posted by Mathias View Post
First/1000 in this case.
Still getting the
Attempt to access non-existent parent pick for a top-level container from script
Location: 'eval' script for Thing 'abGntKarsh' (Eval Script '#1') near line 20

related to the #extradamage macro
Lord Magus is offline   #7 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old November 20th, 2012, 05:23 PM
The ability doesn't have a parent, what you want to go to is the "root" (which is the thing that bootstrapped the current thing). Try changing:

#extradamage[parent,"+2d6 vs Giants",field[name].text]

to:
#extradamage[root,"+2d6 vs Giants",field[name].text]
Aaron is offline   #8 Reply With Quote
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old November 20th, 2012, 06:18 PM
Quote:
Originally Posted by Aaron View Post
The ability doesn't have a parent, what you want to go to is the "root" (which is the thing that bootstrapped the current thing). Try changing:

#extradamage[parent,"+2d6 vs Giants",field[name].text]

to:
#extradamage[root,"+2d6 vs Giants",field[name].text]
That's what I tried first (see post #1). Didn't work, even at First/1000, with the error message
Cannot reliably access bootstrap source for unique pick 'abGntKarsh'
Lord Magus is offline   #9 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old November 20th, 2012, 06:19 PM
Hmm. Could you send me your user file so I can fiddle with it?

address is my forum name, all lower case, AT wolflair dot com.

Last edited by Aaron; November 20th, 2012 at 06:25 PM.
Aaron is offline   #10 Reply With Quote
Reply

Thread Tools
Display Modes

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 04:02 PM.


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