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
Matt Harris
Junior Member
 
Join Date: Feb 2013
Posts: 18

Old March 7th, 2013, 01:08 PM
I used the *Preclude tab to hide the core shield when my source is selected. So when the source is selected, my shield versions show up and the core doesn't.

I have attached the .user file if you want to look at it.
Attached Files
File Type: zip HouseRulesMJH.zip (3.1 KB, 5 views)
Matt Harris is offline   #11 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old March 7th, 2013, 01:53 PM
You sure you don't want to do it with a mechanic and a foreach? That's extend to all current and future shields, so you wouldn't have to constantly update the precludes or replacements...

Only downside would be the bonus displayed when initially buying the shield wouldn't include your bonus.
Aaron is offline   #12 Reply With Quote
Matt Harris
Junior Member
 
Join Date: Feb 2013
Posts: 18

Old March 7th, 2013, 02:17 PM
I'd love too...but I have been reading through the scripting rules and am really unclear how to go about it.

The mechanic would probably work better especially as I was planning on using a lot of pre-generated characters (I hav just started a Kingmaker campaign) and I would have to fix up anyone with any time of shield.

Last edited by Matt Harris; March 7th, 2013 at 02:26 PM.
Matt Harris is offline   #13 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old March 7th, 2013, 03:21 PM
Alright, so here is what I recommend. Delete your precludes, and the new shield versions, then update the eval script on your mechanic to run at Pre-Levels 500 and look like this:

Code:
   ~ Stop if we are not currently using the house rules.
   doneif (hero.tagis[source.MJH_HRules] = 0)

   ~Cycle through all armor type things which are Shields or Tower Shields.
   foreach pick in hero from BaseArmor where "ArmorClass.Shield | ArmorClass.Tower"

     ~ Now check to see which shield class this shield is, and apply an appropriate bonus.
     ~ Light shields get a +1 bonus.
     if (eachpick.tagis[ShldClass.Light] <> 0) then
       eachpick.field[arAC].value += 1
       endif

     ~ Heavy and Tower shields get a +2 bonus.
     if (eachpick.tagis[ShldClass.Heavy] + eachpick.tagis[ShldClass.Tower] <> 0) then
       eachpick.field[arAC].value += 2
       endif
     
     nexteach
Aaron is offline   #14 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old March 7th, 2013, 03:22 PM
I tested this and it seems to be working. You didn't mention any changes to Bucklers, so I left them alone.
Aaron is offline   #15 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old March 7th, 2013, 03:52 PM
Quote:
Originally Posted by Matt Harris View Post
I used the *Preclude tab to hide the core shield when my source is selected. So when the source is selected, my shield versions show up and the core doesn't.

I have attached the .user file if you want to look at it.
So the only thing I see is that you have some of the shields marked to multiple sources. So if any of those sources are marked the shield will show up. This means if I have APG turned on and your House Rules not marked you will still see the Custom shields that are source marked to the APG source.

Only thing I see that is an issue.

If you like Aaron's way better that is cool too. My players find it confusing when they buy something with "X" values and it shows up on the character with "Y" values. Why I was leading you down this path instead.

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.
ShadowChemosh is offline   #16 Reply With Quote
Matt Harris
Junior Member
 
Join Date: Feb 2013
Posts: 18

Old March 7th, 2013, 03:59 PM
Excellent! That will save so much work.

Thank you ever so much.

ShadowChemosh - thanks for your help as well. I am sure I will find a use for the stuff I learned from you, too.
Matt Harris is offline   #17 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 09:09 PM.


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