Changeset 8630 for trunk/L2J_DataPack/dist/game/data/scripts/teleports/TeleportWithCharm/TeleportWithCharm.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/TeleportWithCharm/TeleportWithCharm.java (modified) (3 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/TeleportWithCharm/TeleportWithCharm.java
r8406 r8630 21 21 22 22 /** 23 * @author Plim 24 * Original python script by DraX 23 * @author Plim Original python script by DraX 25 24 */ 26 25 public class TeleportWithCharm extends Quest 27 26 { 28 // NPCs27 // NPCs 29 28 private final static int WHIRPY = 30540; 30 29 private final static int TAMIL = 30576; 31 30 32 // ITEMS31 // ITEMS 33 32 private final static int ORC_GATEKEEPER_CHARM = 1658; 34 33 private final static int DWARF_GATEKEEPER_TOKEN = 1659; … … 46 45 { 47 46 case WHIRPY: 47 { 48 48 if (st.hasQuestItems(DWARF_GATEKEEPER_TOKEN)) 49 49 { 50 st.takeItems(DWARF_GATEKEEPER_TOKEN,1); 51 st.getPlayer().teleToLocation(-80826,149775,-3043); 50 st.takeItems(DWARF_GATEKEEPER_TOKEN, 1); 51 st.getPlayer().teleToLocation(-80826, 149775, -3043); 52 st.exitQuest(true); 53 } 54 else 55 { 56 st.exitQuest(true); 57 htmltext = "30540-01.htm"; 58 } 59 break; 60 } 61 case TAMIL: 62 { 63 if (st.hasQuestItems(ORC_GATEKEEPER_CHARM)) 64 { 65 st.takeItems(ORC_GATEKEEPER_CHARM, 1); 66 st.getPlayer().teleToLocation(-80826, 149775, -3043); 52 67 st.exitQuest(true); 53 68 } … … 58 73 } 59 74 break; 60 case TAMIL: 61 if (st.hasQuestItems(ORC_GATEKEEPER_CHARM)) 62 { 63 st.takeItems(ORC_GATEKEEPER_CHARM,1); 64 st.getPlayer().teleToLocation(-80826,149775,-3043); 65 st.exitQuest(true); 66 } 67 else 68 { 69 st.exitQuest(true); 70 htmltext = "30540-01.htm"; 71 } 72 break; 75 } 73 76 } 74 77 75 78 return htmltext; 76 79 } 77 80 78 81 public TeleportWithCharm(int questId, String name, String descr) 79 82 {
Note: See TracChangeset
for help on using the changeset viewer.
