9 lines
299 B
Plaintext
9 lines
299 B
Plaintext
// Mage guild enemy
|
|
void main()
|
|
{
|
|
object oPC=GetEnteringObject();
|
|
object oNewDefender=GetNearestObjectByTag("MGS3");
|
|
if (oNewDefender==OBJECT_INVALID) oNewDefender=CreateObject(OBJECT_TYPE_CREATURE,"mageguildsentine",GetLocation(OBJECT_SELF));
|
|
AdjustReputation(oPC,oNewDefender,-100);
|
|
}
|