Examples of addExpAndSp()

  • com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.addExpAndSp()
  • com.l2jfrozen.gameserver.model.actor.instance.L2PetInstance.addExpAndSp()
  • l2p.gameserver.model.L2Character.addExpAndSp()
  • l2p.gameserver.model.L2Player.addExpAndSp()
    Добавляет чару опыт и/или сп с учетом личного бонуса
  • lineage2.gameserver.model.Playable.addExpAndSp()
    Method addExpAndSp. @param exp long @param sp long
  • lineage2.gameserver.model.Player.addExpAndSp()
    Method addExpAndSp. @param exp long @param sp long
  • lineage2.gameserver.model.quest.QuestState.addExpAndSp()
    Method addExpAndSp. @param exp long @param sp long
  • net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.addExpAndSp()
  • net.sf.l2j.gameserver.model.actor.instance.L2PetInstance.addExpAndSp()

  • Examples of com.l2jfrozen.gameserver.model.L2Character.addExpAndSp()

        {
          L2Character target = (L2Character) obj;
          if(target != null)
          {
            int spToAdd = (int) skill.getPower();
            target.addExpAndSp(0, spToAdd);
          }
          target = null;
        }
      }
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.addExpAndSp()

          switch(itemId)
          {
            case 8954: // Blue Primeval Crystal XML: 2306
              activeChar.sendPacket(new MagicSkillUser(playable, playable, 2306, 1, 1, 0));
              activeChar.broadcastPacket(new MagicSkillUser(playable, playable, 2306, 1, 1, 0));
              activeChar.addExpAndSp(0, 50000);
              break;
            case 8955: // Green Primeval Crystal XML: 2306
              activeChar.sendPacket(new MagicSkillUser(playable, playable, 2306, 2, 1, 0));
              activeChar.broadcastPacket(new MagicSkillUser(playable, playable, 2306, 2, 1, 0));
              activeChar.addExpAndSp(0, 100000);
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.addExpAndSp()

              activeChar.addExpAndSp(0, 50000);
              break;
            case 8955: // Green Primeval Crystal XML: 2306
              activeChar.sendPacket(new MagicSkillUser(playable, playable, 2306, 2, 1, 0));
              activeChar.broadcastPacket(new MagicSkillUser(playable, playable, 2306, 2, 1, 0));
              activeChar.addExpAndSp(0, 100000);
              break;
            case 8956: // Red Primeval Crystal XML: 2306
              activeChar.sendPacket(new MagicSkillUser(playable, playable, 2306, 3, 1, 0));
              activeChar.broadcastPacket(new MagicSkillUser(playable, playable, 2306, 3, 1, 0));
              activeChar.addExpAndSp(0, 200000);
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.addExpAndSp()

              activeChar.addExpAndSp(0, 100000);
              break;
            case 8956: // Red Primeval Crystal XML: 2306
              activeChar.sendPacket(new MagicSkillUser(playable, playable, 2306, 3, 1, 0));
              activeChar.broadcastPacket(new MagicSkillUser(playable, playable, 2306, 3, 1, 0));
              activeChar.addExpAndSp(0, 200000);
              break;
            default:
              break;
          }
          return;
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.addExpAndSp()

            useScroll(activeChar, 2064, 1);
            break;
          case 5593: // SP Scroll Low Grade XML:2167
            activeChar.sendPacket(new MagicSkillUser(playable, playable, 2167, 1, 1, 0));
            activeChar.broadcastPacket(new MagicSkillUser(playable, playable, 2167, 1, 1, 0));
            activeChar.addExpAndSp(0, 500);
            break;
          case 5594: // SP Scroll Medium Grade XML:2167
            activeChar.sendPacket(new MagicSkillUser(playable, playable, 2167, 1, 1, 0));
            activeChar.broadcastPacket(new MagicSkillUser(playable, playable, 2167, 1, 1, 0));
            activeChar.addExpAndSp(0, 5000);
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.addExpAndSp()

            activeChar.addExpAndSp(0, 500);
            break;
          case 5594: // SP Scroll Medium Grade XML:2167
            activeChar.sendPacket(new MagicSkillUser(playable, playable, 2167, 1, 1, 0));
            activeChar.broadcastPacket(new MagicSkillUser(playable, playable, 2167, 1, 1, 0));
            activeChar.addExpAndSp(0, 5000);
            break;
          case 5595: // SP Scroll High Grade XML:2167
            activeChar.sendPacket(new MagicSkillUser(playable, playable, 2167, 1, 1, 0));
            activeChar.broadcastPacket(new MagicSkillUser(playable, playable, 2167, 1, 1, 0));
            activeChar.addExpAndSp(0, 100000);
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.addExpAndSp()

            activeChar.addExpAndSp(0, 5000);
            break;
          case 5595: // SP Scroll High Grade XML:2167
            activeChar.sendPacket(new MagicSkillUser(playable, playable, 2167, 1, 1, 0));
            activeChar.broadcastPacket(new MagicSkillUser(playable, playable, 2167, 1, 1, 0));
            activeChar.addExpAndSp(0, 100000);
            break;
          case 6037: // Scroll of Waking XML:2170
            //activeChar.broadcastPacket(new MagicSkillUser(playable, playable, 2170, 1, 1, 0));
            useScroll(activeChar, 2170, 1);
            break;
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.addExpAndSp()

        if(expval != 0 || spval != 0)
        {
          //Common character information
          player.sendMessage("Admin is adding you " + expval + " xp and " + spval + " sp.");
          player.addExpAndSp(expval, spval);
          //Admin information
          activeChar.sendMessage("Added " + expval + " xp and " + spval + " sp to " + player.getName() + ".");

          if(Config.DEBUG)
          {
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PetInstance.addExpAndSp()

          // only give exp/sp to the pet by taking from the owner if the pet has a non-zero, positive ratio
          // allow possible customizations that would have the pet earning more than 100% of the owner's exp/sp
          if(ratioTakenByPet > 0 && !pet.isDead())
          {
            pet.addExpAndSp((long) (addToExp * ratioTakenByPet), (int) (addToSp * ratioTakenByPet));
          }

          // now adjust the max ratio to avoid the owner earning negative exp/sp
          if(ratioTakenByPet > 1)
          {
    View Full Code Here

    Examples of l2p.gameserver.model.L2Character.addExpAndSp()

                broadcastPacket(new SpawnEmitter(this, attacker));
                ThreadPoolManager.getInstance().scheduleGeneral(new SoulConsumeTask(attacker), 1000);
              }
              xpsp[0] = applyOverhit(killer, xpsp[0]);
              xpsp = attacker.applyVitality(this, xpsp[0], xpsp[1], 1.0);
              attacker.addExpAndSp((long) xpsp[0], (long) xpsp[1], false, true);
            }
            rewards.remove(attacker);
          }
          else
          {
    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.