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
Fuzzy
Senior Member
 
Join Date: Jul 2012
Posts: 416

Old November 11th, 2014, 03:50 PM
nevermind, this would prohibit being able to wield one end 'two handed'. No perfect solution here it seems.
Fuzzy is offline   #11 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old November 11th, 2014, 05:51 PM
Quote:
Originally Posted by Fuzzy View Post
Code:
if (tagis[Hero.OffHand] = 1) then
    perform tagreplace[wClass.OneHanded,wClass.Light]
endif
I know why this is not working. Its because your using the "tag" Hero.OffHand instead of using the "field". The tag is updated late but the field is updated right away.

use this:
Code:
~ If equipped in off-hand then change class to Light
if (field[wIs2nd].value <> 0) then
    perform tagreplace[wClass.OneHanded,wClass.Light]
endif
Then try this at First/10000 and it will work. So the reason it was staying "one-handed" is because the the test for Hero.OffHand was returning 0 "false".

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   #12 Reply With Quote
Fuzzy
Senior Member
 
Join Date: Jul 2012
Posts: 416

Old November 11th, 2014, 06:16 PM
Ah.. okay, I'll try that out. I always go to tags first, as they are smoother and faster. Didnt' even think about them getting set later.
Fuzzy is offline   #13 Reply With Quote
Fuzzy
Senior Member
 
Join Date: Jul 2012
Posts: 416

Old November 11th, 2014, 06:16 PM
So I wonder, then, what the bonuses/penalties are looking at - the field, or the tag.
Fuzzy is offline   #14 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 06:59 AM.


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