From 197c8edb1fb75953a76adb3b5673e87ddba2ecd4 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Sat, 21 Mar 2020 11:52:44 -0400 Subject: [PATCH 1/4] mutated truffle and duke scales rarity sell price tweaks --- Items/Accessories/DukeScales.cs | 4 ++-- Items/Accessories/MutatedTruffle.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Items/Accessories/DukeScales.cs b/Items/Accessories/DukeScales.cs index 27a30bf956..37afd9fa6d 100644 --- a/Items/Accessories/DukeScales.cs +++ b/Items/Accessories/DukeScales.cs @@ -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) diff --git a/Items/Accessories/MutatedTruffle.cs b/Items/Accessories/MutatedTruffle.cs index 10382756db..5894888200 100644 --- a/Items/Accessories/MutatedTruffle.cs +++ b/Items/Accessories/MutatedTruffle.cs @@ -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; From e4279edde3d2c313c14b2163a1c0b0602cad20eb Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Sat, 21 Mar 2020 12:13:15 -0400 Subject: [PATCH 2/4] contaminated bile nerf --- Items/CalamityGlobalItem.cs | 18 +++++++++--------- Items/Weapons/Rogue/ContaminatedBile.cs | 2 +- Projectiles/Rogue/BileExplosion.cs | 2 +- Projectiles/Rogue/ContaminatedBileFlask.cs | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Items/CalamityGlobalItem.cs b/Items/CalamityGlobalItem.cs index 9fb3045d38..c258f9cd36 100644 --- a/Items/CalamityGlobalItem.cs +++ b/Items/CalamityGlobalItem.cs @@ -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) { diff --git a/Items/Weapons/Rogue/ContaminatedBile.cs b/Items/Weapons/Rogue/ContaminatedBile.cs index 0a6157b999..72e58d750e 100644 --- a/Items/Weapons/Rogue/ContaminatedBile.cs +++ b/Items/Weapons/Rogue/ContaminatedBile.cs @@ -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; diff --git a/Projectiles/Rogue/BileExplosion.cs b/Projectiles/Rogue/BileExplosion.cs index e4f669d686..17a62bab8e 100644 --- a/Projectiles/Rogue/BileExplosion.cs +++ b/Projectiles/Rogue/BileExplosion.cs @@ -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(), 180); } diff --git a/Projectiles/Rogue/ContaminatedBileFlask.cs b/Projectiles/Rogue/ContaminatedBileFlask.cs index 4c01bfd82c..e436a24213 100644 --- a/Projectiles/Rogue/ContaminatedBileFlask.cs +++ b/Projectiles/Rogue/ContaminatedBileFlask.cs @@ -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(), projectile.damage, projectile.knockBack, projectile.owner); + Projectile explosion = Projectile.NewProjectileDirect(projectile.Center, Vector2.Zero, ModContent.ProjectileType(), (int)(projectile.damage * 0.75), projectile.knockBack, projectile.owner); explosion.Calamity().stealthStrike = projectile.Calamity().stealthStrike; explosion.timeLeft = explosion.Calamity().stealthStrike ? 60 : 20; } From 8c69e9296ab1e570716d8c072a84fe960c1aebdd Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Sat, 21 Mar 2020 12:17:56 -0400 Subject: [PATCH 3/4] acid rain boss checklist changes --- ModSupport/WeakReferenceSupport.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index a8b3d02f74..9a920c9b78 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -106,8 +106,8 @@ namespace CalamityMod private static readonly Dictionary InvasionDifficulty = new Dictionary { - { "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() @@ -564,7 +564,7 @@ namespace CalamityMod 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 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); } } From 3a638cec5d007cc6280f61ca73373f28de11fd7c Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Sat, 21 Mar 2020 12:36:04 -0400 Subject: [PATCH 4/4] added Iban's acid rain image --- Events/AcidRainT1_BossChecklist.png | Bin 0 -> 4083 bytes ModSupport/WeakReferenceSupport.cs | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 Events/AcidRainT1_BossChecklist.png diff --git a/Events/AcidRainT1_BossChecklist.png b/Events/AcidRainT1_BossChecklist.png new file mode 100644 index 0000000000000000000000000000000000000000..ad2416a302a636816b54b480355eb4cd001edb09 GIT binary patch literal 4083 zcmbVPcT^K;_l8|QU7CE0B4|K#nV<*)3S`L6AmK#FD2Py{DHfKXPd zltk$S2q>_0g7juU1VLJml0-_vm*Bs@zkYM(%*?sx%=_NC_j#WC494V^zOcYa0UjP6 zVbDOwl!u2`g7cj9+ab<%@xNj$&W$&~RR1~;ks`Us!y`ffb^f~ZFk_X9^t2ldZ(pA_ zc=Y0iDex~&&NN>qHEFivmR(I1N?pizpT03~^%r*$QLvjV*_ z`j*%|i%%Q(paoN?6ula<_%3b9Z=;HEI^mapfLD%DL5`iTi-`7+s>a2vS9wjLUB<_> zub#r2SkSF2^IQ@pt;jc^J7(0=;F9zS1~mA!j7gpiQ(}nCRTw|vO_UH7dUpsF#t7{m zHur+^(zj@FfEJsiy;YqcW{CRVIzMJYn-nT@M(1U?`@~i@>vT_v*2){&qA5nr{ z<;l5gSQteL@gKV8eD5i5ic_a6+Kd3)zZZB(1|-CD zmO7%XbryW!Q_@h<9>N^T1By!b_QMVH)`Bi zU46FB5Rl-(ocX|`-U`Plg*!C?MY$E%2f8|4eIFtgBIF4UgvSxMJdL&O^!n^KgmzJr zI%fnN6puDW=0M`_k6%*~eHT|d=Um6smIXB;8F_i0wq3*hT2Nlrg57^s>$M-Ozx3GY z>L_2tU;?b-jeECB%fv}Q+am6GX-o(gc4hF45^$# zht2W&?3QKkfb;#kJ_a$yC)<{sHpE7{?;eds>h%VNnVJR*4gCFDL*3J#IHSxfqyO z;Y_V(+Jsi$O?E}AQGLp4$Q&^LU;G<0i7U{%RV5`tT&(SUEHb*C=BVPLsutCn==iy8 zZXhEVD`lT%)8TQP)fa402rSOB@sPnK--BK~d7S6zzgSw72+*ffyA1}gktXus(vU2M;#g@Hm`AH1|FImNLKNm<9tuj)&tp_zuP|txUQ!_b5+IH{tCPnHE4Dh)q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?h)XT0=8@V1|iPN_kK~9J*-S_mirqX-j53W-O Mb#LhquRA{ZAF=rY;{X5v literal 0 HcmV?d00001 diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index 9a920c9b78..43c651cb0a 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -549,7 +549,7 @@ namespace CalamityMod List collection = new List() { ItemType() }; 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,7 +562,7 @@ namespace CalamityMod List collection = new List() { ItemType() }; 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-AS)", order, enemies, DownedAcidRainHardmode, summon, loot, collection, instructions, despawn, bossLogTex, iconTexture); }