15 lines
383 B
Plaintext
15 lines
383 B
Plaintext
// Slave set free
|
|
#include "hos_alignment"
|
|
void main()
|
|
{
|
|
object oPC=GetPCSpeaker();
|
|
object oMod=GetModule();
|
|
int nEP=GetLocalInt(oMod,"nEvilPower");
|
|
nEP=nEP-2;
|
|
if (nEP<1) nEP=0;
|
|
SetLocalInt(oMod,"nEvilPower",nEP);
|
|
AdjustAlignmentPartyProtected(oPC,ALIGNMENT_LAWFUL,5);
|
|
AdjustAlignmentPartyProtected(oPC,ALIGNMENT_GOOD,1);
|
|
DestroyObject(OBJECT_SELF,5.0);
|
|
}
|