Examples of playSound()


Examples of lineage2.gameserver.model.quest.QuestState.playSound()

          st.playSound("ItemSound.quest_itemget");
          npc.doDie(player);
        }
        if ((st.getQuestItemsCount(EnergyOfFire) >= 5))
        {
          st.playSound(SOUND_MIDDLE);
          st.setCond(11);
        }
    }
  }
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.playSound()

        }
      }
      else if ((st.getCond() == 4) || (st.getCond() == 5))
      {
        st.setCond(7);
        st.playSound(SOUND_MIDDLE);
        st.getPlayer().getReflection().addSpawnWithoutRespawn(husk, new Location(-115029, 247884, -7872, 0), 0);
        st.getPlayer().getReflection().addSpawnWithoutRespawn(husk, new Location(-114921, 248281, -7872, 0), 0);
        st.getPlayer().getReflection().addSpawnWithoutRespawn(husk, new Location(-114559, 248661, -7872, 0), 0);
        st.getPlayer().getReflection().addSpawnWithoutRespawn(husk, new Location(-114148, 248416, -7872, 0), 0);
        if (!player.isMageClass() || (player.getTemplate().getRace() == Race.orc))
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.playSound()

              {
                QuestState qs = member.getQuestState(getClass());
                if ((qs != null) && qs.isStarted())
                {
                  qs.giveItems(FragmentOfTheDungeonLeaderMark, RewardMarksCount / party.getMemberCount());
                  qs.playSound(SOUND_ITEMGET);
                  qs.getPlayer().sendPacket(new SystemMessage(SystemMessage.THIS_DUNGEON_WILL_EXPIRE_IN_S1_MINUTES).addNumber(5));
                }
              }
            }
            else
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.playSound()

              {
                QuestState qs = member.getQuestState(getClass());
                if ((qs != null) && qs.isStarted())
                {
                  qs.giveItems(DungeonLeaderMark, RewardMarksCount / party.getMemberCount());
                  qs.playSound(SOUND_ITEMGET);
                  qs.getPlayer().sendPacket(new SystemMessage(SystemMessage.THIS_DUNGEON_WILL_EXPIRE_IN_S1_MINUTES).addNumber(5));
                }
              }
            }
            else
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.playSound()

      return null;
    }
    if (Rnd.chance(_chance))
    {
      st.giveItems(Rnd.chance(Urn_Chance) ? Ancient_Ash_Urn : Ancient_Porcelain, 1);
      st.playSound(SOUND_ITEMGET);
    }
    return null;
  }
 
  @Override
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.playSound()

        {
          QuestState pst = partyMember.getQuestState("_472_ChallengeSteamCorridor");
          if ((pst != null) && (pst.isStarted()))
          {
            pst.setCond(2);
            pst.playSound(SOUND_MIDDLE);
            partyMember.sendPacket(new ExQuestNpcLogList(st));
          }
        }
      }
      else
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.playSound()

        {
          QuestState pst = partyMember.getQuestState("_473_InTheCoralGarden");
          if ((pst != null) && (pst.isStarted()))
          {
            pst.setCond(2);
            pst.playSound(SOUND_MIDDLE);
            partyMember.sendPacket(new ExQuestNpcLogList(st));
          }
        }
      }
      else
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.playSound()

        {
          QuestState pst = partyMember.getQuestState("_471_BreakingThroughTheEmeraldSquare");
          if ((pst != null) && (pst.isStarted()))
          {
            pst.setCond(2);
            pst.playSound(SOUND_MIDDLE);
            partyMember.sendPacket(new ExQuestNpcLogList(st));
          }
        }
      }
      else
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.playSound()

        {
          QuestState st = p.getQuestState(_10338_SeizeYourDestiny.class);
          if(st != null)
          {
            st.setCond(3);
            st.playSound(Quest.SOUND_MIDDLE);
          }
        }
        ((HarnakUndergroundRuins) r).successEndInstance();
      }
    }
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.playSound()

            QuestState pst = pmember.getQuestState(_149_PrimalMotherIstina.class);
            if ((pst != null) && (pst.getCond() == 1))
            {
              pst.setCond(2);
              pst.giveItems(_ShilensMark, 1);
              pst.playSound("SOUND_MIDDLE");
            }
          }
        }
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.