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:
19
trunk/scripts/codi_s0_implcfo1.nss
Normal file
19
trunk/scripts/codi_s0_implcfo1.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Implicable Foe - On Enter
|
||||
*/
|
||||
void main()
|
||||
{
|
||||
object oCreator = GetAreaOfEffectCreator(OBJECT_SELF);
|
||||
object oEnter = GetEnteringObject();
|
||||
if(GetIsFriend(oEnter, oCreator))
|
||||
{
|
||||
if(oEnter != oCreator)
|
||||
{
|
||||
if(!GetImmortal(oEnter))
|
||||
{
|
||||
SetImmortal(oEnter, TRUE);
|
||||
SetLocalInt(oEnter, "IMPLICABLE_FOE_ON", TRUE);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user