As Suggested by Alex-0000, migrated from DBCP to HikariCP (uses less external JARs and got a cleaner code overall). Fixed some issues regarding pets, such as evolving or hatching from egg. Added dojo skills and fixed energy bar. Added missing upgrade books on drop data.
61 lines
1.2 KiB
Java
61 lines
1.2 KiB
Java
package server.partyquest.mcpq;
|
|
|
|
/*
|
|
* To change this license header, choose License Headers in Project Properties.
|
|
* To change this template file, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
/**
|
|
* Object representing MCSkill in Skill.wz/MCSkill.img.
|
|
*
|
|
* @author s4nta
|
|
*/
|
|
public class MCSkill {
|
|
private final int id, target, mobSkillID, level, spendCP;
|
|
private String name, desc;
|
|
|
|
public MCSkill(int id, int target, int mobSkillID, int level, int spendCP) {
|
|
this.id = id;
|
|
this.target = target;
|
|
this.mobSkillID = mobSkillID;
|
|
this.level = level;
|
|
this.spendCP = spendCP;
|
|
}
|
|
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
|
|
public int getTarget() {
|
|
return target;
|
|
}
|
|
|
|
public int getMobSkillID() {
|
|
return mobSkillID;
|
|
}
|
|
|
|
public int getLevel() {
|
|
return level;
|
|
}
|
|
|
|
public int getSpendCP() {
|
|
return spendCP;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getDesc() {
|
|
return desc;
|
|
}
|
|
|
|
public void setDesc(String desc) {
|
|
this.desc = desc;
|
|
}
|
|
} |