L2Henna.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. /*
  2. * This program is free software: you can redistribute it and/or modify it under
  3. * the terms of the GNU General Public License as published by the Free Software
  4. * Foundation, either version 3 of the License, or (at your option) any later
  5. * version.
  6. *
  7. * This program is distributed in the hope that it will be useful, but WITHOUT
  8. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  9. * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
  10. * details.
  11. *
  12. * You should have received a copy of the GNU General Public License along with
  13. * this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. package com.l2jserver.gameserver.model.item;
  16. import com.l2jserver.gameserver.model.StatsSet;
  17. /**
  18. * This class ...
  19. *
  20. * @version $Revision$ $Date$
  21. */
  22. public class L2Henna
  23. {
  24. private final int symbolId;
  25. private final int dye;
  26. private final int price;
  27. private final int amount;
  28. private final int statINT;
  29. private final int statSTR;
  30. private final int statCON;
  31. private final int statMEM;
  32. private final int statDEX;
  33. private final int statWIT;
  34. public L2Henna(StatsSet set)
  35. {
  36. symbolId = set.getInteger("symbol_id");
  37. dye = set.getInteger("dye");
  38. price = set.getInteger("price");
  39. amount = set.getInteger("amount");
  40. statINT = set.getInteger("stat_INT");
  41. statSTR = set.getInteger("stat_STR");
  42. statCON = set.getInteger("stat_CON");
  43. statMEM = set.getInteger("stat_MEM");
  44. statDEX = set.getInteger("stat_DEX");
  45. statWIT = set.getInteger("stat_WIT");
  46. }
  47. public int getSymbolId()
  48. {
  49. return symbolId;
  50. }
  51. /**
  52. * @return
  53. */
  54. public int getDyeId()
  55. {
  56. return dye;
  57. }
  58. /**
  59. * @return
  60. */
  61. public int getPrice()
  62. {
  63. return price;
  64. }
  65. /**
  66. * @return
  67. */
  68. public int getAmountDyeRequire()
  69. {
  70. return amount;
  71. }
  72. /**
  73. * @return
  74. */
  75. public int getStatINT()
  76. {
  77. return statINT;
  78. }
  79. /**
  80. * @return
  81. */
  82. public int getStatSTR()
  83. {
  84. return statSTR;
  85. }
  86. /**
  87. * @return
  88. */
  89. public int getStatCON()
  90. {
  91. return statCON;
  92. }
  93. /**
  94. * @return
  95. */
  96. public int getStatMEM()
  97. {
  98. return statMEM;
  99. }
  100. /**
  101. * @return
  102. */
  103. public int getStatDEX()
  104. {
  105. return statDEX;
  106. }
  107. /**
  108. * @return
  109. */
  110. public int getStatWIT()
  111. {
  112. return statWIT;
  113. }
  114. }