parent
dbc6dc05fd
commit
93c37e2d12
3 changed files with 84 additions and 28 deletions
@ -1,31 +1,88 @@ |
||||
package org.poopki.duckdns.user_db; |
||||
|
||||
public class Status { |
||||
int m_HP; |
||||
int m_MP; |
||||
int m_Level; |
||||
int m_BASE_HP; |
||||
int m_BASE_MP; |
||||
int m_BASE_STR; |
||||
int m_BASE_DEX; |
||||
int m_BASE_INT; |
||||
int m_BASE_LUK; |
||||
|
||||
int m_BASE_PATK; |
||||
int m_BASE_PDEF; |
||||
int m_BASE_MATK; |
||||
int m_BASE_MDEF; |
||||
|
||||
int m_EQ_HP; |
||||
int m_EQ_MP; |
||||
|
||||
int m_STR; |
||||
int m_DEX; |
||||
int m_INT; |
||||
int m_LUK; |
||||
int m_EQ_STR; |
||||
int m_EQ_DEX; |
||||
int m_EQ_INT; |
||||
int m_EQ_LUK; |
||||
|
||||
int m_PATK; |
||||
int m_PDEF; |
||||
int m_MATK; |
||||
int m_MDEF; |
||||
int m_EQ_PATK; |
||||
int m_EQ_PDEF; |
||||
int m_EQ_MATK; |
||||
int m_EQ_MDEF; |
||||
|
||||
int m_EXP; |
||||
int m_MAX_EXP; |
||||
int m_Level; |
||||
//방어율 = (방어력 / (100 + 방어력)
|
||||
//Add Equipment Class instance
|
||||
public Status(int HP, int MP, int Level, int STR, int DEX, int INT, int LUK){ |
||||
m_HP = HP; |
||||
m_MP = MP; |
||||
m_BASE_HP = HP; |
||||
m_BASE_MP = MP; |
||||
m_Level = Level; |
||||
|
||||
m_STR = STR; |
||||
m_DEX = DEX; |
||||
m_INT = INT; |
||||
m_LUK = LUK; |
||||
m_BASE_STR = STR; |
||||
m_BASE_DEX = DEX; |
||||
m_BASE_INT = INT; |
||||
m_BASE_LUK = LUK; |
||||
} |
||||
|
||||
public int GetHP(){return m_HP;} |
||||
public int GetBaseHP(){return m_BASE_HP;} |
||||
public int GetBaseMP(){return m_BASE_MP;} |
||||
public int GetBaseSTR(){return m_BASE_STR;} |
||||
public int GetBaseDEX(){return m_BASE_DEX;} |
||||
public int GetBaseINT(){return m_BASE_INT;} |
||||
public int GetBaseLUK(){return m_BASE_LUK;} |
||||
public int GetEXP(){return m_EXP;} |
||||
public int GetMaxEXP(){return m_MAX_EXP;} |
||||
public int GetLevel(){return m_Level;} |
||||
|
||||
public int SetBaseHP(HP){m_BASE_HP=HP;} |
||||
public int SetBaseMP(MP){m_BASE_MP=MP;} |
||||
public int SetBaseSTR(STR){m_BASE_STR=STR;} |
||||
public int SetBaseDEX(DEX){m_BASE_DEX=DEX;} |
||||
public int SetBaseINT(INT){m_BASE_INT=INT;} |
||||
public int SetBaseLUK(LUK){m_BASE_LUK=LUK;} |
||||
public int SetEXP(EXP){m_EXP=EXP;} |
||||
public int SetMaxEXP(EXP){m_MAX_EXP=EXP;} |
||||
public int SetLevel(Level){m_Level=Level;} |
||||
|
||||
public int GetBasePATK(){return m_BASE_PATK;} |
||||
public int GetBasePDEF(){return m_BASE_PDEF;} |
||||
public int GetBaseMATK(){return m_BASE_MATK;} |
||||
public int GetBaseMDEF(){return m_BASE_MDEF;} |
||||
|
||||
public int GetEqHP(){return m_EQ_HP;} |
||||
public int GetEqMP(){return m_EQ_MP;} |
||||
public int GetEqSTR(){return m_EQ_STR;} |
||||
public int GetEqDEX(){return m_EQ_DEX;} |
||||
public int GetEqINT(){return m_EQ_INT;} |
||||
public int GetEqLUK(){return m_EQ_LUK;} |
||||
|
||||
public int SetEqHP(HP){m_EQ_HP=HP;} |
||||
public int SetEqMP(MP){m_EQ_MP=MP;} |
||||
public int SetEqSTR(STR){m_EQ_STR=STR;} |
||||
public int SetEqDEX(DEX){m_EQ_DEX=DEX;} |
||||
public int SetEqINT(INT){m_EQ_INT=INT;} |
||||
public int SetEqLUK(LUK){m_EQ_LUK=LUK;} |
||||
|
||||
public int GetEqPATK(){return m_EQ_PATK;} |
||||
public int GetEqPDEF(){return m_EQ_PDEF;} |
||||
public int GetEqMATK(){return m_EQ_MATK;} |
||||
public int GetEqMDEF(){return m_EQ_MDEF;} |
||||
} |
||||
|
Loading…
Reference in new issue