Senior Member
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464
|
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! |
#1 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
Quote:
Last edited by Pezmerga; November 20th, 2012 at 07:14 PM. |
|
#2 |
Senior Member
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464
|
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" |
#3 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
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. |
#4 |
Senior Member
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464
|
Quote:
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 |
|
#5 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
First/1000 in this case.
|
#6 |
Senior Member
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464
|
|
#7 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
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] |
#8 |
Senior Member
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464
|
Quote:
Cannot reliably access bootstrap source for unique pick 'abGntKarsh' |
|
#9 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
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. |
#10 |
|
|