Spawn once Altar of Shilen groups.

This commit is contained in:
MobiusDevelopment 2020-03-31 09:00:58 +00:00
parent bfb0b42e9d
commit 51e53be08f
16 changed files with 88 additions and 24 deletions

View File

@ -255,7 +255,7 @@
<!-- 2st floor boss -->
<npc id="25858" x="178154" y="15149" z="-10744" heading="15626" /> <!-- Corrupted High Priest -->
</group>
<group name="thrid_floor" spawnByDefault="false">
<group name="third_floor" spawnByDefault="false">
<npc id="8561" x="181547" y="14035" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182615" y="14779" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182122" y="15470" z="-12992" heading="0" /> <!-- invisible1 -->

View File

@ -220,8 +220,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(SECOND_FLOOR, world.getTemplateId());
}
world.spawnGroup("second_floor");
});
if (!world.getParameters().getBoolean("second_floor_spawned", false))
{
world.setParameter("second_floor_spawned", true);
world.spawnGroup("second_floor");
}
}
break;
}
@ -235,8 +239,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(THIRD_FLOOR, world.getTemplateId());
}
world.spawnGroup("thrid_floor");
});
if (!world.getParameters().getBoolean("third_floor_spawned", false))
{
world.setParameter("third_floor_spawned", true);
world.spawnGroup("third_floor");
}
}
break;
}

View File

@ -255,7 +255,7 @@
<!-- 2st floor boss -->
<npc id="25858" x="178154" y="15149" z="-10744" heading="15626" /> <!-- Corrupted High Priest -->
</group>
<group name="thrid_floor" spawnByDefault="false">
<group name="third_floor" spawnByDefault="false">
<npc id="8561" x="181547" y="14035" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182615" y="14779" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182122" y="15470" z="-12992" heading="0" /> <!-- invisible1 -->

View File

@ -220,8 +220,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(SECOND_FLOOR, world.getTemplateId());
}
world.spawnGroup("second_floor");
});
if (!world.getParameters().getBoolean("second_floor_spawned", false))
{
world.setParameter("second_floor_spawned", true);
world.spawnGroup("second_floor");
}
}
break;
}
@ -235,8 +239,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(THIRD_FLOOR, world.getTemplateId());
}
world.spawnGroup("thrid_floor");
});
if (!world.getParameters().getBoolean("third_floor_spawned", false))
{
world.setParameter("third_floor_spawned", true);
world.spawnGroup("third_floor");
}
}
break;
}

View File

@ -255,7 +255,7 @@
<!-- 2st floor boss -->
<npc id="25858" x="178154" y="15149" z="-10744" heading="15626" /> <!-- Corrupted High Priest -->
</group>
<group name="thrid_floor" spawnByDefault="false">
<group name="third_floor" spawnByDefault="false">
<npc id="8561" x="181547" y="14035" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182615" y="14779" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182122" y="15470" z="-12992" heading="0" /> <!-- invisible1 -->

View File

@ -220,8 +220,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(SECOND_FLOOR, world.getTemplateId());
}
world.spawnGroup("second_floor");
});
if (!world.getParameters().getBoolean("second_floor_spawned", false))
{
world.setParameter("second_floor_spawned", true);
world.spawnGroup("second_floor");
}
}
break;
}
@ -235,8 +239,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(THIRD_FLOOR, world.getTemplateId());
}
world.spawnGroup("thrid_floor");
});
if (!world.getParameters().getBoolean("third_floor_spawned", false))
{
world.setParameter("third_floor_spawned", true);
world.spawnGroup("third_floor");
}
}
break;
}

View File

@ -255,7 +255,7 @@
<!-- 2st floor boss -->
<npc id="25858" x="178154" y="15149" z="-10744" heading="15626" /> <!-- Corrupted High Priest -->
</group>
<group name="thrid_floor" spawnByDefault="false">
<group name="third_floor" spawnByDefault="false">
<npc id="8561" x="181547" y="14035" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182615" y="14779" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182122" y="15470" z="-12992" heading="0" /> <!-- invisible1 -->

View File

@ -221,8 +221,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(SECOND_FLOOR, world.getTemplateId());
}
world.spawnGroup("second_floor");
});
if (!world.getParameters().getBoolean("second_floor_spawned", false))
{
world.setParameter("second_floor_spawned", true);
world.spawnGroup("second_floor");
}
}
break;
}
@ -236,8 +240,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(THIRD_FLOOR, world.getTemplateId());
}
world.spawnGroup("thrid_floor");
});
if (!world.getParameters().getBoolean("third_floor_spawned", false))
{
world.setParameter("third_floor_spawned", true);
world.spawnGroup("third_floor");
}
}
break;
}

View File

@ -255,7 +255,7 @@
<!-- 2st floor boss -->
<npc id="25858" x="178154" y="15149" z="-10744" heading="15626" /> <!-- Corrupted High Priest -->
</group>
<group name="thrid_floor" spawnByDefault="false">
<group name="third_floor" spawnByDefault="false">
<npc id="8561" x="181547" y="14035" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182615" y="14779" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182122" y="15470" z="-12992" heading="0" /> <!-- invisible1 -->

View File

@ -221,8 +221,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(SECOND_FLOOR, world.getTemplateId());
}
world.spawnGroup("second_floor");
});
if (!world.getParameters().getBoolean("second_floor_spawned", false))
{
world.setParameter("second_floor_spawned", true);
world.spawnGroup("second_floor");
}
}
break;
}
@ -236,8 +240,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(THIRD_FLOOR, world.getTemplateId());
}
world.spawnGroup("thrid_floor");
});
if (!world.getParameters().getBoolean("third_floor_spawned", false))
{
world.setParameter("third_floor_spawned", true);
world.spawnGroup("third_floor");
}
}
break;
}

View File

@ -255,7 +255,7 @@
<!-- 2st floor boss -->
<npc id="25858" x="178154" y="15149" z="-10744" heading="15626" /> <!-- Corrupted High Priest -->
</group>
<group name="thrid_floor" spawnByDefault="false">
<group name="third_floor" spawnByDefault="false">
<npc id="8561" x="181547" y="14035" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182615" y="14779" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182122" y="15470" z="-12992" heading="0" /> <!-- invisible1 -->

View File

@ -221,8 +221,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(SECOND_FLOOR, world.getTemplateId());
}
world.spawnGroup("second_floor");
});
if (!world.getParameters().getBoolean("second_floor_spawned", false))
{
world.setParameter("second_floor_spawned", true);
world.spawnGroup("second_floor");
}
}
break;
}
@ -236,8 +240,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(THIRD_FLOOR, world.getTemplateId());
}
world.spawnGroup("thrid_floor");
});
if (!world.getParameters().getBoolean("third_floor_spawned", false))
{
world.setParameter("third_floor_spawned", true);
world.spawnGroup("third_floor");
}
}
break;
}

View File

@ -255,7 +255,7 @@
<!-- 2st floor boss -->
<npc id="25858" x="178154" y="15149" z="-10744" heading="15626" /> <!-- Corrupted High Priest -->
</group>
<group name="thrid_floor" spawnByDefault="false">
<group name="third_floor" spawnByDefault="false">
<npc id="8561" x="181547" y="14035" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182615" y="14779" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182122" y="15470" z="-12992" heading="0" /> <!-- invisible1 -->

View File

@ -221,8 +221,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(SECOND_FLOOR, world.getTemplateId());
}
world.spawnGroup("second_floor");
});
if (!world.getParameters().getBoolean("second_floor_spawned", false))
{
world.setParameter("second_floor_spawned", true);
world.spawnGroup("second_floor");
}
}
break;
}
@ -236,8 +240,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(THIRD_FLOOR, world.getTemplateId());
}
world.spawnGroup("thrid_floor");
});
if (!world.getParameters().getBoolean("third_floor_spawned", false))
{
world.setParameter("third_floor_spawned", true);
world.spawnGroup("third_floor");
}
}
break;
}

View File

@ -255,7 +255,7 @@
<!-- 2st floor boss -->
<npc id="25858" x="178154" y="15149" z="-10744" heading="15626" /> <!-- Corrupted High Priest -->
</group>
<group name="thrid_floor" spawnByDefault="false">
<group name="third_floor" spawnByDefault="false">
<npc id="8561" x="181547" y="14035" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182615" y="14779" z="-12992" heading="0" /> <!-- invisible1 -->
<npc id="8561" x="182122" y="15470" z="-12992" heading="0" /> <!-- invisible1 -->

View File

@ -221,8 +221,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(SECOND_FLOOR, world.getTemplateId());
}
world.spawnGroup("second_floor");
});
if (!world.getParameters().getBoolean("second_floor_spawned", false))
{
world.setParameter("second_floor_spawned", true);
world.spawnGroup("second_floor");
}
}
break;
}
@ -236,8 +240,12 @@ public class AltarOfShilen extends AbstractInstance
{
p.teleToLocation(THIRD_FLOOR, world.getTemplateId());
}
world.spawnGroup("thrid_floor");
});
if (!world.getParameters().getBoolean("third_floor_spawned", false))
{
world.setParameter("third_floor_spawned", true);
world.spawnGroup("third_floor");
}
}
break;
}