Junior Member
Join Date: Jan 2015
Posts: 6
|
Would it be possible to add the hardness and hit points to the weapons and armor? It would be really nice to be able to see that information after adding the material and enchantment bonuses and not have to do the math! Is this something that's at least probable?
|
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
It's been asked a few times, but hasn't really come about yet.
|
#2 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
This was something I started adding a few years ago, the Unfinished code is still available for completing.
Here's the original forum thread Dormio Forte Somnio Community Created Resources : Data Package Repositories : d20pfsrd Custom Character Sheets Community Server Setup (Packs) Hero Lab Help- Video Tutorials and Pathfinder FAQ Created by the community for the community
|
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#4 |
Member
Join Date: Mar 2015
Posts: 61
|
Sorry the Necromancey skills of mine are too strong to controll!
I was wondering where this project was at, and if its available, where/how do I go about using it? I'm looking at building at least in part, a Sunder using character and this would speed up a lot of research. |
#5 |
Senior Member
Join Date: Jan 2011
Posts: 453
|
I also would like to use this. Did it ever get completed?
|
#6 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Simply put no it was never completed......
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#7 |
Senior Member
Join Date: Jan 2011
Posts: 453
|
I wonder if LW will ever add this?
|
#8 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
Regarding Hardness and HP for weapons!
Okay I've dug out my old code and I am trying to complete it. Starting with the weapons first, I'll do Armour next. Currently I can display some values on standard Weapons both Magical and Mundane. Even if the values are incorrect it provides a base figure. However, the values do not display on a custom magic weapon, somehow the values are not calculating, I'm presuming the iMagXXXX Gizmo is preventing the code from firing. So how do I transition to the Custom Magic Weapon and get the name to be appended with the values? Screenshots attached. Code:
~ If we're not enabled, get out now doneif (field[pIsOn].value <> 1) ~ If nothing chosen, get out now doneif (field[pChosen].ischosen <> 1) ~ Set up some variables to use later Var ObjHard as Number Var ObjHardB as Number Var ObjHardT as Number Var ObjHp as Number Var ObjHpB as Number Var ObjHpT as Number Var ObjSize as Number Var ObjGroup as Number ~ If adamantine add 40 hit points and 20 hardness If (field[pChosen].chosen.tagis[Ability.eAdamant] <> 0) Then field[abValue].value = 40 field[abValue2].value = 20 Else If (field[pChosen].chosen.tagis[Ability.eMithral] <> 0) Then field[abValue].value = 30 field[abValue2].value = 15 Endif Endif ~ Lets multiply our weapon bonus by 10 and 2 for each +1 enchantment field[abValue3].value += field[pChosen].chosen.field[BonEnhance].value * 10 field[abValue3].value += field[pChosen].chosen.field[BonEnhance].value * 2 ~ Now lets use abValues to store the value of our Hit Points ObjHp = field[abValue].value ObjHpB = field[abValue3].value ObjHpT = (ObjHp + ObjHpB) ~ Now lets use abValues to store the value of our Hardness ObjHard = field[abValue2].value ObjHardB = field[abValue4].value ObjHardT = (ObjHard + ObjHardB + ObjGroup) ~ Now lets add to the Hit point and Hardness total to our name field[pChosen].chosen.field[livename].text &= field[livename].text & " Hardness: " & ObjHardT & " " & " HP: " & ObjHpT & " " Dormio Forte Somnio Community Created Resources : Data Package Repositories : d20pfsrd Custom Character Sheets Community Server Setup (Packs) Hero Lab Help- Video Tutorials and Pathfinder FAQ Created by the community for the community
Last edited by bodrin; August 3rd, 2016 at 01:12 PM. |
#9 |
|
|