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
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,217

Old February 4th, 2016, 01:17 PM
Or how about
Code:
hero.child[Speed].field[tSpeed].value += 10
For less typing.

Here's the relevant article about math & text operations in Hero Lab: http://forums.wolflair.com/showthread.php?t=21668
Mathias is offline   #41 Reply With Quote
daplunk
Senior Member
 
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,294

Old February 4th, 2016, 01:23 PM
Thanks i forgot about that.
daplunk is offline   #42 Reply With Quote
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old February 4th, 2016, 01:30 PM
So did I.

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon is offline   #43 Reply With Quote
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old February 5th, 2016, 01:25 PM
Tavern Brawler feat

To grant Unarmed Strikes 1d4 damage:

Go to Bootstraps and add:
wUnarmed

On the new Bootstrap click on fields add add 2 fields;
Field 1: Field Id (wDieCount), Value: 1
Field 1: Field Id (wDieSize), Value: 4

As to the Improvised Weapon proficiency, I discovered that weapons have Improvised Ranged and Melee Weapon proficiencies listed under Proficiency Required. The tags for wProfReq are ImprovRng & ImprovMel.

I tried using:

perform hero.assign[WepProf.ImprovMel]
perform hero.assign[WepProf.ImprovRng]

to push these Profciencies on to the hero, but either I am doing somethign wrong, or there is an issue with these tags. I am not a good enough scripter to know which.

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon is offline   #44 Reply With Quote
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old February 5th, 2016, 02:03 PM
Warcaster pre-requiste

Note: Due to the lack of caster archtypes for the fighter & rogue at this time, this Pre-reqs script does not check to see if they have spellcasting ability at this time.

This script goes in the Pre-reqs of the feat.

Quote:
var iTotal as number

iTotal = iTotal + #levelcount[Bard]
iTotal = iTotal + #levelcount[Cleric]
iTotal = iTotal + #levelcount[Druid]
iTotal = iTotal + #levelcount[Sorcerer]
iTotal = iTotal + #levelcount[Warlock]
iTotal = iTotal + #levelcount[Wizard]

if (#levelcount[Paladin] >1) then
iTotal = iTotal + #levelcount[Paladin]
endif
if (#levelcount[Ranger] >1) then
iTotal = iTotal + #levelcount[Ranger]
endif

@valid = 0
if (iTotal >0) then
@valid = 1
endif
There is probably a shorter way to do this, but I haven't been able to get anythign else to work so far.

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon is offline   #45 Reply With Quote
daplunk
Senior Member
 
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,294

Old February 5th, 2016, 04:07 PM
Well done Mergon!
daplunk is offline   #46 Reply With Quote
daplunk
Senior Member
 
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,294

Old February 5th, 2016, 04:08 PM
Mergon - send me a PM and ill give you access to the WIP so you can contribute directly if you like. Just need your email.
daplunk is offline   #47 Reply With Quote
nichollsr
Member
 
Join Date: Aug 2012
Posts: 57

Old February 6th, 2016, 02:28 AM
Is there anywhere i can start to learn how to do the script ? Id love to help out on this but not sure how.
nichollsr is offline   #48 Reply With Quote
daplunk
Senior Member
 
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,294

Old February 6th, 2016, 04:23 AM
From the editor use the help menu. it's what's available currently. Most of us are opening up existing items in the editor to find similar code and reworking it to meet our needs from what i can gather.
daplunk is offline   #49 Reply With Quote
nichollsr
Member
 
Join Date: Aug 2012
Posts: 57

Old February 6th, 2016, 06:46 AM
Quote:
Originally Posted by daplunk View Post
From the editor use the help menu. it's what's available currently. Most of us are opening up existing items in the editor to find similar code and reworking it to meet our needs from what i can gather.
Cool, thanks Daplunk. I will start playing around. Ive got a lot of stuff id like to see in there over and above the stuff in the rulebooks hence needing to learn !
nichollsr is offline   #50 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 07:25 PM.


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