Using HikariCP + Pet issues + Dojo skills

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.
This commit is contained in:
ronancpl
2017-08-25 21:20:19 -03:00
parent 99062b1bb3
commit 001125ccdb
106 changed files with 3719 additions and 1455 deletions

61
docs/mcpq/MCSkill.java Normal file
View File

@@ -0,0 +1,61 @@
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;
}
}