Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
CptCoots
Senior Member
 
Join Date: Apr 2013
Location: Poughkeepsie, NY
Posts: 102

Old July 9th, 2013, 08:39 AM
Sendric, Thank you so much!

Well there is a straightforward way that is very prone to breaking should any of the tags change. The chosen pick will have the correct feat tag, e.g., fChainSpl, field. One can then code another huge if-statement block that goes through and if the chosen matches a particular one then set a string for the metamagic item.

Pseudo code example:
var str1 as string
var str2 as string
str1=field[fChosen].chosen.idstring

if (str1="fHeightenSpl") then
str2="mmHeighten"
elseif (str1="fQuickenSpl") then
str2="mmQuicken"
elseif...
...
endif

Problem is (1) this feat will not function for a new metamagic feat unless it is added and (2) it will be a HUGE script.

Quote:
Originally Posted by Sendric View Post
Unfortunately, I'm at a loss on this one. The problem is there are two separate things with metamagic feats. There's the feat you select, then there's the metamagic item you select when creating a metamagic spell (ie fChainSpl and mmChainSpl). I don't see an easy way to use the selected item (fChainSpl) to change the other (mmChainSpl).
CptCoots is offline   #11 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 2,744

Old July 9th, 2013, 08:45 AM
Right. Here's another option. Use this feat to assign a tag to the spell. Then in the editor, go to each metamagic item and write a script to reduce the level adjustment by 1 if the tag exists. It would be a little tedious, but it should do the trick.

That's something I would be willing to add for the next community set (as well as the change to Arcane Thesis).
Sendric is offline   #12 Reply With Quote
CptCoots
Senior Member
 
Join Date: Apr 2013
Location: Poughkeepsie, NY
Posts: 102

Old July 9th, 2013, 08:59 AM
I just did something similar, can you tell I'm avoiding work? I added a User.metaitem tag to mmQuicken. Then the pull down menu can be User.metaitem instead of the feats.

Each way is a pain in the butt...

What if one were to standardize that each metamagic feat was named like fQuicken and each metamagic gizmo thingy was named mmQuicken. could you strip off the f in hero lab? Something like

str="fQuicken"
str=str(1-end) ~starting index at 0
str="mm"&str
CptCoots is offline   #13 Reply With Quote
CptCoots
Senior Member
 
Join Date: Apr 2013
Location: Poughkeepsie, NY
Posts: 102

Old July 9th, 2013, 09:02 AM
Quote:
Originally Posted by Sendric View Post
Right. Here's another option. Use this feat to assign a tag to the spell.
Wait, that is the problem! starting from fQuickenSpl (what is chosen) how can I look at spells (sCustomSpl) to tell if they have mmQuicken on them?
CptCoots is offline   #14 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 2,744

Old July 9th, 2013, 09:15 AM
Quote:
Originally Posted by CptCoots View Post
I just did something similar, can you tell I'm avoiding work? I added a User.metaitem tag to mmQuicken. Then the pull down menu can be User.metaitem instead of the feats.

Each way is a pain in the butt...

What if one were to standardize that each metamagic feat was named like fQuicken and each metamagic gizmo thingy was named mmQuicken. could you strip off the f in hero lab? Something like

str="fQuicken"
str=str(1-end) ~starting index at 0
str="mm"&str
What's work?

Yes, you could do that, but I'm not sure how that's necessarily easier/better than what I suggested.
Sendric is offline   #15 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 2,744

Old July 9th, 2013, 09:16 AM
Quote:
Originally Posted by CptCoots View Post
Wait, that is the problem! starting from fQuickenSpl (what is chosen) how can I look at spells (sCustomSpl) to tell if they have mmQuicken on them?
I don't know. Let me work something up real quick.
Sendric is offline   #16 Reply With Quote
CptCoots
Senior Member
 
Join Date: Apr 2013
Location: Poughkeepsie, NY
Posts: 102

Old July 9th, 2013, 09:23 AM
Quote:
Originally Posted by Sendric View Post
What's work?

Yes, you could do that, but I'm not sure how that's necessarily easier/better than what I suggested.
The difference is then you shoot for the same naming convention between the feats and the mm items and then this is done with a few string manipulations rather that a giant and breakable if elseif statement.
CptCoots is offline   #17 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 2,744

Old July 9th, 2013, 09:41 AM
Ok, here's an idea. I'm attaching a file for you that includes the Easy Metamagic feat and a new version of the Quicken Spell metamagic item. I threw in a test to see if you could read the mmLevel value (which you can). You should be able to use this as a starting point. I think it will be easier, though of course we'd still have to modify all of the metamagic items. That's something I can do, though. Let me know what you think.
Attached Files
File Type: email Custom - Dragon Magazine.user (2.1 KB, 2 views)
Sendric is offline   #18 Reply With Quote
CptCoots
Senior Member
 
Join Date: Apr 2013
Location: Poughkeepsie, NY
Posts: 102

Old July 9th, 2013, 09:46 AM
Sendric, I like this. I'll implement this on my side in my custom feats file. Look forward to seeing it in distro and I'll let you know if I hit a speed bump.
CptCoots is offline   #19 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 2,744

Old July 9th, 2013, 09:55 AM
Quote:
Originally Posted by CptCoots View Post
Sendric, I like this. I'll implement this on my side in my custom feats file. Look forward to seeing it in distro and I'll let you know if I hit a speed bump.
Cool. If you can post the final eval script you use to reduce the sLevel, that would be helpful. I'll start working on the metamagic items so that they are all tagged correctly.
Sendric is offline   #20 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 05:20 PM.


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