mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-17 05:47:14 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
12
trunk/spells/sp_daylightB.nss
Normal file
12
trunk/spells/sp_daylightB.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
///////////////////////////////////////////////////////
|
||||
// Daylignt On Exit
|
||||
// sp_daylightB.nss
|
||||
///////////////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
object oTarget = GetExitingObject();
|
||||
int nLight = GetLocalInt(oTarget, "PRCInLight");
|
||||
nLight--;
|
||||
SetLocalInt(oTarget, "PRCInLight", nLight);
|
||||
}
|
||||
Reference in New Issue
Block a user