Changeset 8630 for trunk/L2J_DataPack/dist/game/data/scripts/teleports/TeleportToRaceTrack/TeleportToRaceTrack.java
- Timestamp:
- Jan 16, 2012 7:56:19 AM (4 months ago)
- Location:
- trunk/L2J_DataPack
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
dist/game/data/scripts/teleports/TeleportToRaceTrack/TeleportToRaceTrack.java (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/L2J_DataPack
- Property svn:mergeinfo changed
/branches/unstable/L2J_DataPack_BETA merged: 8407-8426,8428-8480,8482-8491,8493-8588,8590-8629
- Property svn:mergeinfo changed
-
trunk/L2J_DataPack/dist/game/data/scripts/teleports/TeleportToRaceTrack/TeleportToRaceTrack.java
r8406 r8630 19 19 import javolution.util.FastMap; 20 20 21 import com.l2jserver.gameserver.model.Location; 21 22 import com.l2jserver.gameserver.model.actor.L2Npc; 22 23 import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; … … 27 28 28 29 /** 29 * @author Plim 30 * Original python script by DraX & updated by DrLecter 30 * @author Plim Original python script by DraX & updated by DrLecter 31 31 */ 32 32 public class TeleportToRaceTrack extends Quest … … 36 36 private static final Map<Integer, Integer> TELEPORTERS = new FastMap<Integer, Integer>(); 37 37 38 private static final int[][] RETURN_LOCS =38 private static final Location[] RETURN_LOCS = 39 39 { 40 {-80826, 149775, -3043},41 {-12672, 122776, -3116},42 {15670, 142983, -2705},43 {83400, 147943, -3404},44 {111409, 219364, -3545},45 {82956, 53162, -1495},46 {146331, 25762, -2018},47 {116819, 76994, -2714},48 {43835, -47749, -792},49 {147930, -55281, -2728},50 {87386, -143246, -1293},51 {12882, 181053, -3560}40 new Location(-80826, 149775, -3043), 41 new Location(-12672, 122776, -3116), 42 new Location(15670, 142983, -2705), 43 new Location(83400, 147943, -3404), 44 new Location(111409, 219364, -3545), 45 new Location(82956, 53162, -1495), 46 new Location(146331, 25762, -2018), 47 new Location(116819, 76994, -2714), 48 new Location(43835, -47749, -792), 49 new Location(147930, -55281, -2728), 50 new Location(87386, -143246, -1293), 51 new Location(12882, 181053, -3560) 52 52 }; 53 53 … … 75 75 if (return_id < 13) 76 76 { 77 st.getPlayer().teleToLocation(RETURN_LOCS[return_id] [0], RETURN_LOCS[return_id][1], RETURN_LOCS[return_id][2]);77 st.getPlayer().teleToLocation(RETURN_LOCS[return_id], false); 78 78 st.unset("id"); 79 79 } … … 96 96 super(questId, name, descr); 97 97 98 TELEPORTERS.put(30059, 3); // TRISHA99 TELEPORTERS.put(30080, 4); // CLARISSA100 TELEPORTERS.put(30177, 6); // VALENTIA101 TELEPORTERS.put(30233, 8); // ESMERALDA102 TELEPORTERS.put(30256, 2); // BELLA103 TELEPORTERS.put(30320, 1); // RICHLIN104 TELEPORTERS.put(30848, 7); // ELISA105 TELEPORTERS.put(30899, 5); // FLAUEN106 TELEPORTERS.put(31320, 9); // ILYANA107 TELEPORTERS.put(31275, 10); // TATIANA108 TELEPORTERS.put(31964, 11); // BILIA109 TELEPORTERS.put(31210, 12); // RACE TRACK GK98 TELEPORTERS.put(30059, 3); // TRISHA 99 TELEPORTERS.put(30080, 4); // CLARISSA 100 TELEPORTERS.put(30177, 6); // VALENTIA 101 TELEPORTERS.put(30233, 8); // ESMERALDA 102 TELEPORTERS.put(30256, 2); // BELLA 103 TELEPORTERS.put(30320, 1); // RICHLIN 104 TELEPORTERS.put(30848, 7); // ELISA 105 TELEPORTERS.put(30899, 5); // FLAUEN 106 TELEPORTERS.put(31320, 9); // ILYANA 107 TELEPORTERS.put(31275, 10); // TATIANA 108 TELEPORTERS.put(31964, 11); // BILIA 109 TELEPORTERS.put(31210, 12); // RACE TRACK GK 110 110 111 111 for (int npcId : TELEPORTERS.keySet()) … … 116 116 117 117 addStartNpc(RACE_MANAGER); 118 addTalkId(RACE_MANAGER);118 addTalkId(RACE_MANAGER); 119 119 } 120 120
Note: See TracChangeset
for help on using the changeset viewer.
