• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Variation on Elemental Spell Metamagic Feat

Mehangle

Member
:confused: --How do I make a variant of it using the copy feature that does not check for what kind of damage the spell being modified does?
(I'm hoping it's just a switch or a different item on one of the drop down menus).--

:) I can get a new variant into the feat list pretty easy by making a duplicate of Elemental Spell and then giving it a new name and unique identifier.

:mad: The problem is that when I go to create a metamagic spell in either the wizards or the sorcerers spell area (haven't tried any other areas), the new metamagic feat is still checking to see if the modified spell does elemental type damage.
 
That sounds like you copied everything in the original feat, and didn't remove any validation checks for energy type, or related scripts. Try looking at the "Eval Scripts", and "Expr-reqs", etc to see what part of the feat is looking for the elemental tags.
 
There are two parts to metamagic, the feat and the spell effect. It sounds like you copied and replaced the feat, but did you do the same for the effect?
 
Dami: I looked under both of those buttons and one of them has a script that looks like this (which may not be working if I'm interpreting it correctly)


~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)

doneif (field[usrChosen1].ischosen = 0)

~make sure the hero knows that the elemental spell MM is valid for this
~element
perform field[usrChosen1].chosen.forward[MMElemSpel.?]
perform field[usrChosen1].chosen.pulltags[fEleSplDup.?]
perform forward[fEleSplDup.?]

is MM = Magic Missile?
 
Minous: Thanks. one mystery solved.. I still am unable to find where the spell effect is altered at.
When I go to create a spell altered by the new feat, (there are 8 possibilities with Elemental spell each one delineated by either the element itself ((acid, fire, cold etc) or 1/2 damage of each of the elements) the list of usable feats is completely greyed out and and the new feat is not listed at all.
I don't know where those 8 item listings are to change, or if that is a result of a setting elsewhere in HL.
 
Magic group in the editor / Metamagic tab is where you'll find those 8 picks that are what's added to the spell.
 
WHOOT! it was an "Expr-reqs" Listed in the Magic tab -> Metamagic tab: Elemental: Acid, Cold, Electricity, Fire, 1/2 Acid, 1/2 Cold, 1/2 Electricity, 1/2 Fire.
Each of them has a Message "Spell must deal Cold, Electricity, or Fire damage"
with a Pre-requisite Expression:
tagis[SpellEff.DamCold] + tagis[SpellEff.DamElec] + tagis[SpellEff.DamFire] <> 0
once that was removed it appears to work as desired.
I did have to recreate the entry from scratch as the original was not copyable. However Double screening helps with that. I put the original up on one screen and then just duplicated it with a new Unique id and name, then left out the one "Expr-reqs" and it showed up in the list along with all the originals.

THANK YOU!! everyone who responded!!
 
by random chance I figured this one out. Edited it and then saved it under a different file name and then searched for the file name and deleted the file. when I went back into HL the 2nd one was gone.
--how do I delete an old entry with a different unique ID?--
So I didn't think that changing the Unique ID on the "Magic->Metamagic-> new version of Elemental spell acid" would be an issue, until the old one and the new one both show up in the list of options and I can't figure out how to delete the old one (I thought when I changed the unique ID it would populate instead of create a new entry with the new ID)
Whoops...

(Also: Is this a new question and should be posted as a new one, or since its related to this particular area of HL makes it part of this thread?)
 
Last edited:
by random chance I figured this one out. Edited it and then saved it under a different file name and then searched for the file name and deleted the file. when I went back into HL the 2nd one was gone.
--how do I delete an old entry with a different unique ID?--
So I didn't think that changing the Unique ID on the "Magic->Metamagic-> new version of Elemental spell acid" would be an issue, until the old one and the new one both show up in the list of options and I can't figure out how to delete the old one (I thought when I changed the unique ID it would populate instead of create a new entry with the new ID)
Whoops...

(Also: Is this a new question and should be posted as a new one, or since its related to this particular area of HL makes it part of this thread?)
Restart HL. Once a Unique ID is compiled and placed into memory it can't be removed without a restart of HL. Once you restart the old one does not exist and does not get complied. :)
 
To have a new thing replace an old thing, go to the new version in the editor. In the right column, underneath the buttons, you should see a "Replaces Thing ID" field. Enter in the unique ID of the old thing (the one you wish to replace) there.
 
Last edited:
Back
Top