L2Henna.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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.templates.item;
  16. import com.l2jserver.gameserver.templates.StatsSet;
  17. /**
  18. * This class ...
  19. *
  20. * @version $Revision$ $Date$
  21. */
  22. public class L2Henna
  23. {
  24. public final int symbolId;
  25. public final String symbolName;
  26. public final int dye;
  27. public final int price;
  28. public final int amount;
  29. public final int statINT;
  30. public final int statSTR;
  31. public final int statCON;
  32. public final int statMEM;
  33. public final int statDEX;
  34. public final int statWIT;
  35. public L2Henna(StatsSet set)
  36. {
  37. symbolId = set.getInteger("symbol_id");
  38. symbolName = ""; //set.getString("symbol_name");
  39. dye = set.getInteger("dye");
  40. price = set.getInteger("price");
  41. amount = set.getInteger("amount");
  42. statINT = set.getInteger("stat_INT");
  43. statSTR = set.getInteger("stat_STR");
  44. statCON = set.getInteger("stat_CON");
  45. statMEM = set.getInteger("stat_MEM");
  46. statDEX = set.getInteger("stat_DEX");
  47. statWIT = set.getInteger("stat_WIT");
  48. }
  49. public int getSymbolId()
  50. {
  51. return symbolId;
  52. }
  53. /**
  54. * @return
  55. */
  56. public int getDyeId()
  57. {
  58. return dye;
  59. }
  60. /**
  61. * @return
  62. */
  63. public int getPrice()
  64. {
  65. return price;
  66. }
  67. /**
  68. * @return
  69. */
  70. public int getAmountDyeRequire()
  71. {
  72. return amount;
  73. }
  74. /**
  75. * @return
  76. */
  77. public int getStatINT()
  78. {
  79. return statINT;
  80. }
  81. /**
  82. * @return
  83. */
  84. public int getStatSTR()
  85. {
  86. return statSTR;
  87. }
  88. /**
  89. * @return
  90. */
  91. public int getStatCON()
  92. {
  93. return statCON;
  94. }
  95. /**
  96. * @return
  97. */
  98. public int getStatMEM()
  99. {
  100. return statMEM;
  101. }
  102. /**
  103. * @return
  104. */
  105. public int getStatDEX()
  106. {
  107. return statDEX;
  108. }
  109. /**
  110. * @return
  111. */
  112. public int getStatWIT()
  113. {
  114. return statWIT;
  115. }
  116. /**
  117. * @return
  118. */
  119. }