8 lines
293 B
Plaintext
8 lines
293 B
Plaintext
|
void main()
|
||
|
{
|
||
|
SetLocalInt(GetPCSpeaker(), "TalkedAdv", TRUE);
|
||
|
if (GetLocalInt(OBJECT_SELF, "WillAttack") == 0 && GetAlignmentGoodEvil(OBJECT_SELF) == ALIGNMENT_EVIL && Random(2) == 0)
|
||
|
SetLocalInt(OBJECT_SELF, "WillAttack", 1);
|
||
|
else SetLocalInt(OBJECT_SELF, "WillAttack", 2);
|
||
|
}
|