Fixed minor compile issues.

This commit is contained in:
Ozzatron committed 2019-10-11 17:00:31 -04:00
1 parent 41d6ec588e
commit 3fa055166c
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ namespace CalamityMod.Items.Accessories.Wings
player.armor[1].type == mod.ItemType("DaedalusBreastplate") && player.armor[2].type == mod.ItemType("DaedalusLeggings"))
{
player.allDamage += 0.05f;
player.GetCalamityPlayer().AllCritBoost(5);
player.Calamity().AllCritBoost(5);
}
if (player.controlJump && player.wingTime > 0f && !player.jumpAgainCloud && player.jump == 0 && player.velocity.Y != 0f && !hideVisual)
+2 -2
View File
@@ -34,8 +34,8 @@ namespace CalamityMod.Items.Accessories.Wings
{
if (player.armor[0].type == mod.ItemType("XerocMask") && player.armor[1].type == mod.ItemType("XerocPlateMail") && player.armor[2].type == mod.ItemType("XerocCuisses"))
{
player.GetCalamityPlayer().throwingDamage += 0.05f;
player.GetCalamityPlayer().throwingCrit += 5;
player.Calamity().throwingDamage += 0.05f;
player.Calamity().throwingCrit += 5;
}
if (player.controlJump && player.wingTime > 0f && !player.jumpAgainCloud && player.jump == 0 && player.velocity.Y != 0f && !hideVisual)
+3 -3
View File
@@ -232,9 +232,9 @@ namespace CalamityMod.NPCs.BrimstoneWaifu
npc.position = position;
for (int n = 0; n < 50; n++)
{
int num39 = Dust.NewDust(npc.position, npc.width, npc.height, 235, npc.velocity.X * 0.5f, npc.velocity.Y * 0.5f, 90, default, 1f);
Main.dust[dust].velocity *= 0.2f;
Main.dust[num39].noGravity = true;
int warpDust = Dust.NewDust(npc.position, npc.width, npc.height, 235, npc.velocity.X * 0.5f, npc.velocity.Y * 0.5f, 90, default, 1f);
Main.dust[warpDust].velocity *= 0.2f;
Main.dust[warpDust].noGravity = true;
}
npc.ai[0] = 2f;
npc.netUpdate = true;