Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old May 28th, 2017, 12:34 PM
I ran into an interesting issue when scripting the Unearthed Arcana Skill feats. So far they all work ok until get to the Perceptive feat:

Quote:
You hone your senses until they become razor
sharp. You gain the following benefits:
• Increase your Wisdom score by 1, to a
maximum of 20.
• You gain proficiency in the Perception skill. If
you are already proficient in the skill, you add
double your proficiency bonus to checks you
make with it.
• Being in a lightly obscured area doesn’t impose
disadvantage on your Wisdom (Perception)
checks if you can both see and hear.
This is my script:

Phase: Post-levels, Priority: 10000
Timing > Before scripts: Calc skProfBon
Quote:
doneif (tagis[Helper.ShowSpec] = 0)

doneif (tagis[Helper.Disable] <> 0)

if (hero.child[skPercep].tagis[Helper.Proficient] <> 0) then
perform hero.child[skPercep].assign[Helper.ProfDouble]
else
perform hero.child[skPercep].assign[Helper.Proficient]
endif
Everything works fine except when you play an elf with the Keen Senses ability.
It gives elves Proficiency with Perception using the following script:
Phase: First, Priority: 11000
Quote:
~if we've been disabled, get out now
doneif (tagis[Helper.Disable] <> 0)

~assign our weapon proficiencies to the hero
perform hero.pushtags[ProfSkill.?]
The ability is assigned the tag:ProfSkill.skPercep

For some reason my script doesn't see tagis[Helper.Proficient as done by the Keen Senses ability.

I've done several of the feats from the Unearth Arcana article with no issues, but for some reason I am having issues with Perception as its given by the Keen Senses ability.

Any idea what I may be doing wrong? Is it a HL bug as scripted?

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon 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 May 30th, 2017, 10:29 AM
So Keen Senses is pushing a tag to the Hero but your testing for a tag on the pick.

Have you double checked that the Helper.Proficient gets assigned to the skill Pick. Or do you need to check the hero and the pick to see if a skill is Proficient.

Its also possible that if the tag is getting onto the skill Pick that it is happening at a later timing when used on the hero.

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
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old May 30th, 2017, 10:33 AM
I checked and everythign seemed ok.

I did come up with a workaround that seemed to solve my issue.

I used the same script you pointed me to for my Goliath Brawny issue. I put it in to see if the hero had the Keen Senses ability. If it did I deleted and re-assigned the Perception skill. It may may a cheat but it seemed to solve my issue without any other problems popping up.

Thanks.

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon is offline   #3 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 10:53 PM.


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