Initial Commit
Initial Commit
This commit is contained in:
18
_module/nss/craft_noatkenh.nss
Normal file
18
_module/nss/craft_noatkenh.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
object oItem = GetFirstItemInInventory(oPC);
|
||||
int nValue;
|
||||
while (GetIsObjectValid(oItem))
|
||||
{
|
||||
if (GetLocalInt(oItem, "Prototype") == TRUE)
|
||||
{
|
||||
if (GetLocalString(oPC, "LastProperty") == "Attack" || GetLocalString(oPC, "LastProperty") == "Enhancement"
|
||||
|| GetLocalString(oPC, "LastProperty") == "Mighty") return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
oItem = GetNextItemInInventory(oPC);
|
||||
}
|
||||
return FALSE;
|
||||
}
|
Reference in New Issue
Block a user