Examples of SpawnEmitter


Examples of l2p.gameserver.serverpackets.SpawnEmitter

        {
          double[] xpsp = calculateExpAndSp(attacker, attacker.getLevel(), damage);
          double neededExp = attacker.calcStat(Stats.SOULS_CONSUME_EXP, 0, this, null); // Начисление душ камаэлянам
          if(neededExp > 0 && xpsp[0] > neededExp)
          {
            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);
View Full Code Here

Examples of l2p.gameserver.serverpackets.SpawnEmitter

      memberSp = Math.min(memberSp, spReward);
      // Начисление душ камаэлянам
      double neededExp = member.calcStat(Stats.SOULS_CONSUME_EXP, 0, monster, null);
      if(neededExp > 0 && memberXp > neededExp)
      {
        monster.broadcastPacket(new SpawnEmitter(monster, member));
        ThreadPoolManager.getInstance().scheduleGeneral(new SoulConsumeTask(member), 1000);
      }
      double[] xpsp = member.applyVitality(monster, memberXp, memberSp, memberXp / xpReward);
      member.addExpAndSp((long) xpsp[0], (long) xpsp[1], false, true);
    }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.SpawnEmitter

      return;
    }
    double neededExp = calcStat(Stats.SOULS_CONSUME_EXP, 0, mob, null);
    if ((neededExp > 0) && (noRateExp > neededExp))
    {
      mob.broadcastPacket(new SpawnEmitter(mob, this));
      ThreadPoolManager.getInstance().schedule(new GameObjectTasks.SoulConsumeTask(this), 1000);
    }
    int npcLevel = mob.getLevel();
    if (Config.ALT_VITALITY_ENABLED)
    {
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.