Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

Reply
 
Thread Tools Display Modes
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old July 6th, 2010, 04:03 PM
All,

I've got:
Quote:
<thing id="cHelpDeH" name="Dedicated Hero" compset="ClassHelp" uniqueness="unique">
<fieldval field="cSpecName" value="Talents"/>
<fieldval field="cSpecSing" value="Talent"/>
<fieldval field="cAbbr" value="DeH"/>
<fieldval field="cHDSides" value="6"/>
<fieldval field="cSkills" value="5"/>
<arrayval field="cBonFtTot" index="1" value="1"/>
<arrayval field="cBonFtTot" index="3" value="2"/>
<arrayval field="cBonFtTot" index="5" value="3"/>
<arrayval field="cBonFtTot" index="7" value="4"/>
<arrayval field="cBonFtTot" index="9" value="5"/>
<arrayval field="cCustTot" index="0" value="1"/>
<arrayval field="cCustTot" index="2" value="2"/>
<arrayval field="cCustTot" index="4" value="3"/>
<arrayval field="cCustTot" index="6" value="4"/>
<arrayval field="cCustTot" index="8" value="5"/>
<usesource source="D20MCore" parent="D20Mod" name="D20 Modern - Core Rules"/>
<tag group="ClassSkill" tag="kTumble" name="Tumble" abbrev="Tumble"/>
<tag group="Classes" tag="DedicatH" name="Dedicated Hero" abbrev="Strong Hero"/>
<tag group="cAttack" tag="Medium" name="Medium" abbrev="Medium"/>
<tag group="cFort" tag="Poor" name="Poor" abbrev="Poor"/>
<tag group="cRef" tag="Medium" name="Medium" abbrev="Medium"/>
<tag group="cWill" tag="Poor" name="Poor" abbrev="Poor"/>
<tag group="psiClDisc" tag="None" name="None" abbrev="None"/>
<tag group="psiClass" tag="AddNewTag" name=" Specify tag!" abbrev=" Specify tag!"/>
<tag group="BonusFor" tag="ffFastH" name="Fast Hero" abbrev="Fast Hero"/>
<tag group="ClassSkill" tag="Profession" name="All Profession Skills" abbrev="All Profession Skills"/>
<tag group="ClassSkill" tag="kBalance" name="Balance" abbrev="Balance"/>
<tag group="ClassSkill" tag="kCraftMech" name="Craft: Mechanical" abbrev="Craft: Mechanical"/>
<tag group="ClassSkill" tag="kDrive" name="Drive" abbrev="Drive"/>
<tag group="ClassSkill" tag="kEscape" name="Escape Artist" abbrev="Escape Artist"/>
<tag group="ClassSkill" tag="kHide" name="Hide" abbrev="Hide"/>
<tag group="ClassSkill" tag="kKnowEvent" name="Knowledge: Current Events" abbrev="Knowledge: Current Events"/>
<tag group="ClassSkill" tag="kKnowPop" name="Knowledge: Popular Culture" abbrev="Knowledge: Popular Culture"/>
<tag group="ClassSkill" tag="kKnowStree" name="Knowledge: Streetwise" abbrev="Knowledge: Streetwise"/>
<tag group="ClassSkill" tag="kMoveSil" name="Move Silently" abbrev="Move Silently"/>
<tag group="ClassSkill" tag="kPilot" name="Pilot" abbrev="Pilot"/>
<tag group="ClassSkill" tag="kRWLang" name="Read/Write Language" abbrev="Read/Write Language"/>
<tag group="ClassSkill" tag="kRide" name="Ride" abbrev="Ride"/>
<tag group="ClassSkill" tag="kSleight" name="Sleight of Hand" abbrev="Sleight of Hand"/>
<tag group="ClassSkill" tag="kSpeakLang" name="Speak Language" abbrev="Speak Language"/>
<bootstrap thing="fCSkill3"></bootstrap>
<bootstrap thing="fCFeat1"></bootstrap>
<bootstrap thing="fWepSimple"></bootstrap>
<bootstrap thing="xClassDef"></bootstrap>
<bootstrap thing="xReputatn"></bootstrap>
<bootstrap thing="xActionPts"></bootstrap>
<bootstrap thing="fOccupatn"></bootstrap>
<bootstrap thing="fCSkill1"></bootstrap>
<bootstrap thing="fCSkill2"></bootstrap>
<eval phase="PreAttr" priority="10000">~ Class defense
~ As this varies for each class, the formula may change

var classdef as number
var mylevel as number
classdef = 0
mylevel = #levelcount[cDedicatH]

classdef = (mylevel) / 2
classdef = round(classdef, 0, -1)
classdef += 3

hero.child[xClassDef].field[Value].value += classdef</eval>
<eval phase="PreAttr" priority="10000" index="3">~ Action Points

var myAP as number
var mylevel as number
myAP = 0
mylevel = #levelcount[cFastH]

myAP = (mylevel) / 2
myAP = round(myAP, 0, -1)

myAP += 5

hero.child[xActionPts].field[Value].value += myAP</eval>
<eval phase="PreAttr" priority="10000" index="2">~ Reputation

var myrep as number
var mylevel as number
myrep = 0
mylevel = #levelcount[cFastH]

myrep= (mylevel) / 2
myrep = round(myrep, 0, -1)

hero.child[xReputatn].field[Value].value += myrep</eval>
</thing>
<thing id="cDedicatH" name="Dedicated Hero" compset="ClassLevel" maxlimit="10">
<tag group="ClassType" tag="Normal"/>
<bootstrap thing="cHelpDeH"></bootstrap>
<link linkage="helper" thing="cHelpDeH"/>
</thing>
the #levelcount[cDedicatH] gives me an error:

Quote:
Syntax error in 'eval' script for thing 'cHelpDeH' (Eval Script '#1') on line 7
-> Tag 'Classes.cDedicatH' not defined
As you can see, I've got the cDedicatH defind.

Ideas on what gives?
TCArknight is offline   #1 Reply With Quote
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old July 7th, 2010, 04:27 AM
NM. I realized what was wrong. Somehow this line got changed:

<tag group="Classes" tag="DedicatH" name="Dedicated Hero" abbrev="Strong Hero"/>

I made that cDedicatH and everything seems to work fine..
TCArknight is offline   #2 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 01:19 AM.


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