Duplicate Spell Description
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] (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). |
Awesome dude, works like a charm :)
|
Quote:
|
For some reason this work around is not working when applied to the cure light wounds spell?
|
Quote:
Thank you. |
All times are GMT -8. The time now is 01:29 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.