LoD_PRC8/_module/nss/element_lord_spa.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

15 lines
473 B
Plaintext

void main()
{
object oPC = GetEnteringObject(),oFire,oCold,oElec;
oFire = GetObjectByTag("FireLoc");
oCold = GetObjectByTag("ColdLoc");
oElec = GetObjectByTag("ElecLoc");
if(GetIsPC(oPC))
{
CreateObject(OBJECT_TYPE_CREATURE,"sparkoslordoflig",GetLocation(oElec),TRUE);
CreateObject(OBJECT_TYPE_CREATURE,"periathoslordoff",GetLocation(oFire),TRUE);
CreateObject(OBJECT_TYPE_CREATURE,"glaciliuslordofi",GetLocation(oCold),TRUE);
}
DestroyObject(OBJECT_SELF);
}