Ignore:
Timestamp:
Jan 16, 2012 7:56:19 AM (4 months ago)
Author:
MELERIX
Message:

STABLE: Sync with BETA [8629]

Location:
trunk/L2J_DataPack
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/L2J_DataPack

  • trunk/L2J_DataPack/dist/game/data/scripts/teleports/TeleportWithCharm/TeleportWithCharm.java

    r8406 r8630  
    2121 
    2222/** 
    23  * @author Plim 
    24  * Original python script by DraX 
     23 * @author Plim Original python script by DraX 
    2524 */ 
    2625public class TeleportWithCharm extends Quest 
    2726{ 
    28         //NPCs 
     27        // NPCs 
    2928        private final static int WHIRPY = 30540; 
    3029        private final static int TAMIL = 30576; 
    3130         
    32         //ITEMS 
     31        // ITEMS 
    3332        private final static int ORC_GATEKEEPER_CHARM = 1658; 
    3433        private final static int DWARF_GATEKEEPER_TOKEN = 1659; 
     
    4645                { 
    4746                        case WHIRPY: 
     47                        { 
    4848                                if (st.hasQuestItems(DWARF_GATEKEEPER_TOKEN)) 
    4949                                { 
    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); 
    5267                                        st.exitQuest(true); 
    5368                                } 
     
    5873                                } 
    5974                                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                        } 
    7376                } 
    7477                 
    7578                return htmltext; 
    7679        } 
    77  
     80         
    7881        public TeleportWithCharm(int questId, String name, String descr) 
    7982        { 
Note: See TracChangeset for help on using the changeset viewer.