RoT2_PRC8/_module/nss/cb_elvendar_ente.nss
Jaysyn904 499aba4eb3 Initial upload
Initial upload
2023-09-25 18:13:22 -04:00

31 lines
642 B
Plaintext

void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
if ((GetLevelByClass(CLASS_TYPE_DRUID, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_RANGER, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_HARPER, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_SHADOWDANCER, oPC)==0))
return;
object oTarget;
object oSpawn;
location lTarget;
oTarget = GetWaypointByTag("wp_falcon_01");
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "falcon", lTarget);
oTarget = GetWaypointByTag("wp_blackbear_01");
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "blackbear", lTarget);
}