made statis' belts dash togglable by visibility

This commit is contained in:
termigator1359 committed 2019-11-24 18:17:06 -05:00
1 parent af9b79e1e0
commit 715aebf9ea
2 files changed
+8 -4

No files matched your search

+4 -2
View File
@@ -19,7 +19,8 @@ namespace CalamityMod.Items.Accessories
"Increased minion knockback\n" +
"Grants shadowflame powers to all minions\n" +
"Minions make enemies cry on hit\n" +
"Minion attacks have a chance to instantly kill normal enemies");
"Minion attacks have a chance to instantly kill normal enemies\n" +
"Toggle visibility of this accessory to enable/disable the dash");
}
public override void SetDefaults()
@@ -44,7 +45,8 @@ namespace CalamityMod.Items.Accessories
player.jumpSpeedBoost += 1.2f;
player.extraFall += 50;
player.blackBelt = true;
player.dash = 1;
if (!hideVisual)
player.dash = 1;
player.spikedBoots = 2;
player.Calamity().throwingDamage += 0.1f;
player.Calamity().throwingCrit += 5;
+4 -2
View File
@@ -14,7 +14,8 @@ namespace CalamityMod.Items.Accessories
Tooltip.SetDefault("Increases jump speed and allows constant jumping\n" +
"Can climb walls, dash, and dodge attacks\n" +
"5% increased rogue damage and velocity\n" +
"5% increased rogue crit chance");
"5% increased rogue crit chance\n" +
"Toggle visibility of this accessory to enable/disable the dash");
}
public override void SetDefaults()
@@ -33,7 +34,8 @@ namespace CalamityMod.Items.Accessories
player.jumpSpeedBoost += 0.4f;
player.extraFall += 35;
player.blackBelt = true;
player.dash = 1;
if (!hideVisual)
player.dash = 1;
player.spikedBoots = 2;
modPlayer.throwingDamage += 0.05f;
modPlayer.throwingCrit += 5;