Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
27
_module/nss/evil_chk4.nss
Normal file
27
_module/nss/evil_chk4.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
#include "rd_questinc"
|
||||
|
||||
void SetFaction(object oPC);
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC;
|
||||
|
||||
oPC = GetPCSpeaker();
|
||||
SetPartyInt(oPC,"EvilCheck",2);
|
||||
SetPartyInt(oPC,"Evil",1);
|
||||
SetPartyInt(oPC,"EvilWait",1);
|
||||
SetFaction(oPC);
|
||||
}
|
||||
|
||||
void SetFaction(object oPC)
|
||||
{
|
||||
object oGood;
|
||||
oGood = GetObjectByTag("en3_good");
|
||||
|
||||
object oPartyMember = GetFirstFactionMember(oPC, TRUE);
|
||||
while (GetIsObjectValid(oPartyMember) == TRUE)
|
||||
{
|
||||
AdjustReputation(oPartyMember,oGood,-100);
|
||||
oPartyMember = GetNextFactionMember(oPC, TRUE);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user