mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-03 06:37:47 +01:00
removed comment, added MMOCore stats
This commit is contained in:
parent
e85274e39a
commit
be97754168
@ -55,7 +55,6 @@ public class AttackResult {
|
||||
return damage;
|
||||
}
|
||||
|
||||
// not used in MMOItems
|
||||
public boolean isDamageModified() {
|
||||
return initial != damage;
|
||||
}
|
||||
|
@ -33,8 +33,8 @@ public class MMOCoreHook implements RPGHandler, Listener {
|
||||
*/
|
||||
MMOCore.plugin.damage.registerHandler(new MMOCoreDamageHandler());
|
||||
|
||||
MMOItems.plugin.getStats().register(StatType.COOLDOWN_REDUCTION.name(), new DoubleStat(new ItemStack(Material.BOOK), "Skill Cooldown Reduction", new String[] { "(%) Reduces cooldowns of MMOCore skills." }, "skill-cooldown-reduction"));
|
||||
MMOItems.plugin.getStats().register(StatType.ADDITIONAL_EXPERIENCE.name(), new DoubleStat(new ItemStack(Material.EXPERIENCE_BOTTLE), "Additional Experience", new String[] { "Additional % MMOCore main class experience." }, "additional-experience"));
|
||||
MMOItems.plugin.getStats().register("COOLDOWN_REDUCTION", new DoubleStat(new ItemStack(Material.BOOK), "Skill Cooldown Reduction", new String[] { "(%) Reduces cooldowns of MMOCore skills." }, "skill-cooldown-reduction"));
|
||||
MMOItems.plugin.getStats().register("ADDITIONAL_EXPERIENCE", new DoubleStat(new ItemStack(Material.EXPERIENCE_BOTTLE), "Additional Experience", new String[] { "Additional % MMOCore main class experience." }, "additional-experience"));
|
||||
for (DamageType type : DamageType.values())
|
||||
MMOItems.plugin.getStats().register(type.name() + "_DAMAGE", new DoubleStat(new ItemStack(Material.GRAY_DYE), MMOUtils.caseOnWords(type.name().toLowerCase().replace("_", " ")) + " Damage (MMOCore)", new String[] { "Additional % MMOCore main class experience." }, "additional-experience"));
|
||||
}
|
||||
|
@ -31,8 +31,7 @@ public class MMOCoreMMOLoader implements MMOLoader {
|
||||
* register extra conditions for MMOItems crafting.
|
||||
*/
|
||||
MMOItems.plugin.getCrafting().registerCondition(new ProfessionCondition());
|
||||
MMOItems.plugin.getCrafting().registerTrigger(new ExperienceCraftingTrigger());
|
||||
}
|
||||
MMOItems.plugin.getCrafting().registerTrigger(new ExperienceCraftingTrigger());}
|
||||
|
||||
@Override
|
||||
public Condition loadCondition(MMOLineConfig config) {
|
||||
|
Loading…
Reference in New Issue
Block a user