PRC8/nwn/nwnprc/trunk/ocfixerf/M1S3CMakeWood.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

20 lines
520 B
Plaintext

#include "prc_inc_castlvl"
void main()
{
object oPC = GetLastOpenedBy();
if(!GetIsObjectValid(GetItemPossessedBy(OBJECT_SELF, "M1S03IKINDLING"))
&& !GetIsObjectValid(GetItemPossessedBy(oPC, "M1S03IKINDLING")))
{
int i, nClass;
for(i = 1; i <= 3; i++)
{
nClass = GetClassByPosition(i, oPC);
if(GetIsArcaneClass(nClass))
{
CreateItemOnObject("M1S03IKINDLING", OBJECT_SELF);
return;
}
}
}
}