You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.7 KiB
88 lines
2.7 KiB
package org.poopki.duckdns.user_db; |
|
|
|
public class Status { |
|
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_EQ_STR; |
|
int m_EQ_DEX; |
|
int m_EQ_INT; |
|
int m_EQ_LUK; |
|
|
|
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_BASE_HP = HP; |
|
m_BASE_MP = MP; |
|
m_Level = Level; |
|
|
|
m_BASE_STR = STR; |
|
m_BASE_DEX = DEX; |
|
m_BASE_INT = INT; |
|
m_BASE_LUK = LUK; |
|
} |
|
|
|
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(int HP){return m_BASE_HP=HP;} |
|
public int SetBaseMP(int MP){return m_BASE_MP=MP;} |
|
public int SetBaseSTR(int STR){return m_BASE_STR=STR;} |
|
public int SetBaseDEX(int DEX){return m_BASE_DEX=DEX;} |
|
public int SetBaseINT(int INT){return m_BASE_INT=INT;} |
|
public int SetBaseLUK(int LUK){return m_BASE_LUK=LUK;} |
|
public int SetEXP(int EXP){return m_EXP=EXP;} |
|
public int SetMaxEXP(int EXP){return m_MAX_EXP=EXP;} |
|
public int SetLevel(int Level){return 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(int HP){return m_EQ_HP=HP;} |
|
public int SetEqMP(int MP){return m_EQ_MP=MP;} |
|
public int SetEqSTR(int STR){return m_EQ_STR=STR;} |
|
public int SetEqDEX(int DEX){return m_EQ_DEX=DEX;} |
|
public int SetEqINT(int INT){return m_EQ_INT=INT;} |
|
public int SetEqLUK(int LUK){return 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;} |
|
}
|
|
|