Anphillia Exodus

NWN 1 Faction roleplay PW using CEP v2.3
 
HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  

Share
 

 Pale Master SR

Go down 
AuthorMessage
Lollypop Guildmaster



Join date : 2009-06-01
Age : 33
Location : In the trees.

Pale Master SR Empty
PostSubject: Pale Master SR   Pale Master SR Icon_minitimeWed Apr 13, 2011 7:02 pm

Quote :
If the PM has more PM Levels than Caster Levels and have the Epic Spell Penetration-feat, they will ignore the Targets Spell Resistance when casting spells of the Necromancy School. Immunities still apply.

Not sure how the calculation works on this, but it stops working some of the time. Specifically, at Wiz 10/PM 21, and at Wiz 10/PM 25, it's as if I have no spell penetration at all. The rest of the time it seems to work just fine.
Back to top Go down
View user profile
Thonil
Staff
Thonil

Join date : 2009-04-29
Location : UK

Pale Master SR Empty
PostSubject: Re: Pale Master SR   Pale Master SR Icon_minitimeThu Apr 14, 2011 12:45 am

Code:
void MothSetIsPMCaster(object oPC)
{
  int nPM = GetLevelByClass(CLASS_TYPE_PALEMASTER,oPC);
  int nCaster = GetCasterLevel(oPC);
  if(nPM>nCaster &&
  GetHasFeat(FEAT_EPIC_SPELL_PENETRATION,oPC)
  )
  {
    SetLocalInt(oPC,"MOTHISPMCASTER",TRUE);
  }
  else
  {
    DeleteLocalInt(oPC,"MOTHISPMCASTER");
  }
}

I managed to dig out this after a hell of alot of rummaging around.

It's called at login, death + level up. It looks sound to me, although GetCasterLevel seems to me to be a slightly erratic function for this. (And is slightly abuseable)

Quote :
// Get the level at which this creature cast it's last spell (or spell-like ability)
// * Return value on error, or if oCreature has not yet cast a spell: 0;
int GetCasterLevel(object oCreature)

That said, it should work fine. Any specific spell it doesn't work with? Or is it everything necro?

_________________
Anphillia Exodus; Gameworld Page - Vote nicely!

Pale Master SR Rann_siggy
Back to top Go down
View user profile
Lollypop Guildmaster



Join date : 2009-06-01
Age : 33
Location : In the trees.

Pale Master SR Empty
PostSubject: Re: Pale Master SR   Pale Master SR Icon_minitimeThu Apr 14, 2011 7:20 am

All I had memorized at the time(s) were necromancy spells, so I can't say for other schools. But all my necromancy spells indeed got resisted.
Back to top Go down
View user profile
Thonil
Staff
Thonil

Join date : 2009-04-29
Location : UK

Pale Master SR Empty
PostSubject: Re: Pale Master SR   Pale Master SR Icon_minitimeThu Apr 14, 2011 11:08 am

I'll keep poking about!

It's sure to be beneath some dark rock, under a moth... it's just a matter of finding which one!

_________________
Anphillia Exodus; Gameworld Page - Vote nicely!

Pale Master SR Rann_siggy
Back to top Go down
View user profile
Sponsored content




Pale Master SR Empty
PostSubject: Re: Pale Master SR   Pale Master SR Icon_minitime

Back to top Go down
 
Pale Master SR
Back to top 
Page 1 of 1
 Similar topics
-
» Looking for a master room
» Master Room for Rent!!!! Move in 1st of July 2012
» Master and Medium room for rent available June 2011
» WTR master room available as soon as possible!!!!
» Looking for a master room and a big medium room in one unit.

Permissions in this forum:You cannot reply to topics in this forum
Anphillia Exodus :: Anphillia OOC Forum :: Bug Reports-
Jump to: