This commit is contained in:
DominicKarma42 committed 2020-03-21 12:31:58 -05:00
commit 6d990669d0
8 files changed
+20 -20

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

+2 -2
View File
@@ -19,10 +19,10 @@ namespace CalamityMod.Items.Accessories
{
item.width = 28;
item.height = 26;
item.value = Item.buyPrice(0, 60, 0, 0);
item.value = Item.buyPrice(0, 80, 0, 0);
item.accessory = true;
item.rare = 10;
item.Calamity().customRarity = (CalamityRarity)12;
item.Calamity().postMoonLordRarity = 13;
}
public override void UpdateAccessory(Player player, bool hideVisual)
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Items.Accessories
{
item.width = 24;
item.height = 26;
item.value = Item.buyPrice(2, 50, 0, 0);
item.value = Item.buyPrice(0, 80, 0, 0);
item.rare = 10;
item.expert = true;
item.accessory = true;
+9 -9
View File
@@ -649,7 +649,7 @@ namespace CalamityMod.Items
}
if (item.type == ItemID.MonkStaffT1)
{
for (int i = 0; i < 1000; ++i)
for (int i = 0; i < Main.maxProjectiles; ++i)
{
if (Main.projectile[i].active && Main.projectile[i].owner == Main.myPlayer && Main.projectile[i].type == item.shoot)
{
@@ -2247,7 +2247,7 @@ Provides heat and cold protection in Death Mode";
}
if (item.accessory)
{
if (item.prefix == 67)
if (item.prefix == PrefixID.Precise)
{
foreach (TooltipLine line2 in tooltips)
{
@@ -2257,7 +2257,7 @@ Provides heat and cold protection in Death Mode";
}
}
}
if (item.prefix == 68)
if (item.prefix == PrefixID.Lucky)
{
foreach (TooltipLine line2 in tooltips)
{
@@ -2267,7 +2267,7 @@ Provides heat and cold protection in Death Mode";
}
}
}
if (item.prefix == 62)
if (item.prefix == PrefixID.Hard)
{
string defenseBoost = "+1 defense\n";
if (NPC.downedMoonlord)
@@ -2286,7 +2286,7 @@ Provides heat and cold protection in Death Mode";
}
}
}
if (item.prefix == 63)
if (item.prefix == PrefixID.Guarding)
{
string defenseBoost = "+2 defense\n";
if (NPC.downedMoonlord)
@@ -2305,7 +2305,7 @@ Provides heat and cold protection in Death Mode";
}
}
}
if (item.prefix == 64)
if (item.prefix == PrefixID.Armored)
{
string defenseBoost = "+3 defense\n";
if (NPC.downedMoonlord)
@@ -2324,7 +2324,7 @@ Provides heat and cold protection in Death Mode";
}
}
}
if (item.prefix == 65)
if (item.prefix == PrefixID.Warding)
{
string defenseBoost = "+4 defense\n";
if (NPC.downedMoonlord)
@@ -3048,7 +3048,7 @@ Provides heat and cold protection in Death Mode";
bool flag = false;
bool canShoot = false;
for (int i = 54; i < 58; i++)
for (int i = 54; i < Main.maxInventory; i++)
{
if (player.inventory[i].ammo == item.useAmmo && (player.inventory[i].stack >= ammoConsumed || !player.inventory[i].consumable))
{
@@ -3078,7 +3078,7 @@ Provides heat and cold protection in Death Mode";
bool flag = false;
bool dontConsumeAmmo = false;
for (int i = 54; i < 58; i++)
for (int i = 54; i < Main.maxInventory; i++)
{
if (player.inventory[i].ammo == item.useAmmo && player.inventory[i].stack >= ammoConsumed)
{
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void SafeSetDefaults()
{
item.damage = 11;
item.damage = 9;
item.width = item.height = 24;
item.useAnimation = item.useTime = 31;
item.noMelee = true;
+5 -5
View File
@@ -106,8 +106,8 @@ namespace CalamityMod
private static readonly Dictionary<string, float> InvasionDifficulty = new Dictionary<string, float>
{
{ "Acid Rain Initial", 2.5f },
{ "Acid Rain Aquatic Scourge", 8.8f }
{ "Acid Rain Initial", 2.4f },
{ "Acid Rain Aquatic Scourge", 8.51f }
};
public static void Setup()
@@ -549,7 +549,7 @@ namespace CalamityMod
List<int> collection = new List<int>() { ItemType<RadiatingCrystal>() };
string instructions = $"Use a [i:{summon}] or wait for the invasion to occur naturally after the Eye of Cthulhu is defeated.";
string despawn = CalamityUtils.ColorMessage("The mysterious creatures of the sulphuric sea descended back into the ocean.", new Color(146, 183, 116));
string bossLogTex = "CalamityMod/NPCs/DesertScourge/DesertScourge_BossChecklist";
string bossLogTex = "CalamityMod/Events/AcidRainT1_BossChecklist";
string iconTexture = "CalamityMod/ExtraTextures/UI/AcidRainIcon";
AddInvasion(bossChecklist, calamity, "Acid Rain", order, enemies, DownedAcidRainInitial, summon, loot, collection, instructions, despawn, bossLogTex, iconTexture);
}
@@ -562,9 +562,9 @@ namespace CalamityMod
List<int> collection = new List<int>() { ItemType<RadiatingCrystal>() };
string instructions = $"Use a [i:{summon}] or wait for the invasion to occur naturally after the Aquatic Scourge is defeated";
string despawn = CalamityUtils.ColorMessage("The mysterious creatures of the sulphuric sea descended back into the deep ocean.", new Color(146, 183, 116));
string bossLogTex = "CalamityMod/NPCs/DesertScourge/DesertScourge_BossChecklist";
string bossLogTex = "CalamityMod/Events/AcidRainT1_BossChecklist";
string iconTexture = "CalamityMod/ExtraTextures/UI/AcidRainIcon";
AddInvasion(bossChecklist, calamity, "Acid Rain (Post-Aquatic Scourge)", order, enemies, DownedAcidRainHardmode, summon, loot, collection, instructions, despawn, bossLogTex, iconTexture);
AddInvasion(bossChecklist, calamity, "Acid Rain (Post-AS)", order, enemies, DownedAcidRainHardmode, summon, loot, collection, instructions, despawn, bossLogTex, iconTexture);
}
}
+1 -1
View File
@@ -42,7 +42,7 @@ namespace CalamityMod.Projectiles.Rogue
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
target.immune[projectile.owner] = 6;
target.immune[projectile.owner] = 9;
target.AddBuff(ModContent.BuffType<Irradiated>(), 180);
}
+1 -1
View File
@@ -36,7 +36,7 @@ namespace CalamityMod.Projectiles.Rogue
public override void Kill(int timeLeft)
{
Main.PlaySound(SoundID.Item107, projectile.Bottom);
Projectile explosion = Projectile.NewProjectileDirect(projectile.Center, Vector2.Zero, ModContent.ProjectileType<BileExplosion>(), projectile.damage, projectile.knockBack, projectile.owner);
Projectile explosion = Projectile.NewProjectileDirect(projectile.Center, Vector2.Zero, ModContent.ProjectileType<BileExplosion>(), (int)(projectile.damage * 0.75), projectile.knockBack, projectile.owner);
explosion.Calamity().stealthStrike = projectile.Calamity().stealthStrike;
explosion.timeLeft = explosion.Calamity().stealthStrike ? 60 : 20;
}