Skip to content

Commit

Permalink
new: 添加旋风人技能配置
Browse files Browse the repository at this point in the history
  • Loading branch information
MATRIX-feather committed Dec 12, 2023
1 parent 9315a1a commit 98c8394
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ public static void addSkillConfigurations(List<SkillAbilityConfiguration> 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)));
Expand Down Expand Up @@ -307,5 +310,7 @@ public static void addAbilityConfigurations(List<SkillAbilityConfiguration> skil
addAbilityConfiguration(skills, EntityTypeUtils.spider(), AbilityType.SPIDER);

addAbilityConfiguration(skills, EntityType.TURTLE, AbilityType.CAN_BREATHE_UNDER_WATER);

addAbilityConfiguration(skills, EntityType.BREEZE, AbilityType.HAS_JUMP_BOOST);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public Map<SkillAbilityConfiguration, IMorphSkill<?>> getConfiguredSkills()
return "技能存储";
}

private final int targetVersion = 22;
private final int targetVersion = 23;

@Resolved
private MorphSkillHandler skillHandler;
Expand Down

0 comments on commit 98c8394

Please sign in to comment.