Package lineage2.gameserver.model.instances

Examples of lineage2.gameserver.model.instances.PetInstance.sendChanges()


    }
    finally
    {
      activeChar.getInventory().writeUnlock();
    }
    activeChar.sendChanges();
  }
}
View Full Code Here


      sendPacket(Msg.YOUR_INVENTORY_IS_FULL);
      return;
    }
    playerInventory.addItem(petInventory.removeItemByObjectId(_objectId, _amount));
    pet.sendChanges();
    activeChar.sendChanges();
  }
}
View Full Code Here

    finally
    {
      warehouse.writeUnlock();
      inventory.writeUnlock();
    }
    activeChar.sendChanges();
    activeChar.sendPacket(Msg.THE_TRANSACTION_IS_COMPLETE);
  }
}
View Full Code Here

    finally
    {
      activeChar.getInventory().writeUnlock();
    }
    activeChar.sendPacket(new ExBuySellList.SellRefundList(activeChar, true));
    activeChar.sendChanges();
  }
}
View Full Code Here

    finally
    {
      activeChar.getInventory().writeUnlock();
    }
    activeChar.sendPacket(new ExBuySellList.SellRefundList(activeChar, true));
    activeChar.sendChanges();
  }
}
View Full Code Here

              actor.addStatFunc(new FuncMul(Stats.MAGIC_ATTACK_SPEED, 0x40, actor, 5));
              actor.addStatFunc(new FuncMul(Stats.MAGIC_DAMAGE, 0x40, actor, 10));
              actor.addStatFunc(new FuncMul(Stats.PHYSICAL_DAMAGE, 0x40, actor, 10));
              actor.addStatFunc(new FuncMul(Stats.RUN_SPEED, 0x40, actor, 3));
              actor.addSkill(SkillTable.getInstance().getInfo(1467, 1));
              actor.sendChanges();
              step_stage2 = 4;
              return true;
            case 4:
              setIntention(CtrlIntention.AI_INTENTION_ATTACK, null);
              return true;
View Full Code Here

    {
      sendPacket(Msg.DUE_TO_THE_VOLUME_LIMIT_OF_THE_PETS_INVENTORY_NO_MORE_ITEMS_CAN_BE_PLACED_THERE);
      return;
    }
    petInventory.addItem(playerInventory.removeItemByObjectId(_objectId, _amount));
    pet.sendChanges();
    activeChar.sendChanges();
  }
}
View Full Code Here

    {
      sendPacket(Msg.YOUR_INVENTORY_IS_FULL);
      return;
    }
    playerInventory.addItem(petInventory.removeItemByObjectId(_objectId, _amount));
    pet.sendChanges();
    activeChar.sendChanges();
  }
}
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.