- Added all referenced libraries for eclipse to perform as it should.
- Renamed AuctionManager into ClanHallAuctionManager. - Created Comission (Auction house) system. - Reworked vitality system from account based to subclass based.
This commit is contained in:
@ -35,6 +35,8 @@ public final class SubClass
|
||||
private long _sp = 0;
|
||||
private byte _level = Config.BASE_SUBCLASS_LEVEL;
|
||||
private int _classIndex = 1;
|
||||
|
||||
private int _vitalityPoints = 140000;
|
||||
private boolean _dualClass = false;
|
||||
|
||||
public SubClass()
|
||||
@ -68,6 +70,11 @@ public final class SubClass
|
||||
return _level;
|
||||
}
|
||||
|
||||
public int getVitalityPoints()
|
||||
{
|
||||
return _vitalityPoints;
|
||||
}
|
||||
|
||||
/**
|
||||
* First Sub-Class is index 1.
|
||||
* @return int _classIndex
|
||||
@ -126,6 +133,11 @@ public final class SubClass
|
||||
_level = levelValue;
|
||||
}
|
||||
|
||||
public void setVitalityPoints(int vit)
|
||||
{
|
||||
_vitalityPoints = vit;
|
||||
}
|
||||
|
||||
public void incLevel()
|
||||
{
|
||||
if (!_dualClass && (getLevel() == _maxLevel))
|
||||
|
Reference in New Issue
Block a user