Lone Wolf Development Forums  

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

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
chogenkiboy
Member
 
Join Date: Feb 2007
Posts: 43

Old July 12th, 2009, 01:44 PM
Hi,

I tried adding a Ring of Epic Wizardry V, but I'm stuck.

I started by copying Ring of Wizardry IV, which has Eval Script
if (field[gIsEquip].value <> 0) then
var result as number
result = hero.assign[Hero.Wizardry4]
endif

I cannot simply change the Eval Script to
result = hero.assign[Hero.Wizardry5]
because the tag Wizardry5 does not exist in the d20 source files.

I found a tag in in file aug_tags.st1.
<value id="Wizardry4"/> <!-- Double arcane spells from level 4 (from Ring of Wizardry) -->

I also found the following in data.hlz while Hero Lab is running
~ If we have Wizardry for this level, and these spells are arcane,
~ we get twice as many spells.
if (isarcane <> 0) then
if (i = 1) then
if (hero.tagvalue[Hero.Wizardry1] <> 0) then
field[cMemMax].arrayvalue[i] = field[cMemMax].arrayvalue[i] * 2
endif
elseif (i = 2) then
if (hero.tagvalue[Hero.Wizardry2] <> 0) then
field[cMemMax].arrayvalue[i] = field[cMemMax].arrayvalue[i] * 2
endif
elseif (i = 3) then
if (hero.tagvalue[Hero.Wizardry3] <> 0) then
field[cMemMax].arrayvalue[i] = field[cMemMax].arrayvalue[i] * 2
endif
elseif (i = 4) then
if (hero.tagvalue[Hero.Wizardry4] <> 0) then
field[cMemMax].arrayvalue[i] = field[cMemMax].arrayvalue[i] * 2
endif

What I cannot figure out is how I mimic the behavior of Wizardry4 for Ring of Epic Wizardry V to double the number of 5th level spells memorized. I do not see how srd.dat files meld with aug_tags.st1 into what I find in data.hlz, nor do I see anything I can copy in Hero Lab Editor to mimic Wizardry4.

Any advice?

Thanks
chogenkiboy is offline   #1 Reply With Quote
 

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:31 PM.


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