L2Henna.java 2.4 KB

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