37 lines
733 B
Plaintext
37 lines
733 B
Plaintext
//tabbo
|
|
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))
|
|
return;
|
|
|
|
object oTarget;
|
|
object oSpawn;
|
|
location lTarget;
|
|
oTarget = GetWaypointByTag("wp_raven_01");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "raven001", lTarget);
|
|
|
|
oTarget = GetWaypointByTag("wp_raven_02");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "raven001", lTarget);
|
|
|
|
oTarget = GetWaypointByTag("wp_raven_03");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "raven001", lTarget);
|
|
|
|
}
|
|
|