|
@@ -17,164 +17,727 @@ package com.l2jserver.gameserver.templates.chars;
|
|
import com.l2jserver.gameserver.templates.StatsSet;
|
|
import com.l2jserver.gameserver.templates.StatsSet;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * This class ...
|
|
|
|
- *
|
|
|
|
- * @version $Revision: 1.2.4.6 $ $Date: 2005/04/02 15:57:51 $
|
|
|
|
|
|
+ * @author Zoey76
|
|
*/
|
|
*/
|
|
public class L2CharTemplate
|
|
public class L2CharTemplate
|
|
{
|
|
{
|
|
// BaseStats
|
|
// BaseStats
|
|
- public final int baseSTR;
|
|
|
|
- public final int baseCON;
|
|
|
|
- public final int baseDEX;
|
|
|
|
- public final int baseINT;
|
|
|
|
- public final int baseWIT;
|
|
|
|
- public final int baseMEN;
|
|
|
|
- public float baseHpMax;
|
|
|
|
- public final float baseCpMax;
|
|
|
|
- public final float baseMpMax;
|
|
|
|
-
|
|
|
|
- /** HP Regen base */
|
|
|
|
- public final float baseHpReg;
|
|
|
|
-
|
|
|
|
- /** MP Regen base */
|
|
|
|
- public final float baseMpReg;
|
|
|
|
-
|
|
|
|
- public final int basePAtk;
|
|
|
|
- public final int baseMAtk;
|
|
|
|
- public final int basePDef;
|
|
|
|
- public final int baseMDef;
|
|
|
|
- public final int basePAtkSpd;
|
|
|
|
- public final int baseMAtkSpd;
|
|
|
|
- public final float baseMReuseRate;
|
|
|
|
- public final int baseShldDef;
|
|
|
|
- public final int baseAtkRange;
|
|
|
|
- public final int baseShldRate;
|
|
|
|
- public final int baseCritRate;
|
|
|
|
- public final int baseMCritRate;
|
|
|
|
- public final int baseWalkSpd;
|
|
|
|
- public final int baseRunSpd;
|
|
|
|
-
|
|
|
|
|
|
+ private final int _baseSTR;
|
|
|
|
+ private final int _baseCON;
|
|
|
|
+ private final int _baseDEX;
|
|
|
|
+ private final int _baseINT;
|
|
|
|
+ private final int _baseWIT;
|
|
|
|
+ private final int _baseMEN;
|
|
|
|
+ private final float _baseHpMax;
|
|
|
|
+ private final float _baseCpMax;
|
|
|
|
+ private final float _baseMpMax;
|
|
|
|
+ private final float _baseHpReg;
|
|
|
|
+ private final float _baseMpReg;
|
|
|
|
+ private final int _basePAtk;
|
|
|
|
+ private final int _baseMAtk;
|
|
|
|
+ private final int _basePDef;
|
|
|
|
+ private final int _baseMDef;
|
|
|
|
+ private final int _basePAtkSpd;
|
|
|
|
+ private final int _baseMAtkSpd;
|
|
|
|
+ private final float _baseMReuseRate;
|
|
|
|
+ private final int _baseShldDef;
|
|
|
|
+ private final int _baseAtkRange;
|
|
|
|
+ private final int _baseShldRate;
|
|
|
|
+ private final int _baseCritRate;
|
|
|
|
+ private final int _baseMCritRate;
|
|
|
|
+ private final int _baseWalkSpd;
|
|
|
|
+ private final int _baseRunSpd;
|
|
// SpecialStats
|
|
// SpecialStats
|
|
- public final int baseBreath;
|
|
|
|
- public final int baseAggression;
|
|
|
|
- public final int baseBleed;
|
|
|
|
- public final int basePoison;
|
|
|
|
- public final int baseStun;
|
|
|
|
- public final int baseRoot;
|
|
|
|
- public final int baseMovement;
|
|
|
|
- public final int baseConfusion;
|
|
|
|
- public final int baseSleep;
|
|
|
|
- public final double baseAggressionVuln;
|
|
|
|
- public final double baseBleedVuln;
|
|
|
|
- public final double basePoisonVuln;
|
|
|
|
- public final double baseStunVuln;
|
|
|
|
- public final double baseRootVuln;
|
|
|
|
- public final double baseMovementVuln;
|
|
|
|
- public final double baseSleepVuln;
|
|
|
|
- public int baseFire;
|
|
|
|
- public int baseWind;
|
|
|
|
- public int baseWater;
|
|
|
|
- public int baseEarth;
|
|
|
|
- public int baseHoly;
|
|
|
|
- public int baseDark;
|
|
|
|
- public double baseFireRes;
|
|
|
|
- public double baseWindRes;
|
|
|
|
- public double baseWaterRes;
|
|
|
|
- public double baseEarthRes;
|
|
|
|
- public double baseHolyRes;
|
|
|
|
- public double baseDarkRes;
|
|
|
|
- public final double baseCritVuln;
|
|
|
|
-
|
|
|
|
- //C4 Stats
|
|
|
|
- public final int baseMpConsumeRate;
|
|
|
|
- public final int baseHpConsumeRate;
|
|
|
|
|
|
+ private final int _baseBreath;
|
|
|
|
+ private final int _baseAggression;
|
|
|
|
+ private final int _baseBleed;
|
|
|
|
+ private final int _basePoison;
|
|
|
|
+ private final int _baseStun;
|
|
|
|
+ private final int _baseRoot;
|
|
|
|
+ private final int _baseMovement;
|
|
|
|
+ private final int _baseConfusion;
|
|
|
|
+ private final int _baseSleep;
|
|
|
|
+ private final double _baseAggressionVuln;
|
|
|
|
+ private final double _baseBleedVuln;
|
|
|
|
+ private final double _basePoisonVuln;
|
|
|
|
+ private final double _baseStunVuln;
|
|
|
|
+ private final double _baseRootVuln;
|
|
|
|
+ private final double _baseMovementVuln;
|
|
|
|
+ private final double _baseSleepVuln;
|
|
|
|
+ private final double _baseCritVuln;
|
|
|
|
+ private int _baseFire;
|
|
|
|
+ private int _baseWind;
|
|
|
|
+ private int _baseWater;
|
|
|
|
+ private int _baseEarth;
|
|
|
|
+ private int _baseHoly;
|
|
|
|
+ private int _baseDark;
|
|
|
|
+ private double _baseFireRes;
|
|
|
|
+ private double _baseWindRes;
|
|
|
|
+ private double _baseWaterRes;
|
|
|
|
+ private double _baseEarthRes;
|
|
|
|
+ private double _baseHolyRes;
|
|
|
|
+ private double _baseDarkRes;
|
|
|
|
+
|
|
|
|
+ private final int _baseMpConsumeRate;
|
|
|
|
+ private final int _baseHpConsumeRate;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * <FONT COLOR=#FF0000><B> <U>Caution</U> :
|
|
|
|
- * For client info use {@link #fCollisionRadius}
|
|
|
|
- * </B></FONT><BR><BR>
|
|
|
|
|
|
+ * For client info use {@link #_fCollisionRadius}
|
|
*/
|
|
*/
|
|
- public final int collisionRadius;
|
|
|
|
|
|
+ private final int _collisionRadius;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * <FONT COLOR=#FF0000><B> <U>Caution</U> :
|
|
|
|
- * For client info use {@link #fCollisionHeight}
|
|
|
|
- * </B></FONT><BR><BR>
|
|
|
|
|
|
+ * For client info use {@link #_fCollisionHeight}
|
|
*/
|
|
*/
|
|
- public final int collisionHeight;
|
|
|
|
|
|
+ private final int _collisionHeight;
|
|
|
|
|
|
- public final double fCollisionRadius;
|
|
|
|
- public final double fCollisionHeight;
|
|
|
|
|
|
+ private final double _fCollisionRadius;
|
|
|
|
+ private final double _fCollisionHeight;
|
|
|
|
|
|
public L2CharTemplate(StatsSet set)
|
|
public L2CharTemplate(StatsSet set)
|
|
{
|
|
{
|
|
// Base stats
|
|
// Base stats
|
|
- baseSTR = set.getInteger("baseSTR");
|
|
|
|
- baseCON = set.getInteger("baseCON");
|
|
|
|
- baseDEX = set.getInteger("baseDEX");
|
|
|
|
- baseINT = set.getInteger("baseINT");
|
|
|
|
- baseWIT = set.getInteger("baseWIT");
|
|
|
|
- baseMEN = set.getInteger("baseMEN");
|
|
|
|
- baseHpMax = set.getFloat("baseHpMax");
|
|
|
|
- baseCpMax = set.getFloat("baseCpMax");
|
|
|
|
- baseMpMax = set.getFloat("baseMpMax");
|
|
|
|
- baseHpReg = set.getFloat("baseHpReg");
|
|
|
|
- baseMpReg = set.getFloat("baseMpReg");
|
|
|
|
- basePAtk = set.getInteger("basePAtk");
|
|
|
|
- baseMAtk = set.getInteger("baseMAtk");
|
|
|
|
- basePDef = set.getInteger("basePDef");
|
|
|
|
- baseMDef = set.getInteger("baseMDef");
|
|
|
|
- basePAtkSpd = set.getInteger("basePAtkSpd");
|
|
|
|
- baseMAtkSpd = set.getInteger("baseMAtkSpd");
|
|
|
|
- baseMReuseRate = set.getFloat("baseMReuseDelay", 1.f);
|
|
|
|
- baseShldDef = set.getInteger("baseShldDef");
|
|
|
|
- baseAtkRange = set.getInteger("baseAtkRange");
|
|
|
|
- baseShldRate = set.getInteger("baseShldRate");
|
|
|
|
- baseCritRate = set.getInteger("baseCritRate");
|
|
|
|
- baseMCritRate = set.getInteger("baseMCritRate", 80); // CT2: The magic critical rate has been increased to 10 times.
|
|
|
|
- baseWalkSpd = set.getInteger("baseWalkSpd");
|
|
|
|
- baseRunSpd = set.getInteger("baseRunSpd");
|
|
|
|
|
|
+ _baseSTR = set.getInteger("baseSTR");
|
|
|
|
+ _baseCON = set.getInteger("baseCON");
|
|
|
|
+ _baseDEX = set.getInteger("baseDEX");
|
|
|
|
+ _baseINT = set.getInteger("baseINT");
|
|
|
|
+ _baseWIT = set.getInteger("baseWIT");
|
|
|
|
+ _baseMEN = set.getInteger("baseMEN");
|
|
|
|
+ _baseHpMax = set.getFloat("baseHpMax");
|
|
|
|
+ _baseCpMax = set.getFloat("baseCpMax");
|
|
|
|
+ _baseMpMax = set.getFloat("baseMpMax");
|
|
|
|
+ _baseHpReg = set.getFloat("baseHpReg");
|
|
|
|
+ _baseMpReg = set.getFloat("baseMpReg");
|
|
|
|
+ _basePAtk = set.getInteger("basePAtk");
|
|
|
|
+ _baseMAtk = set.getInteger("baseMAtk");
|
|
|
|
+ _basePDef = set.getInteger("basePDef");
|
|
|
|
+ _baseMDef = set.getInteger("baseMDef");
|
|
|
|
+ _basePAtkSpd = set.getInteger("basePAtkSpd");
|
|
|
|
+ _baseMAtkSpd = set.getInteger("baseMAtkSpd");
|
|
|
|
+ _baseMReuseRate = set.getFloat("baseMReuseDelay", 1.f);
|
|
|
|
+ _baseShldDef = set.getInteger("baseShldDef");
|
|
|
|
+ _baseAtkRange = set.getInteger("baseAtkRange");
|
|
|
|
+ _baseShldRate = set.getInteger("baseShldRate");
|
|
|
|
+ _baseCritRate = set.getInteger("baseCritRate");
|
|
|
|
+ _baseMCritRate = set.getInteger("baseMCritRate", 80); // CT2: The magic critical rate has been increased to 10 times.
|
|
|
|
+ _baseWalkSpd = set.getInteger("baseWalkSpd");
|
|
|
|
+ _baseRunSpd = set.getInteger("baseRunSpd");
|
|
|
|
|
|
// SpecialStats
|
|
// SpecialStats
|
|
- baseBreath = set.getInteger("baseBreath", 100);
|
|
|
|
- baseAggression = set.getInteger("baseAggression", 0);
|
|
|
|
- baseBleed = set.getInteger("baseBleed", 0);
|
|
|
|
- basePoison = set.getInteger("basePoison", 0);
|
|
|
|
- baseStun = set.getInteger("baseStun", 0);
|
|
|
|
- baseRoot = set.getInteger("baseRoot", 0);
|
|
|
|
- baseMovement = set.getInteger("baseMovement", 0);
|
|
|
|
- baseConfusion = set.getInteger("baseConfusion", 0);
|
|
|
|
- baseSleep = set.getInteger("baseSleep", 0);
|
|
|
|
- baseFire = set.getInteger("baseFire", 0);
|
|
|
|
- baseWind = set.getInteger("baseWind", 0);
|
|
|
|
- baseWater = set.getInteger("baseWater", 0);
|
|
|
|
- baseEarth = set.getInteger("baseEarth", 0);
|
|
|
|
- baseHoly = set.getInteger("baseHoly", 0);
|
|
|
|
- baseDark = set.getInteger("baseDark", 0);
|
|
|
|
- baseAggressionVuln = set.getInteger("baseAggressionVuln", 0);
|
|
|
|
- baseBleedVuln = set.getInteger("baseBleedVuln", 0);
|
|
|
|
- basePoisonVuln = set.getInteger("basePoisonVuln", 0);
|
|
|
|
- baseStunVuln = set.getInteger("baseStunVuln", 0);
|
|
|
|
- baseRootVuln = set.getInteger("baseRootVuln", 0);
|
|
|
|
- baseMovementVuln = set.getInteger("baseMovementVuln", 0);
|
|
|
|
- baseSleepVuln = set.getInteger("baseSleepVuln", 0);
|
|
|
|
- baseFireRes = set.getInteger("baseFireRes", 0);
|
|
|
|
- baseWindRes = set.getInteger("baseWindRes", 0);
|
|
|
|
- baseWaterRes = set.getInteger("baseWaterRes", 0);
|
|
|
|
- baseEarthRes = set.getInteger("baseEarthRes", 0);
|
|
|
|
- baseHolyRes = set.getInteger("baseHolyRes", 0);
|
|
|
|
- baseDarkRes = set.getInteger("baseDarkRes", 0);
|
|
|
|
- baseCritVuln = set.getInteger("baseCritVuln", 1);
|
|
|
|
|
|
+ _baseBreath = set.getInteger("baseBreath", 100);
|
|
|
|
+ _baseAggression = set.getInteger("baseAggression", 0);
|
|
|
|
+ _baseBleed = set.getInteger("baseBleed", 0);
|
|
|
|
+ _basePoison = set.getInteger("basePoison", 0);
|
|
|
|
+ _baseStun = set.getInteger("baseStun", 0);
|
|
|
|
+ _baseRoot = set.getInteger("baseRoot", 0);
|
|
|
|
+ _baseMovement = set.getInteger("baseMovement", 0);
|
|
|
|
+ _baseConfusion = set.getInteger("baseConfusion", 0);
|
|
|
|
+ _baseSleep = set.getInteger("baseSleep", 0);
|
|
|
|
+ _baseFire = set.getInteger("baseFire", 0);
|
|
|
|
+ _baseWind = set.getInteger("baseWind", 0);
|
|
|
|
+ _baseWater = set.getInteger("baseWater", 0);
|
|
|
|
+ _baseEarth = set.getInteger("baseEarth", 0);
|
|
|
|
+ _baseHoly = set.getInteger("baseHoly", 0);
|
|
|
|
+ _baseDark = set.getInteger("baseDark", 0);
|
|
|
|
+ _baseAggressionVuln = set.getInteger("baseAggressionVuln", 0);
|
|
|
|
+ _baseBleedVuln = set.getInteger("baseBleedVuln", 0);
|
|
|
|
+ _basePoisonVuln = set.getInteger("basePoisonVuln", 0);
|
|
|
|
+ _baseStunVuln = set.getInteger("baseStunVuln", 0);
|
|
|
|
+ _baseRootVuln = set.getInteger("baseRootVuln", 0);
|
|
|
|
+ _baseMovementVuln = set.getInteger("baseMovementVuln", 0);
|
|
|
|
+ _baseSleepVuln = set.getInteger("baseSleepVuln", 0);
|
|
|
|
+ _baseCritVuln = set.getInteger("baseCritVuln", 1);
|
|
|
|
+ _baseFireRes = set.getInteger("baseFireRes", 0);
|
|
|
|
+ _baseWindRes = set.getInteger("baseWindRes", 0);
|
|
|
|
+ _baseWaterRes = set.getInteger("baseWaterRes", 0);
|
|
|
|
+ _baseEarthRes = set.getInteger("baseEarthRes", 0);
|
|
|
|
+ _baseHolyRes = set.getInteger("baseHolyRes", 0);
|
|
|
|
+ _baseDarkRes = set.getInteger("baseDarkRes", 0);
|
|
|
|
|
|
- //C4 Stats
|
|
|
|
- baseMpConsumeRate = set.getInteger("baseMpConsumeRate", 0);
|
|
|
|
- baseHpConsumeRate = set.getInteger("baseHpConsumeRate", 0);
|
|
|
|
|
|
+ // C4 Stats
|
|
|
|
+ _baseMpConsumeRate = set.getInteger("baseMpConsumeRate", 0);
|
|
|
|
+ _baseHpConsumeRate = set.getInteger("baseHpConsumeRate", 0);
|
|
|
|
|
|
// Geometry
|
|
// Geometry
|
|
- fCollisionHeight = set.getDouble("collision_height");
|
|
|
|
- fCollisionRadius = set.getDouble("collision_radius");
|
|
|
|
- collisionRadius = (int) fCollisionRadius;
|
|
|
|
- collisionHeight = (int) fCollisionHeight;
|
|
|
|
|
|
+ _fCollisionHeight = set.getDouble("collision_height");
|
|
|
|
+ _fCollisionRadius = set.getDouble("collision_radius");
|
|
|
|
+ _collisionRadius = (int) _fCollisionRadius;
|
|
|
|
+ _collisionHeight = (int) _fCollisionHeight;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseHpMax
|
|
|
|
+ */
|
|
|
|
+ public float getBaseHpMax()
|
|
|
|
+ {
|
|
|
|
+ return _baseHpMax;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the _baseFire
|
|
|
|
+ */
|
|
|
|
+ public int getBaseFire()
|
|
|
|
+ {
|
|
|
|
+ return _baseFire;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the _baseWind
|
|
|
|
+ */
|
|
|
|
+ public int getBaseWind()
|
|
|
|
+ {
|
|
|
|
+ return _baseWind;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the _baseWater
|
|
|
|
+ */
|
|
|
|
+ public int getBaseWater()
|
|
|
|
+ {
|
|
|
|
+ return _baseWater;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the _baseEarth
|
|
|
|
+ */
|
|
|
|
+ public int getBaseEarth()
|
|
|
|
+ {
|
|
|
|
+ return _baseEarth;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the _baseHoly
|
|
|
|
+ */
|
|
|
|
+ public int getBaseHoly()
|
|
|
|
+ {
|
|
|
|
+ return _baseHoly;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the _baseDark
|
|
|
|
+ */
|
|
|
|
+ public int getBaseDark()
|
|
|
|
+ {
|
|
|
|
+ return _baseDark;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the _baseFireRes
|
|
|
|
+ */
|
|
|
|
+ public double getBaseFireRes()
|
|
|
|
+ {
|
|
|
|
+ return _baseFireRes;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the _baseWindRes
|
|
|
|
+ */
|
|
|
|
+ public double getBaseWindRes()
|
|
|
|
+ {
|
|
|
|
+ return _baseWindRes;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the _baseWaterRes
|
|
|
|
+ */
|
|
|
|
+ public double getBaseWaterRes()
|
|
|
|
+ {
|
|
|
|
+ return _baseWaterRes;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the _baseEarthRes
|
|
|
|
+ */
|
|
|
|
+ public double getBaseEarthRes()
|
|
|
|
+ {
|
|
|
|
+ return _baseEarthRes;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the _baseHolyRes
|
|
|
|
+ */
|
|
|
|
+ public double getBaseHolyRes()
|
|
|
|
+ {
|
|
|
|
+ return _baseHolyRes;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the _baseDarkRes
|
|
|
|
+ */
|
|
|
|
+ public double getBaseDarkRes()
|
|
|
|
+ {
|
|
|
|
+ return _baseDarkRes;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseSTR
|
|
|
|
+ */
|
|
|
|
+ public int getBaseSTR()
|
|
|
|
+ {
|
|
|
|
+ return _baseSTR;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseCON
|
|
|
|
+ */
|
|
|
|
+ public int getBaseCON()
|
|
|
|
+ {
|
|
|
|
+ return _baseCON;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseDEX
|
|
|
|
+ */
|
|
|
|
+ public int getBaseDEX()
|
|
|
|
+ {
|
|
|
|
+ return _baseDEX;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseINT
|
|
|
|
+ */
|
|
|
|
+ public int getBaseINT()
|
|
|
|
+ {
|
|
|
|
+ return _baseINT;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseWIT
|
|
|
|
+ */
|
|
|
|
+ public int getBaseWIT()
|
|
|
|
+ {
|
|
|
|
+ return _baseWIT;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseMEN
|
|
|
|
+ */
|
|
|
|
+ public int getBaseMEN()
|
|
|
|
+ {
|
|
|
|
+ return _baseMEN;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseCpMax
|
|
|
|
+ */
|
|
|
|
+ public float getBaseCpMax()
|
|
|
|
+ {
|
|
|
|
+ return _baseCpMax;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseMpMax
|
|
|
|
+ */
|
|
|
|
+ public float getBaseMpMax()
|
|
|
|
+ {
|
|
|
|
+ return _baseMpMax;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseHpReg
|
|
|
|
+ */
|
|
|
|
+ public float getBaseHpReg()
|
|
|
|
+ {
|
|
|
|
+ return _baseHpReg;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseMpReg
|
|
|
|
+ */
|
|
|
|
+ public float getBaseMpReg()
|
|
|
|
+ {
|
|
|
|
+ return _baseMpReg;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the basePAtk
|
|
|
|
+ */
|
|
|
|
+ public int getBasePAtk()
|
|
|
|
+ {
|
|
|
|
+ return _basePAtk;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseMAtk
|
|
|
|
+ */
|
|
|
|
+ public int getBaseMAtk()
|
|
|
|
+ {
|
|
|
|
+ return _baseMAtk;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the basePDef
|
|
|
|
+ */
|
|
|
|
+ public int getBasePDef()
|
|
|
|
+ {
|
|
|
|
+ return _basePDef;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseMDef
|
|
|
|
+ */
|
|
|
|
+ public int getBaseMDef()
|
|
|
|
+ {
|
|
|
|
+ return _baseMDef;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the basePAtkSpd
|
|
|
|
+ */
|
|
|
|
+ public int getBasePAtkSpd()
|
|
|
|
+ {
|
|
|
|
+ return _basePAtkSpd;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseMAtkSpd
|
|
|
|
+ */
|
|
|
|
+ public int getBaseMAtkSpd()
|
|
|
|
+ {
|
|
|
|
+ return _baseMAtkSpd;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseMReuseRate
|
|
|
|
+ */
|
|
|
|
+ public float getBaseMReuseRate()
|
|
|
|
+ {
|
|
|
|
+ return _baseMReuseRate;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseShldDef
|
|
|
|
+ */
|
|
|
|
+ public int getBaseShldDef()
|
|
|
|
+ {
|
|
|
|
+ return _baseShldDef;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseAtkRange
|
|
|
|
+ */
|
|
|
|
+ public int getBaseAtkRange()
|
|
|
|
+ {
|
|
|
|
+ return _baseAtkRange;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseShldRate
|
|
|
|
+ */
|
|
|
|
+ public int getBaseShldRate()
|
|
|
|
+ {
|
|
|
|
+ return _baseShldRate;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseCritRate
|
|
|
|
+ */
|
|
|
|
+ public int getBaseCritRate()
|
|
|
|
+ {
|
|
|
|
+ return _baseCritRate;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseMCritRate
|
|
|
|
+ */
|
|
|
|
+ public int getBaseMCritRate()
|
|
|
|
+ {
|
|
|
|
+ return _baseMCritRate;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseWalkSpd
|
|
|
|
+ */
|
|
|
|
+ public int getBaseWalkSpd()
|
|
|
|
+ {
|
|
|
|
+ return _baseWalkSpd;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseRunSpd
|
|
|
|
+ */
|
|
|
|
+ public int getBaseRunSpd()
|
|
|
|
+ {
|
|
|
|
+ return _baseRunSpd;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseBreath
|
|
|
|
+ */
|
|
|
|
+ public int getBaseBreath()
|
|
|
|
+ {
|
|
|
|
+ return _baseBreath;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseAggression
|
|
|
|
+ */
|
|
|
|
+ public int getBaseAggression()
|
|
|
|
+ {
|
|
|
|
+ return _baseAggression;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseBleed
|
|
|
|
+ */
|
|
|
|
+ public int getBaseBleed()
|
|
|
|
+ {
|
|
|
|
+ return _baseBleed;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the basePoison
|
|
|
|
+ */
|
|
|
|
+ public int getBasePoison()
|
|
|
|
+ {
|
|
|
|
+ return _basePoison;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseStun
|
|
|
|
+ */
|
|
|
|
+ public int getBaseStun()
|
|
|
|
+ {
|
|
|
|
+ return _baseStun;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseRoot
|
|
|
|
+ */
|
|
|
|
+ public int getBaseRoot()
|
|
|
|
+ {
|
|
|
|
+ return _baseRoot;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseMovement
|
|
|
|
+ */
|
|
|
|
+ public int getBaseMovement()
|
|
|
|
+ {
|
|
|
|
+ return _baseMovement;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseConfusion
|
|
|
|
+ */
|
|
|
|
+ public int getBaseConfusion()
|
|
|
|
+ {
|
|
|
|
+ return _baseConfusion;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseSleep
|
|
|
|
+ */
|
|
|
|
+ public int getBaseSleep()
|
|
|
|
+ {
|
|
|
|
+ return _baseSleep;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseAggressionVuln
|
|
|
|
+ */
|
|
|
|
+ public double getBaseAggressionVuln()
|
|
|
|
+ {
|
|
|
|
+ return _baseAggressionVuln;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseBleedVuln
|
|
|
|
+ */
|
|
|
|
+ public double getBaseBleedVuln()
|
|
|
|
+ {
|
|
|
|
+ return _baseBleedVuln;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the basePoisonVuln
|
|
|
|
+ */
|
|
|
|
+ public double getBasePoisonVuln()
|
|
|
|
+ {
|
|
|
|
+ return _basePoisonVuln;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseStunVuln
|
|
|
|
+ */
|
|
|
|
+ public double getBaseStunVuln()
|
|
|
|
+ {
|
|
|
|
+ return _baseStunVuln;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseRootVuln
|
|
|
|
+ */
|
|
|
|
+ public double getBaseRootVuln()
|
|
|
|
+ {
|
|
|
|
+ return _baseRootVuln;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseMovementVuln
|
|
|
|
+ */
|
|
|
|
+ public double getBaseMovementVuln()
|
|
|
|
+ {
|
|
|
|
+ return _baseMovementVuln;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseSleepVuln
|
|
|
|
+ */
|
|
|
|
+ public double getBaseSleepVuln()
|
|
|
|
+ {
|
|
|
|
+ return _baseSleepVuln;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseCritVuln
|
|
|
|
+ */
|
|
|
|
+ public double getBaseCritVuln()
|
|
|
|
+ {
|
|
|
|
+ return _baseCritVuln;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseMpConsumeRate
|
|
|
|
+ */
|
|
|
|
+ public int getBaseMpConsumeRate()
|
|
|
|
+ {
|
|
|
|
+ return _baseMpConsumeRate;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the baseHpConsumeRate
|
|
|
|
+ */
|
|
|
|
+ public int getBaseHpConsumeRate()
|
|
|
|
+ {
|
|
|
|
+ return _baseHpConsumeRate;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the collisionRadius
|
|
|
|
+ */
|
|
|
|
+ public int getCollisionRadius()
|
|
|
|
+ {
|
|
|
|
+ return _collisionRadius;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the collisionHeight
|
|
|
|
+ */
|
|
|
|
+ public int getCollisionHeight()
|
|
|
|
+ {
|
|
|
|
+ return _collisionHeight;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the fCollisionRadius
|
|
|
|
+ */
|
|
|
|
+ public double getfCollisionRadius()
|
|
|
|
+ {
|
|
|
|
+ return _fCollisionRadius;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return the fCollisionHeight
|
|
|
|
+ */
|
|
|
|
+ public double getfCollisionHeight()
|
|
|
|
+ {
|
|
|
|
+ return _fCollisionHeight;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param baseFire the baseFire to set
|
|
|
|
+ */
|
|
|
|
+ public void setBaseFire(int baseFire)
|
|
|
|
+ {
|
|
|
|
+ _baseFire = baseFire;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param baseWater the baseWater to set
|
|
|
|
+ */
|
|
|
|
+ public void setBaseWater(int baseWater)
|
|
|
|
+ {
|
|
|
|
+ _baseWater = baseWater;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param baseEarth the baseEarth to set
|
|
|
|
+ */
|
|
|
|
+ public void setBaseEarth(int baseEarth)
|
|
|
|
+ {
|
|
|
|
+ _baseEarth = baseEarth;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param baseWind the baseWind to set
|
|
|
|
+ */
|
|
|
|
+ public void setBaseWind(int baseWind)
|
|
|
|
+ {
|
|
|
|
+ _baseWind = baseWind;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param baseHoly the baseHoly to set
|
|
|
|
+ */
|
|
|
|
+ public void setBaseHoly(int baseHoly)
|
|
|
|
+ {
|
|
|
|
+ _baseHoly = baseHoly;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param baseDark the baseDark to set
|
|
|
|
+ */
|
|
|
|
+ public void setBaseDark(int baseDark)
|
|
|
|
+ {
|
|
|
|
+ _baseDark = baseDark;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param baseFireRes the baseFireRes to set
|
|
|
|
+ */
|
|
|
|
+ public void setBaseFireRes(double baseFireRes)
|
|
|
|
+ {
|
|
|
|
+ _baseFireRes = baseFireRes;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param baseWaterRes the baseWaterRes to set
|
|
|
|
+ */
|
|
|
|
+ public void setBaseWaterRes(double baseWaterRes)
|
|
|
|
+ {
|
|
|
|
+ _baseWaterRes = baseWaterRes;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param baseEarthRes the baseEarthRes to set
|
|
|
|
+ */
|
|
|
|
+ public void setBaseEarthRes(double baseEarthRes)
|
|
|
|
+ {
|
|
|
|
+ _baseEarthRes = baseEarthRes;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param baseWindRes the baseWindRes to set
|
|
|
|
+ */
|
|
|
|
+ public void setBaseWindRes(double baseWindRes)
|
|
|
|
+ {
|
|
|
|
+ _baseWindRes = baseWindRes;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param baseHolyRes the baseHolyRes to set
|
|
|
|
+ */
|
|
|
|
+ public void setBaseHolyRes(double baseHolyRes)
|
|
|
|
+ {
|
|
|
|
+ _baseHolyRes = baseHolyRes;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param baseDarkRes the baseDarkRes to set
|
|
|
|
+ */
|
|
|
|
+ public void setBaseDarkRes(double baseDarkRes)
|
|
|
|
+ {
|
|
|
|
+ _baseDarkRes = baseDarkRes;
|
|
}
|
|
}
|
|
}
|
|
}
|