diff --git a/src/main/java/xiamomc/morph/skills/DefaultConfigGenerator.java b/src/main/java/xiamomc/morph/skills/DefaultConfigGenerator.java index 3175c02f..3be5cc75 100644 --- a/src/main/java/xiamomc/morph/skills/DefaultConfigGenerator.java +++ b/src/main/java/xiamomc/morph/skills/DefaultConfigGenerator.java @@ -172,6 +172,9 @@ public static void addSkillConfigurations(List skills .withDelay(DisguiseUtils.GHAST_EXECUTE_DELAY) .withWarningSound("entity.ghast.warn"))); + addSkillConfiguration(skills, EntityType.BREEZE, 40, SkillType.LAUNCH_PROJECTIVE, c -> + c.addOption(SkillType.LAUNCH_PROJECTIVE, new ProjectiveConfiguration(EntityType.WIND_CHARGE, 1, "entity.breeze.shoot", 16))); + //药效 addSkillConfiguration(skills, EntityType.DOLPHIN, 180, SkillType.APPLY_EFFECT, c -> c.addOption(SkillType.APPLY_EFFECT, new EffectConfiguration(PotionEffectType.DOLPHINS_GRACE.getKey().asString(), 0, 180, true, false, null, 0, 9))); @@ -307,5 +310,7 @@ public static void addAbilityConfigurations(List skil addAbilityConfiguration(skills, EntityTypeUtils.spider(), AbilityType.SPIDER); addAbilityConfiguration(skills, EntityType.TURTLE, AbilityType.CAN_BREATHE_UNDER_WATER); + + addAbilityConfiguration(skills, EntityType.BREEZE, AbilityType.HAS_JUMP_BOOST); } } diff --git a/src/main/java/xiamomc/morph/storage/skill/SkillAbilityConfigurationStore.java b/src/main/java/xiamomc/morph/storage/skill/SkillAbilityConfigurationStore.java index 630b4d4d..ce50c31d 100644 --- a/src/main/java/xiamomc/morph/storage/skill/SkillAbilityConfigurationStore.java +++ b/src/main/java/xiamomc/morph/storage/skill/SkillAbilityConfigurationStore.java @@ -62,7 +62,7 @@ public Map> getConfiguredSkills() return "技能存储"; } - private final int targetVersion = 22; + private final int targetVersion = 23; @Resolved private MorphSkillHandler skillHandler;