Examples of decayMe()


Examples of l2p.gameserver.model.instances.L2DoorInstance.decayMe()

      while(rset.next())
      {
        id = rset.getInt("id");
        L2DoorInstance door = DoorTable.getInstance().getDoor(rset.getInt("id"));
        door.setSiegeUnit(this);
        door.decayMe();
        door.spawnMe();
        _doors.add(door);
      }
    }
    catch(Exception e)
View Full Code Here

Examples of l2p.gameserver.model.instances.L2MonsterInstance.decayMe()

  {
    super.onEvtSpawn();
   
    L2MonsterInstance actor = (L2MonsterInstance)getActor();
    if (TowerOfNaiaManager.isEpidosSpawned())
      actor.decayMe();
    else
      TowerOfNaiaManager.addSpore(actor);
  }
 
  private class DespawnTask implements Runnable
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.decayMe()

    Reflection r = actor.getReflection();
    for(L2Player pl : r.getPlayers())
    {
      if(pl != null && Functions.getItemCount(pl, 13846) >= 4)
      {
        actor.decayMe();
      }
    }
    super.thinkAttack();
  }
}
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.decayMe()

    Reflection r = actor.getReflection();
    for(L2Player pl : r.getPlayers())
    {
      if(pl != null && Functions.getItemCount(pl, 13846) >= 4)
      {
        actor.decayMe();
      }
    }
    super.thinkAttack();
  }
}
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.decayMe()

          activeChar.sendMessage("Target is incorrect!");
          return false;
        }
        npc = (L2NpcInstance) obj;
        npc.setHeading(activeChar.getHeading());
        npc.decayMe();
        npc.spawnMe();
        activeChar.sendMessage("New heading : " + activeChar.getHeading());
        spawn = npc.getSpawn();
        if(spawn == null)
        {
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.decayMe()

    }
    for(L2Player pl : r.getPlayers())
    {
      if(pl != null && Functions.getItemCount(pl, 13846) >= 4)
      {
        actor.decayMe();
      }
    }
    super.thinkAttack();
  }
}
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.decayMe()

            if(r.getId() > 0)
            {
              r.addSpawn(npc.getSpawn());
            }
            npc.getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, attacker, 100);
            actor.decayMe();
            actor.doDie(actor);
            attacker.setTarget(npc);
            attacker.sendPacket(npc.makeStatusUpdate(StatusUpdate.CUR_HP, StatusUpdate.MAX_HP));
            return;
          }
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.decayMe()

  {
    L2NpcInstance target = L2ObjectsStorage.getByNpcId(Gilmore);
    if(target != null)
    {
      oldGilmore = target.getStoredId();
      target.decayMe();
      L2NpcTemplate template = NpcTable.getTemplate(Gilmore);
      L2MonsterInstance monster = new L2MonsterInstance(IdFactory.getInstance().getNextId(), template);
      monster.setCurrentHpMp(monster.getMaxHp(), monster.getMaxMp(), true);
      monster.setXYZ(73329, 117705, -3741);
      GilmoreAI ai = new GilmoreAI(monster);
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.decayMe()

    if(mostHated != null && mostHated.isPlayable())
    {
      killer = mostHated.getPlayer();
    }
    actor.dropItem(killer, actor.getNpcId() == 22353 ? 9682 : Rnd.chance(10) ? 9681 : 9680, 1);
    actor.decayMe();
    actor.doDie(actor);
  }
}
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.decayMe()

    }
    for(L2Player pl : r.getPlayers())
    {
      if(pl != null && Functions.getItemCount(pl, 13846) >= 4)
      {
        actor.decayMe();
      }
    }
    super.thinkAttack();
  }
}
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.