Thread: Spell Description
-
February 5th, 2008, 22:53 #1
- Join Date
- Feb 2007
- Posts
- 20
Spell Description
Okay. I must have broke something playing around with the Spell Module. Not sure what. Hopefully someone can point me in the right direction. Some spells have links in their description to other spells (like Arcane Sight, Greater). Normally, when you click on the link it will open the description to that spell. Now, when I click the link it opens up a "New Spell" sheet like I am adding a new spell. Anyone know what I might have broke?
-
February 8th, 2008, 14:49 #2
- Join Date
- Feb 2007
- Posts
- 20
Can no one help me? Give me a clue? What is the system looking at when I click a link? I've obviously made it go boom, I just don't know how to fix it.
-
February 8th, 2008, 17:47 #3
Can you provide more information? If you are unsure of what you did its hard to diagnose. It sounds like the links are completely broken thus why it cant find the spell and brings up the new spell entry.
-
February 28th, 2008, 17:40 #4
- Join Date
- Oct 2005
- Posts
- 193
Here is how you link in a spell:
Code:<linklist><link type="windowreference" class="spelldesc" recordname="spelldesc.aid@d20 Spells"><i>Aid</i></link></linklist>
If you are trying to link to custom spells, it's more like this:
Code:<linklist><link type="windowreference" class="spelldesc" recordname="scompdesc.align_fang@Spell Compendium"><i>Align Fang</i></link></linklist>
Type should always be "windowreference", and class (for spell links) should always be "spelldesc".
The recordname is dependant on how you've setup your spell database. Basically, it's a path starting one nesting level below "root". So if your spell database looks like:
Code:<root> <library> <customspells static="true"> <name type="string">Custom Spells</name> </customspells> </library> <myspells static="true"> <my_first_spell> ... </my_first_spell> </myspells> </root>
Does that make sense?-Bumamgar
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks