Fixed castle teleporter waiting bypass.
Contributed by Trance.
This commit is contained in:
		| @@ -3,6 +3,6 @@ That is not possible as the Guardian Towers of Life have been destroyed.<br> | ||||
| Therefore, all of those in the room will be teleported to a position near the castle hall in 8 minutes.<br> | ||||
| Make yourself comfortable.<br> | ||||
| <center> | ||||
| <Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest CastleTeleporter teleporter-03.html">Teleport</Button> | ||||
| <Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest CastleTeleporter CastleTeleporter-06.html">Teleport</Button> | ||||
| </center> | ||||
| </body></html> | ||||
| @@ -178,7 +178,7 @@ public class CastleTeleporter extends AbstractNpcAI | ||||
| 		if (CommonUtil.contains(MASS_TELEPORTERS, npc.getId())) | ||||
| 		{ | ||||
| 			final Siege siege = npc.getCastle().getSiege(); | ||||
| 			htmltext = (npc.isScriptValue(0)) ? (siege.isInProgress() && (siege.getControlTowerCount() == 0)) ? "CastleTeleporter-05.html" : "CastleTeleporter-04.html" : "CastleTeleporter-06.html"; | ||||
| 			htmltext = npc.isScriptValue(0) ? (siege.isInProgress() && (siege.getControlTowerCount() == 0)) ? "CastleTeleporter-05.html" : "CastleTeleporter-04.html" : "CastleTeleporter-06.html"; | ||||
| 		} | ||||
| 		else if ((npc.getCastle().getOwnerId() == player.getClanId()) && (player.getClanId() != 0) && (player.getSiegeState() == 2)) // Deffender | ||||
| 		{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment