• 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

Duplicate Spell Description

talsharien

Well-known member
I am creating a variation of an existing spell, Cure Light Wounds.

I create my variant and replace the original id (including making multiple versions of the spell to cover different caster levels for ranger etc) and it works with no problem, except that the description of the spell appears twice in the text.

This does not happen when I have created a custom spell which does not replace an existing spell so I assume that the problem lies there somewhere, any ideas ?
 
Add a script to your spell that deletes the SpInfo tag on that spell that is for the original Id - leave the one that's for the new Id in place. The description procedure looks for SpInfo tags other than the item's own and adds the text of that spell to the description of this one (that way, you don't have to re-type Restoration's description text when entering the text for Lesser Restoration (I'm not looking at the book right now, so that might be backwards)).

Replacement items get all the Identity tags from both themselves and the thing they replace, so it makes it look like an additional SpInfo tag was added.
 
To build upon this Feats do the same exact thing now. :( Whats worse is that when any other ability has two "SpInfo.?" tags they do NOT gain both spell affects anymore. I will need to report that as a bug.

Which tag is causing this on Feats? I assume "IsFeat.?".
 
Thats excelent guys thanks, I did not realise ther desc procedure ran in that way.

And the feats duplicate was my next question so I can shelve that for now as well

:)
 
IS there any chance that someone could give an example as to how to delete the SPInfo tag with a script as I am at a loss.
 
Pre-Levels/10000
Code:
perform delete[SpInfo.spSleep1]

replacing "spSleep1" with the Id of the spell whose tag you want to delete.

(and actually, the timing is very flexible - I just gave you a recommendation if this code is in its own script. If you need to script anything else on this spell, you can throw that line of code into whatever scripts you need).
 
Pre-Levels/10000
Code:
perform delete[SpInfo.spSleep1]

replacing "spSleep1" with the Id of the spell whose tag you want to delete.

(and actually, the timing is very flexible - I just gave you a recommendation if this code is in its own script. If you need to script anything else on this spell, you can throw that line of code into whatever scripts you need).
This is a nice work around but any ETA when the "official" fix will be out for this issue. Its not just spells as it affects 'every' Thing that does a Replaces Thing ID in pathfinder now.
 
Pre-Levels/10000
Code:
perform delete[SpInfo.spSleep1]

replacing "spSleep1" with the Id of the spell whose tag you want to delete.

(and actually, the timing is very flexible - I just gave you a recommendation if this code is in its own script. If you need to script anything else on this spell, you can throw that line of code into whatever scripts you need).

Newb question here: I'm finding the same issue with some mundane equipment. Double description. I'm trying to make the same fix work but I can't figure out what the tag type is for an item description. How does one figure that out?

Thank you.
 
I'm seeing a variation of this where my own SpInfo text is appearing twice.

Here's a screenshot.

There's a wrinkle here that might be causing the issue. The same spell is already replaced by the Frog God Games data set. Could that be the reason?

I've been fumbling around with replacing SpInfo. as described above but to no avail as yet:

Code:
    <eval phase="PreLevel" priority="10000">perform delete[SpInfo.spZEndElem]</eval>
    <eval phase="PreLevel" priority="10001" index="2">perform delete[SpInfo.spEnduEle1]</eval>
    <eval phase="PreLevel" priority="10002" index="3">perform delete[SpInfo.spFGEndEl1]</eval>

Thoughts?
 
For spells there is no good reason to use Replace Thing ID anymore. My advice is to remove the Replace Thing ID. If you are trying to get a "new" class to have access to a core spell its better to use the General->*Extend Thing tab to add a sClass tab to the spell. Your duplicate spell issue is fixed and any future changes/updates to the Spells that LW does will be available to you.
 
Back
Top