Author Topic: Priest Spells  (Read 2087 times)

Offline Ayce

  • Planewalker
  • *****
  • Posts: 26
Priest Spells
« on: August 21, 2007, 05:43:41 PM »
Can anyone tell me which file determines which spells priests know.  Aesthetically, I've always had a problem with how cleric and druic spells tend to overlap (clerics get animal summoning, druids get bless and defensive harmony, etc.).  Is there any file I can modify or some way to erase spells from priest scrolls in order to make the cleric and druid spell list more distinct from one another?

Also, I've figured out  how to enable the spell casting button for keldorn and I know how I can teach him spells, but how do
I enable a spell progression table for him (so that he acquires new spell slots as he progresses in level)?  I know Inquisitors are supposed aren't supposed to cast priest spells, I'm looking to mod this, as I believe cavaliers have to few restrictions relative to
thier benefits (and shouldn't cast spells) while Inquisitors have to many restrictions and I see no imbalance if an inquisitor can
cast a few minor spells like bless and armor of faith.

Also, aesthetically, cavaliers seem more combat oriented and less inclined to learn spells, at least that's my take on it, but I digress.................

How can I give inquisitors standard palidan spell progression?

Thanx in advance.

Offline Echon

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1945
  • Gender: Male
Re: Priest Spells
« Reply #1 on: August 22, 2007, 02:45:49 AM »
Can anyone tell me which file determines which spells priests know.  Aesthetically, I've always had a problem with how cleric and druic spells tend to overlap (clerics get animal summoning, druids get bless and defensive harmony, etc.).  Is there any file I can modify or some way to erase spells from priest scrolls in order to make the cleric and druid spell list more distinct from one another?

This is handled individually in all priest spells. There is a flag, called Priest Type in Near Infinity, which may be set to All Priests, Cleric/Paladin and Druid/Ranger.

-Echon

Offline Ayce

  • Planewalker
  • *****
  • Posts: 26
Re: Priest Spells
« Reply #2 on: August 29, 2007, 04:50:09 PM »
Thanx Echon.......................

I have another question........................

How can you assign specific priest spells to specific priest characters?  Example, Harper's Call is a spell unique to Jaheira.

Also, regarding the Palidan Inquistor/Cavalier issue........................

Does no one really know or do you guys just not want to tell me.................lol.  Seriously, I've tried three different forums and have not even gotten a reply to that specific issue (giving Keldorn standard Palidan spell progression for reasons detailed above). 

Anyway, I'd appreciate if anyone could enlighten me as to how that's done.

Thanx in advance.

Offline Echon

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1945
  • Gender: Male
Re: Priest Spells
« Reply #3 on: August 29, 2007, 05:13:34 PM »
How can you assign specific priest spells to specific priest characters?  Example, Harper's Call is a spell unique to Jaheira.

I am not a BG2 modder so I am not sure how they did it with that spell, but I know of a way to do it. In addition to the three values that I mentioned, Priest Type may be set to None, although the modding tools do not support it at the moment. Right click the Priest Type field in Near Infinity, select 'Edit as decimal' and type 000 192. Finally, add a block to the NPC's script which may look a bit like this (this example assumes it is a 3rd level spell):

Code: [Select]
IF
Global("MyUniqueSpell","GLOBAL",0)
        CheckStatGT(Myself,4,LEVEL)
InParty(Myself)
THEN
RESPONSE #100
SetGlobal("MyUniqueSpell","GLOBAL",1)
ApplySpell(Myself,MY_UNIQUE_SPELL)
END

You need a secondary spell which adds the unique spell to the NPC. For an example of how that works, take a look at any of the wizard spell scrolls.

-Echon

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: