Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old October 19th, 2010, 03:36 AM
I am talking about getting the section after the "IsRace." part. For example, IsRace.rElf would return rElf. I came up with something, but in situations where the char has multiple race tags (like Varisian Humans) it gives too much.
Lawful_g is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old October 19th, 2010, 08:05 AM
I am happy to try and help, but I am not getting what you are looking for as it sounds like you are getting the race values correctly. You just want to limit it to a single race tag? Or are you actually trying to convert the TAG into a String data type so that you can try and compare it to another String data type?

Sorry I am just not understanding the question.....

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   #2 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old October 19th, 2010, 09:04 AM
Varisian Humans should have two IsRace tags - their native tag, and rHuman - the presence of IsRace.rHuman allows them to use the favored class options that are defined for Humans.

if you're using them in a foreach, may I suggest an AND?:

Code:
 
var searchexpr as string
searchexpr = tagids[IsRace.?,"&"]
 
foreach pick in hero from BasrRace where searchexpr
That will search for only the combination of IsRace tags found on the race you're looking up, but don't you know exactly which race you're looking for, in order to have gotten those tags?
Mathias is online now   #3 Reply With Quote
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old October 19th, 2010, 11:47 AM
I am looking up what race the hero is so that I can assign a wEasyRace.Whatevertheyare tag to each weapon of one select type present. So I don't need an and, as a matter of fact it doesn't matter which of multiple IsRace tags I get, I just need any one.
Lawful_g is offline   #4 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old October 19th, 2010, 12:17 PM
So, all weapons are one class easier?

That doesn't need to involve the race.

Pre-Levels/5500:

Code:
 
foreach pick in hero from BaseWep
  eachpick.field[wClass].value = maximum(eachpick.field[wClass].value - 1, 0)
  nexteach
(Note that a there are a few problems I came across in field[wClass].value - 2-handed use doesn't detect changes to that, for example, that I've fixed for the next update, so you may have to wait until the next update for a thourough testing).
Mathias is online now   #5 Reply With Quote
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old October 19th, 2010, 02:33 PM
Actually it is a magic item that gives weapon familiarity with one selected weapon, for example Greataxe.

I think I can make that work. I'll fiddle some and come back if I have problems. Thanks.
Lawful_g is offline   #6 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old October 19th, 2010, 03:09 PM
Quote:
Originally Posted by Lawful_g View Post
Actually it is a magic item that gives weapon familiarity with one selected weapon, for example Greataxe.
Wouldn't that just be Proficient. Weapon Familiarity is when you get to treat all weapons with a Specific race word as martial. So all weapons that start with Orc count as Weapon Familiarity. If you are just picking a single weapon that would just need to apply the Weapon Proficient tag to that one specific weapon wouldn't it?

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   #7 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old October 19th, 2010, 03:20 PM
There's a specific mechanic for making a weapon a category easier, without having to match the race or be using two hands:

Code:
 
perform field[usrChosen1].chosen.pulltags[EasyWeapon.?]
perform forward[EasyWeapon.?]
The EasyWeapon.? tags (along with everything else proficiency related) are checked at Pre-Level/10000, so I'd recommend Pre-Level/9000 or so.

To any HL user who'se reading this, remember, if you're having trouble, tell me the whole problem along with the small piece you're stuck on - there may be a better overall solution.
Mathias is online now   #8 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 02:38 PM.


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