forked from Upstream/mmocore
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
c03400228f
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,10 +1,12 @@
|
||||
bin/
|
||||
.m2/
|
||||
target/
|
||||
.settings/
|
||||
.idea/
|
||||
.classpath
|
||||
.project
|
||||
dependency-reduced-pom.xml
|
||||
.flattened-pom.xml
|
||||
MMOCore.eml
|
||||
MMOCore.iml
|
||||
dependency-reduced-pom.xml
|
||||
/MMOCore-API/MMOCore-API.iml
|
||||
/MMOCore-Dist/MMOCore-Dist.iml
|
||||
|
@ -1,11 +0,0 @@
|
||||
image: maven:3-openjdk-16-slim
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- mvn clean package
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
script:
|
||||
- mvn deploy
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="minecraft" name="Minecraft">
|
||||
<configuration>
|
||||
<autoDetectTypes>
|
||||
<platformType>SPIGOT</platformType>
|
||||
<platformType>MCP</platformType>
|
||||
<platformType>BUKKIT</platformType>
|
||||
</autoDetectTypes>
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="McpModuleSettings">
|
||||
<option name="srgType" value="SRG" />
|
||||
</component>
|
||||
</module>
|
@ -15,16 +15,14 @@ public class Booster {
|
||||
/**
|
||||
* Length is not final because boosters can stacks. This allows to reduce
|
||||
* the amount of boosters displayed in the main player menu
|
||||
*
|
||||
* <p>
|
||||
* See {@link BoosterManager#register(Booster)}
|
||||
*/
|
||||
private long length;
|
||||
|
||||
/**
|
||||
* @param extra
|
||||
* 1 for +100% experience, 3 for 300% etc.
|
||||
* @param length
|
||||
* Booster length in milliseconds
|
||||
* @param extra 1 for +100% experience, 3 for 300% etc.
|
||||
* @param length Booster length in seconds
|
||||
*/
|
||||
public Booster(double extra, long length) {
|
||||
this(null, null, extra, length);
|
||||
@ -35,7 +33,7 @@ public class Booster {
|
||||
*
|
||||
* @param author The booster creator
|
||||
* @param extra 1 for +100% experience, 3 for 300% etc.
|
||||
* @param length Booster length in milliseconds
|
||||
* @param length Booster length in seconds
|
||||
*/
|
||||
public Booster(String author, double extra, long length) {
|
||||
this(author, null, extra, length);
|
||||
@ -44,14 +42,10 @@ public class Booster {
|
||||
/**
|
||||
* Profession experience booster
|
||||
*
|
||||
* @param author
|
||||
* The booster creator
|
||||
* @param profession
|
||||
* Either null for main level boosters or a specific profession
|
||||
* @param extra
|
||||
* 1 for +100% experience, 3 for 300% etc.
|
||||
* @param length
|
||||
* Booster length in milliseconds
|
||||
* @param author The booster creator
|
||||
* @param profession Either null for main level boosters or a specific profession
|
||||
* @param extra 1 for +100% experience, 3 for 300% etc.
|
||||
* @param length Booster length in seconds
|
||||
*/
|
||||
public Booster(String author, Profession profession, double extra, long length) {
|
||||
this.author = author;
|
||||
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="minecraft" name="Minecraft">
|
||||
<configuration>
|
||||
<autoDetectTypes>
|
||||
<platformType>SPIGOT</platformType>
|
||||
<platformType>MCP</platformType>
|
||||
</autoDetectTypes>
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="McpModuleSettings">
|
||||
<option name="srgType" value="SRG" />
|
||||
</component>
|
||||
</module>
|
@ -153,7 +153,7 @@ party:
|
||||
# Exp won't be split if players are too far apart.
|
||||
#
|
||||
# Set to 0 to disable
|
||||
max-exp-split-range: 50
|
||||
max-exp-split-range: 48
|
||||
|
||||
# When enabled, being in a party also splits profession exp
|
||||
profession-exp-split: false
|
||||
|
Loading…
Reference in New Issue
Block a user