123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- /*
- * This program is free software: you can redistribute it and/or modify it under
- * the terms of the GNU General Public License as published by the Free Software
- * Foundation, either version 3 of the License, or (at your option) any later
- * version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
- * details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see <http://www.gnu.org/licenses/>.
- */
- package com.l2jserver.gameserver.model.item;
- import com.l2jserver.gameserver.model.StatsSet;
- /**
- * This class ...
- *
- * @version $Revision$ $Date$
- */
- public class L2Henna
- {
- private final int symbolId;
- private final int dye;
- private final int price;
- private final int amount;
- private final int statINT;
- private final int statSTR;
- private final int statCON;
- private final int statMEM;
- private final int statDEX;
- private final int statWIT;
-
- public L2Henna(StatsSet set)
- {
- symbolId = set.getInteger("symbol_id");
- dye = set.getInteger("dye");
- price = set.getInteger("price");
- amount = set.getInteger("amount");
- statINT = set.getInteger("stat_INT");
- statSTR = set.getInteger("stat_STR");
- statCON = set.getInteger("stat_CON");
- statMEM = set.getInteger("stat_MEM");
- statDEX = set.getInteger("stat_DEX");
- statWIT = set.getInteger("stat_WIT");
- }
-
- public int getSymbolId()
- {
- return symbolId;
- }
-
- /**
- * @return
- */
- public int getDyeId()
- {
- return dye;
- }
-
- /**
- * @return
- */
- public int getPrice()
- {
- return price;
- }
-
- /**
- * @return
- */
- public int getAmountDyeRequire()
- {
- return amount;
- }
-
- /**
- * @return
- */
- public int getStatINT()
- {
- return statINT;
- }
-
- /**
- * @return
- */
- public int getStatSTR()
- {
- return statSTR;
- }
-
- /**
- * @return
- */
- public int getStatCON()
- {
- return statCON;
- }
-
- /**
- * @return
- */
- public int getStatMEM()
- {
- return statMEM;
- }
-
- /**
- * @return
- */
- public int getStatDEX()
- {
- return statDEX;
- }
-
- /**
- * @return
- */
- public int getStatWIT()
- {
- return statWIT;
- }
- }
|