Lollypop Guildmaster
Join date : 2009-06-01 Age : 39 Location : In the trees.
| Subject: Pale Master SR Wed 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. | |
|
Thonil Staff
Join date : 2009-04-29 Location : UK
| Subject: Re: Pale Master SR Thu 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? | |
|
Lollypop Guildmaster
Join date : 2009-06-01 Age : 39 Location : In the trees.
| Subject: Re: Pale Master SR Thu 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. | |
|
Thonil Staff
Join date : 2009-04-29 Location : UK
| Subject: Re: Pale Master SR Thu 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! | |
|
Sponsored content
| Subject: Re: Pale Master SR | |
| |
|