Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
CptCoots
Senior Member
 
Join Date: Apr 2013
Location: Poughkeepsie, NY
Posts: 102

Old January 19th, 2016, 09:01 AM
So I know this is a problem with a great amount of history but the wMain.xdy_z tags are tricky (at least for me), and authoring custom dice seems to me to be out of my reach (unless you can show me how to in a straightforward manner - doesn't have to be easy just straightforward).

A little background on what I'm doing, I'm almost done implementing the Revised Core Rulebook for Star Wars d20 in the standard d20 setting (I made a copy of the 3.5 game system so I could completely screw with it without worry while I was building). A sticking point is the Martial Arts, Improved Martial Arts, and Advanced Martial Arts feat progression. Specifically, the damage progression.

Long story short MA->IMA->AMA gives Medium characters unarmed strike damage of 1d4->2d4->3d4 (Small get 1d3->2d3->3d3 and Large get 1d6->2d6->3d6). Now if you've messed around with d20 sizes, monk class in Hero Lab, or any other sort of natural attack fiasco then you know
a) those aren't the typical size progressions
b) there are no system tags for 2d3, 3d3, 3d4, and 3d6.

I can circumvent a) but b) is a real pisser. Anyone know how to write my own damage tags?

This is the logic behind my script that is in the Martial Arts Feat:
Post-Levels 5000
~ Get our unarmed strike pick, delete the damage tag from it, and assign
~a new damage tag.
var result as number
var dice as string
result = hero.child[wUnarmed].delete[wMain.?]

~need to find out which feats are on, namely look for HasFeat.fImMA and .fAdMA and what size we are!

if (hero.tagcount[Size.Medium]<>0) then
if (hero.tagcount[HasFeat.fAdMA]<>0) then
~commented because these break.
~perform hero.child[wUnarmed].assign[wMain.3d4_X]
~dice = "3d4"
elseif (hero.tagcount[HasFeat.fImMA]<>0) then
perform hero.child[wUnarmed].assign[wMain.2d4_6]
dice = "2d4"
else
perform hero.child[wUnarmed].assign[wMain.1d4_4]
dice = "1d4"
endif
elseif (hero.tagcount[Size.Small]<>0) then
BLAH BLAH BLAH
endif

field[livename].text = field[name].text & " (" & dice & ")"
CptCoots is offline   #1 Reply With Quote
 


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:26 AM.


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