Examples of reducePremiumPoints()


Examples of lineage2.gameserver.model.Player.reducePremiumPoints()

    if (!activeChar.getInventory().validateCapacity(totalCount) || !activeChar.getInventory().validateWeight(totalWeight))
    {
      activeChar.sendPacket(new ExBR_BuyProduct(ExBR_BuyProduct.RESULT_INVENTORY_FULL));
      return;
    }
    activeChar.reducePremiumPoints(totalPoints);
    for (ProductItemComponent comp : product.getComponents())
    {
      activeChar.getInventory().addItem(comp.getItemId(), comp.getCount() * _count);
    }
    activeChar.sendPacket(new ExBR_GamePoint(activeChar));
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.