NPC stat removal.
This commit is contained in:
@ -163,14 +163,6 @@ public class CharStat
|
||||
return (float) (((1.1) * getPAtkSpd()) / _activeChar.getTemplate().getBasePAtkSpd());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the CON of the L2Character (base+modifier).
|
||||
*/
|
||||
public final int getCON()
|
||||
{
|
||||
return (int) calcStat(Stats.STAT_CON, _activeChar.getTemplate().getBaseCON());
|
||||
}
|
||||
|
||||
/**
|
||||
* @param target
|
||||
* @param init
|
||||
@ -216,14 +208,6 @@ public class CharStat
|
||||
return (int) calcStat(Stats.CRITICAL_RATE_POS, base);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the DEX of the L2Character (base+modifier).
|
||||
*/
|
||||
public final int getDEX()
|
||||
{
|
||||
return (int) calcStat(Stats.STAT_DEX, _activeChar.getTemplate().getBaseDEX());
|
||||
}
|
||||
|
||||
/**
|
||||
* @param target
|
||||
* @return the Attack Evasion rate (base+modifier) of the L2Character.
|
||||
@ -266,14 +250,6 @@ public class CharStat
|
||||
_exp = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the INT of the L2Character (base+modifier).
|
||||
*/
|
||||
public int getINT()
|
||||
{
|
||||
return (int) calcStat(Stats.STAT_INT, _activeChar.getTemplate().getBaseINT());
|
||||
}
|
||||
|
||||
public byte getLevel()
|
||||
{
|
||||
return _level;
|
||||
@ -410,6 +386,30 @@ public class CharStat
|
||||
return calcStat(Stats.MAGIC_DEFENCE, defence, target, skill);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the CON of the L2Character (base+modifier).
|
||||
*/
|
||||
public final int getCON()
|
||||
{
|
||||
return (int) calcStat(Stats.STAT_CON, _activeChar.getTemplate().getBaseCON());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the DEX of the L2Character (base+modifier).
|
||||
*/
|
||||
public final int getDEX()
|
||||
{
|
||||
return (int) calcStat(Stats.STAT_DEX, _activeChar.getTemplate().getBaseDEX());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the INT of the L2Character (base+modifier).
|
||||
*/
|
||||
public int getINT()
|
||||
{
|
||||
return (int) calcStat(Stats.STAT_INT, _activeChar.getTemplate().getBaseINT());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the MEN of the L2Character (base+modifier).
|
||||
*/
|
||||
@ -418,11 +418,33 @@ public class CharStat
|
||||
return (int) calcStat(Stats.STAT_MEN, _activeChar.getTemplate().getBaseMEN());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the STR of the L2Character (base+modifier).
|
||||
*/
|
||||
public final int getSTR()
|
||||
{
|
||||
return (int) calcStat(Stats.STAT_STR, _activeChar.getTemplate().getBaseSTR());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the WIT of the L2Character (base+modifier).
|
||||
*/
|
||||
public final int getWIT()
|
||||
{
|
||||
return (int) calcStat(Stats.STAT_WIT, _activeChar.getTemplate().getBaseWIT());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the LUC of the L2Character (base+modifier).
|
||||
*/
|
||||
public final int getLUC()
|
||||
{
|
||||
return (int) calcStat(Stats.STAT_LUC, _activeChar.getTemplate().getBaseLUC());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the CHA of the L2Character (base+modifier).
|
||||
*/
|
||||
public final int getCHA()
|
||||
{
|
||||
return (int) calcStat(Stats.STAT_CHA, _activeChar.getTemplate().getBaseCHA());
|
||||
@ -633,22 +655,6 @@ public class CharStat
|
||||
_sp = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the STR of the L2Character (base+modifier).
|
||||
*/
|
||||
public final int getSTR()
|
||||
{
|
||||
return (int) calcStat(Stats.STAT_STR, _activeChar.getTemplate().getBaseSTR());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the WIT of the L2Character (base+modifier).
|
||||
*/
|
||||
public final int getWIT()
|
||||
{
|
||||
return (int) calcStat(Stats.STAT_WIT, _activeChar.getTemplate().getBaseWIT());
|
||||
}
|
||||
|
||||
/**
|
||||
* @param skill
|
||||
* @return the mpConsume.
|
||||
|
Reference in New Issue
Block a user