PRC8/nwn/nwnprc/trunk/ocfixerf/m0q01a08kettsck3.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

23 lines
897 B
Plaintext

// Added compatibility for PRC base classes
// classes with disable trap or open lock skills should take this test
#include "inc_debug"
#include "prc_class_const"
int StartingConditional()
{
if(DEBUG) DoDebug("m0q01a08kettsck3 running");
object oPC = GetPCSpeaker();
int bCondition = GetLocalInt(OBJECT_SELF, "NW_L_TALKLEVEL") == 1
&& !GetIsObjectValid(GetItemPossessedBy(oPC,"NW_ROGUE_ITEM"))
&& (GetLevelByClass(CLASS_TYPE_ARTIFICER, oPC)
|| GetLevelByClass(CLASS_TYPE_BARD, oPC)
|| GetLevelByClass(CLASS_TYPE_BEGUILER, oPC)
|| GetLevelByClass(CLASS_TYPE_NINJA, oPC)
|| GetLevelByClass(CLASS_TYPE_ROGUE, oPC)
|| GetLevelByClass(CLASS_TYPE_PSYCHIC_ROGUE, oPC)
|| GetLevelByClass(CLASS_TYPE_SCOUT, oPC));
return bCondition;
}