remove msg about in development skills

This commit is contained in:
nossr50 2024-08-03 11:45:50 -07:00
parent 3065c71c25
commit 684583c19b
6 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,9 @@
Version 2.2.019
Maces, Crossbows, and Tridents skill commands don't warn you that they are work in progress anymore.
NOTES:
Maces, Crossbows, and Tridents are still in development, the change to remove that info from the skill command was to reduce the visual noise.
I think at this point users will get it, they are still going to have changes, you don't need to see that message everytime you use the skill command.
Version 2.2.018 Version 2.2.018
Fixed a probability bug where certain skills would max out in chance to succeed well before they were supposed to (such as Dodge) Fixed a probability bug where certain skills would max out in chance to succeed well before they were supposed to (such as Dodge)
Blast Mining will no longer drop mob spawners (see notes) Blast Mining will no longer drop mob spawners (see notes)

View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.gmail.nossr50.mcMMO</groupId> <groupId>com.gmail.nossr50.mcMMO</groupId>
<artifactId>mcMMO</artifactId> <artifactId>mcMMO</artifactId>
<version>2.2.018</version> <version>2.2.019-SNAPSHOT</version>
<name>mcMMO</name> <name>mcMMO</name>
<url>https://github.com/mcMMO-Dev/mcMMO</url> <url>https://github.com/mcMMO-Dev/mcMMO</url>
<scm> <scm>

View File

@ -59,8 +59,6 @@ public class CrossbowsCommand extends SkillCommand {
String.valueOf(CombatUtils.getLimitBreakDamageAgainstQuality(player, CROSSBOWS_CROSSBOWS_LIMIT_BREAK, 1000)))); String.valueOf(CombatUtils.getLimitBreakDamageAgainstQuality(player, CROSSBOWS_CROSSBOWS_LIMIT_BREAK, 1000))));
} }
messages.add(ChatColor.GRAY + "The Crossbows skill is a work in progress and is still being developed, feedback would be appreciated in the mcMMO discord server.");
return messages; return messages;
} }

View File

@ -65,8 +65,6 @@ public class MacesCommand extends SkillCommand {
String.valueOf(mmoPlayer.getMacesManager().getCrushDamage()))); String.valueOf(mmoPlayer.getMacesManager().getCrushDamage())));
} }
messages.add(ChatColor.GRAY + "The Maces skill is a work in progress and is still being developed," +
" feedback would be appreciated in the mcMMO discord server.");
return messages; return messages;
} }

View File

@ -41,7 +41,6 @@ public class TridentsCommand extends SkillCommand {
String.valueOf(mmoPlayer.getTridentsManager().impaleDamageBonus()))); String.valueOf(mmoPlayer.getTridentsManager().impaleDamageBonus())));
} }
messages.add(ChatColor.GRAY + "The Tridents skill is a work in progress and is still being developed, feedback would be appreciated in the mcMMO discord server.");
return messages; return messages;
} }

View File

@ -18,6 +18,8 @@ import java.io.IOException;
import java.util.*; import java.util.*;
import java.util.logging.Level; import java.util.logging.Level;
import static com.gmail.nossr50.util.skills.SkillUtils.getRepairAndSalvageQuantities;
public class SalvageConfig extends BukkitConfig { public class SalvageConfig extends BukkitConfig {
private final HashSet<String> notSupported; private final HashSet<String> notSupported;
private Set<Salvageable> salvageables; private Set<Salvageable> salvageables;
@ -143,7 +145,9 @@ public class SalvageConfig extends BukkitConfig {
} }
// Maximum Quantity // Maximum Quantity
int maximumQuantity = (itemMaterial != null ? SkillUtils.getRepairAndSalvageQuantities(itemMaterial, salvageMaterial) : config.getInt("Salvageables." + key + ".MaximumQuantity", 1)); int maximumQuantity = itemMaterial != null
? getRepairAndSalvageQuantities(itemMaterial, salvageMaterial)
: config.getInt("Salvageables." + key + ".MaximumQuantity", 1);
if (maximumQuantity <= 0 && itemMaterial != null) { if (maximumQuantity <= 0 && itemMaterial != null) {
maximumQuantity = config.getInt("Salvageables." + key + ".MaximumQuantity", 1); maximumQuantity = config.getInt("Salvageables." + key + ".MaximumQuantity", 1);