"Enhanced Stalinium items and effects. Increased speed, knockback resistance, and added attack speed to StaliniumChargeEffect for better combat utility. Adjusted StaliniumSwordItem cooldown and implemented ally boost effect on hit. Made all tools implement hurtEnemy for consistency. Removed unnecessary getMaxDamage overrides and kept items unbreakable. Minor cleanup in code formatting."

This commit is contained in:
IM23a-spirgif
2025-05-27 09:51:01 +02:00
parent 7007a9684b
commit ef9489574e
5 changed files with 54 additions and 34 deletions
@@ -13,14 +13,20 @@ public class StaliniumChargeEffect extends MobEffect {
this.addAttributeModifier(
Attributes.MOVEMENT_SPEED,
ResourceLocation.fromNamespaceAndPath(Stalinium.MODID, "stalinium_charge_speed"),
0.2,
0.25,
AttributeModifier.Operation.ADD_MULTIPLIED_BASE
);
this.addAttributeModifier(
Attributes.KNOCKBACK_RESISTANCE,
ResourceLocation.fromNamespaceAndPath(Stalinium.MODID, "stalinium_charge_knockback"),
0.5,
0.75,
AttributeModifier.Operation.ADD_VALUE
);
this.addAttributeModifier(
Attributes.ATTACK_SPEED,
ResourceLocation.fromNamespaceAndPath(Stalinium.MODID, "stalinium_charge_toughness"),
0.1,
AttributeModifier.Operation.ADD_MULTIPLIED_BASE
);
}
}