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/instances/Pailaka/PailakaSongOfIceAndFire.java

    r8406 r8630  
    2929import com.l2jserver.gameserver.model.zone.L2ZoneType; 
    3030import com.l2jserver.gameserver.network.SystemMessageId; 
    31 import com.l2jserver.gameserver.network.serverpackets.SystemMessage; 
    3231import com.l2jserver.util.Rnd; 
    3332 
     
    156155                        if (world.templateId != INSTANCE_ID) 
    157156                        { 
    158                                 player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.ALREADY_ENTERED_ANOTHER_INSTANCE_CANT_ENTER)); 
     157                                player.sendPacket(SystemMessageId.ALREADY_ENTERED_ANOTHER_INSTANCE_CANT_ENTER); 
    159158                                return; 
    160159                        } 
     
    165164                } 
    166165                //New instance 
    167                 else 
    168                 { 
    169                         final int instanceId = InstanceManager.getInstance().createDynamicInstance("PailakaSongOfIceAndFire.xml"); 
    170                          
    171                         world = new InstanceWorld(); 
    172                         world.instanceId = instanceId; 
    173                         world.templateId = INSTANCE_ID; 
    174                         InstanceManager.getInstance().addWorld(world); 
    175                          
    176                         world.allowed.add(player.getObjectId()); 
    177                         teleportPlayer(player, TELEPORT, instanceId); 
    178                 } 
     166                final int instanceId = InstanceManager.getInstance().createDynamicInstance("PailakaSongOfIceAndFire.xml"); 
     167                 
     168                world = new InstanceWorld(); 
     169                world.instanceId = instanceId; 
     170                world.templateId = INSTANCE_ID; 
     171                InstanceManager.getInstance().addWorld(world); 
     172                 
     173                world.allowed.add(player.getObjectId()); 
     174                teleportPlayer(player, TELEPORT, instanceId); 
    179175                 
    180176        } 
     
    287283                                                if (cond > 1) 
    288284                                                        return "32497-00.htm"; 
    289                                                 else 
    290                                                         return "32497-03.htm"; 
     285                                                return "32497-03.htm"; 
    291286                                        case State.COMPLETED: 
    292287                                                return "32497-07.htm"; 
     
    297292                                if (cond > 1) 
    298293                                        return "32500-00.htm"; 
    299                                 else 
    300                                         return "32500-01.htm"; 
     294                                return "32500-01.htm"; 
    301295                        case INSPECTOR: 
    302296                                switch (st.getInt("cond")) 
     
    435429                } 
    436430                 
     431                @Override 
    437432                public void run() 
    438433                { 
Note: See TracChangeset for help on using the changeset viewer.