Moved Jayce spawn to event config.
This commit is contained in:
		| @@ -18,7 +18,6 @@ package events.EveTheFortuneTeller; | ||||
|  | ||||
| import org.l2jmobius.gameserver.enums.ChatType; | ||||
| import org.l2jmobius.gameserver.enums.LuckyGameType; | ||||
| import org.l2jmobius.gameserver.model.Location; | ||||
| import org.l2jmobius.gameserver.model.actor.Npc; | ||||
| import org.l2jmobius.gameserver.model.actor.Player; | ||||
| import org.l2jmobius.gameserver.model.quest.LongTimeEvent; | ||||
| @@ -41,7 +40,6 @@ public class EveTheFortuneTeller extends LongTimeEvent | ||||
| 	private static final int FORTUNE_READING_TICKET = 23767; | ||||
| 	private static final int LUXURY_FORTUNE_READING_TICKET = 23768; | ||||
| 	// Misc | ||||
| 	private static final Location JAYCE_SPAWN = new Location(148090, 26644, -2209, 16383); | ||||
| 	private static final NpcStringId[] JAYCE_TEXT = | ||||
| 	{ | ||||
| 		NpcStringId.I_LOOK_WEST, | ||||
| @@ -55,10 +53,6 @@ public class EveTheFortuneTeller extends LongTimeEvent | ||||
| 		addFirstTalkId(EVE); | ||||
| 		addTalkId(EVE); | ||||
| 		addSpawnId(JAYCE); | ||||
| 		if (isEventPeriod()) | ||||
| 		{ | ||||
| 			addSpawn(JAYCE, JAYCE_SPAWN, false, 0); | ||||
| 		} | ||||
| 	} | ||||
| 	 | ||||
| 	@Override | ||||
|   | ||||
| @@ -1,6 +1,8 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <event name="Eve the Fortune Teller" active="11 11 1015-18 12 2015" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd"> | ||||
| 	<spawnlist> | ||||
| 		<!-- Jayce --> | ||||
| 		<add npc="8540" x="148090" y="26644" z="-2209" heading="16383" /> <!-- Aden --> | ||||
| 		<!-- Eve --> | ||||
| 		<add npc="8542" x="-114178" y="255031" z="-1538" heading="16383" /> <!-- Talking Island --> | ||||
| 		<add npc="8542" x="-82484" y="153527" z="-3168" heading="32767" /> <!-- Gludin --> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment