mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2026-01-13 08:56:28 -05:00
Updated Release Archive
Updated Release Archive. Fixed Mage-killer prereqs. Removed old LETO & ConvoCC related files. Added organized spell scroll store. Fixed Gloura spellbook. Various TLK fixes. Reorganized Repo. Removed invalid user folders. Added DocGen back in.
This commit is contained in:
20
nwn/trunk/ocfixerf/M1S3CMakeFog.nss
Normal file
20
nwn/trunk/ocfixerf/M1S3CMakeFog.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "prc_inc_castlvl"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastOpenedBy();
|
||||
if(!GetIsObjectValid(GetItemPossessedBy(OBJECT_SELF, "M1S03IFOG"))
|
||||
&& !GetIsObjectValid(GetItemPossessedBy(oPC, "M1S03IFOG")))
|
||||
{
|
||||
int i, nClass;
|
||||
for(i = 1; i <= 3; i++)
|
||||
{
|
||||
nClass = GetClassByPosition(i, oPC);
|
||||
if(GetIsArcaneClass(nClass))
|
||||
{
|
||||
CreateItemOnObject("M1S03IFOG", OBJECT_SELF);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user