Remove explosion from rupture, and rupture bug fixes and other tweaks

This commit is contained in:
nossr50
2021-04-23 11:13:59 -07:00
parent d67c561fed
commit f983f95961
8 changed files with 57 additions and 44 deletions

View File

@@ -63,6 +63,9 @@ public class SwordsManager extends SkillManager {
* @param target The defending entity
*/
public void processRupture(@NotNull LivingEntity target) {
if(!canUseRupture())
return;
if(target.hasMetadata(mcMMO.RUPTURE_META_KEY)) {
RuptureTaskMeta ruptureTaskMeta = (RuptureTaskMeta) target.getMetadata(mcMMO.RUPTURE_META_KEY).get(0);
@@ -134,10 +137,6 @@ public class SwordsManager extends SkillManager {
return 1;
}
public int getRuptureBleedTicks(boolean isTargetPlayer) {
return mcMMO.p.getAdvancedConfig().getRuptureDurationSeconds(isTargetPlayer) / RuptureTask.DAMAGE_TICK_INTERVAL;
}
/**
* Handle the effects of the Counter Attack ability
*