forked from Upstream/mmocore
Bug Fixing
This commit is contained in:
parent
b6ef6cd4de
commit
13b8b86b7b
@ -19,12 +19,12 @@ public class SkillBuffTrigger extends Trigger implements Removable {
|
|||||||
|
|
||||||
public SkillBuffTrigger(MMOLineConfig config) {
|
public SkillBuffTrigger(MMOLineConfig config) {
|
||||||
super(config);
|
super(config);
|
||||||
config.validateKeys("skill-modifier");
|
config.validateKeys("modifier");
|
||||||
config.validateKeys("amount");
|
config.validateKeys("amount");
|
||||||
config.validateKeys("formula");
|
config.validateKeys("formula");
|
||||||
config.validateKeys("type");
|
config.validateKeys("type");
|
||||||
amount = config.getDouble("amount");
|
amount = config.getDouble("amount");
|
||||||
String skillModifier = config.getString("skill-modifier");
|
String skillModifier = config.getString("modifier");
|
||||||
String formula = config.getString("formula");
|
String formula = config.getString("formula");
|
||||||
List<String> targetSkills = new ArrayList<>();
|
List<String> targetSkills = new ArrayList<>();
|
||||||
for (RegisteredSkill skill : MMOCore.plugin.skillManager.getAll()) {
|
for (RegisteredSkill skill : MMOCore.plugin.skillManager.getAll()) {
|
||||||
|
2
pom.xml
2
pom.xml
@ -75,7 +75,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.lumine</groupId>
|
<groupId>io.lumine</groupId>
|
||||||
<artifactId>MythicLib-dist</artifactId>
|
<artifactId>MythicLib-dist</artifactId>
|
||||||
<version>1.5.1-SNAPSHOT</version>
|
<version>1.5.2-SNAPSHOT</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user