Commit Graph
82 Commits
Author SHA1 Message Date
Stephen Thiebaud c1ae71e028 feat: slight clean up and kill off some warnings 2025-12-04 21:42:00 -06:00
CongratsIsTrash 6b613b1288 Did cleanup on GlobalNPC
Includes the following tangible changes:
* Removed all npcSlots boosts to bosses because they're pointless when we have Boss Zen
* Removed Martian Saucer and Pirate's Curse health nerfs
* Green Jellyfish is only nerfed in pre-Hardmode
* Illuminant Bat has the same Confused infliction chance as Giant Bat, Armored Viking has the same Broken Armor infliction chance as Armored Skeleton
* Crawdad and Undead Viking no longer inflict Broken Armor or drop Armor Polish
* Toxic Sludge no longer inflicts Slow or drops Fast Clock
* Dungeon skeleton enemies no longer inflict Armor Crunch
* Decreased spawn rate boosts for Bound Goblin and Wizard
* Removed random draw override added by Fabsol for enemies (what did it do?????)
2025-11-27 15:09:37 -05:00
Doze-Zoze 43a0500951 HomingTarget set by HomeInOnSelectedNPC 2025-09-30 21:29:24 -05:00
Doze-Zoze 664e017426 merge 1.4.4 2025-09-18 17:15:50 -05:00
Doze-Zoze cae9673d76 Fixed static iframe respecting homing util 2025-08-20 17:54:09 -05:00
Doze-Zoze c8182d9d0d Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityMod into dog-tweaks 2025-08-14 15:49:45 -05:00
Cameron Ewell ba95e44779 Merge: Yharon tier flattening
This has balance implications on Exos and SCal and likely renders a ton of weapons useless due to being subpar Yharon-only options.
2025-08-08 20:12:42 -04:00
Doze-Zoze e5acd49c88 conditionalHomingRange respects iframes
HomeInOnNPC now has an option to not home in on enemies with iframes. conditionalHomingRange now does this. This has no current effect, as only Arterial Assault uses it and it doesn't pierce. However, this change has been needed on multiple branches I've been working on.
2025-08-08 11:08:56 -05:00
CongratsIsTrash 98f8745f21 Finally finished ranger
Just like pre- and post-Plant flattening, was balanced without point-blank
2025-07-27 15:51:52 -04:00
Altixal 32b2e0c437 Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityMod into dog-tweaks 2025-07-23 09:46:14 +07:00
Altixal 327e4fcc1d vanilla blast rule updates
also removed dupe demon altar (pointless)
2025-07-13 13:37:38 +07:00
Doze-Zoze 8eea82d8e9 homing projectiles ignore segments when homing 2025-06-19 11:08:16 -05:00
CongratsIsTrash 87dc8b83b6 Bloom Stone rework
* Increases health potion health restoration by 50%, but making healing be applied over time
* Increases hook pull and retract speed by 50%
* Hooks spawn a flower which bursts into pollen when touched; pollen gives a DR boost which is enhanced while receiving healing over time
2025-05-17 22:00:57 -04:00
mountaindrew10 543dce0844 PreventTileCollisionUntilHitboxIsOutsideOfTiles Util 2025-05-15 09:15:15 -05:00
Xyk 062fc7110f Fixed Visual Bug 2025-05-13 20:24:21 -07:00
mountaindrew10 4b64bb1b2f Old Duke visuals, resolved conflicts. 2025-05-10 06:31:09 -05:00
CongratsIsTrash 0562c104ee Added CountOwnedProjectiles method. Same as CountProjectiles except it has an owner check
Replaced CountProjectiles with CountOwnedProjectiles in all appropriate cases
Also added a new GlobalNPC variable for Giant Pearl to help facilitate this change with it
2025-03-08 23:59:10 -05:00
CongratsIsTrash 2b292e08ea Added ForceNetUpdate methods for NPC and Projectile, which replace all cases of setting netUpdate and resetting netSpam
These methods are configurable to either ignore the current value of netSpam or not

Also reorganized the ProjectileUtils file
2025-03-07 21:53:00 -05:00
CongratsIsTrash dc90e31dc0 Replaced every instance of Main.netMode == NetmodeID.Server with Main.dedServ
And every Main.netMode != NetmodeID.Server with !Main.dedServ
2024-12-30 15:57:16 -05:00
Ozzatron 6bf162a1aa Pedantic editing of XML summary to knock GitHub out of its funk 2024-11-18 11:46:29 -05:00
Cameron Ewell 3cc812b440 Add XML br to Xyk homing summary 2024-11-18 11:46:29 -05:00
Xyk 57f06978cf Added Utility for Xyk style homing and applied it where necessary 2024-11-18 11:46:29 -05:00
Xyk e9a4426fa8 Relic of Convergence
Also fixed gravity light/void dust never shrinking
2024-11-03 20:25:47 -08:00
Xyk 73f070564f Part 2 2024-09-13 17:22:35 -04:00
Xhack d43d871408 Backlog of other changes, too many to list 2024-08-05 03:28:38 -04:00
Xhack 3cb90d4c6b Sparkle projectile effects 2024-07-27 01:47:41 -04:00
Xhack 3a5d17f2be Beginnings of spawn animation + Holy Blast visuals 2024-07-26 16:02:24 -04:00
CongratsIsTrash faa727c852 Removed unnecessary uses of "ModContent" 2024-07-22 11:58:39 -04:00
CongratsIsTrash 785fd1a900 1 - Added a DamageClass parameter to MagnetSphereHitscan, and removed its hardcoded projectile checks
2 - Oblivion now shoots darts instead of lasers
3 - Removed random slime stream spread from The God's Gambit
2024-06-08 18:14:55 -04:00
Ozzatron bb77d53b0c Fix numerous compilation errors caused by botched entity iterator merge. 2024-05-13 22:11:06 -04:00
Ozzatron 60688c4259 Merge of BasicallyIAmFox's Entity Iterators PR with 2.0.4.001
- Some entity iterators were intentionally excluded due to complex merge conflicts with fully reworked weapons.
- NOTABLE: ProjectileUtils generic homing code had its iterator excluded due to a behavioral change which was not easily resolved.
2024-05-13 21:42:17 -04:00
BasicallyIAmFox 77847a7e01 Ported projectile iterators 2024-05-08 19:31:35 +05:00
BasicallyIAmFox 1a85f860e9 Finished porting npc loops 2024-05-08 17:34:00 +05:00
BasicallyIAmFox e2628cd096 Yawn 2024-05-05 16:19:16 +05:00
Xyk 0508796b41 Cluster Rockets new size
Made cluster rockets get a size in between rocket 3's and nukes. (They used to have the same AoE size as nukes, a post ML ammo)

increased spread of uncharged Hive shots a bit
2024-03-16 13:16:11 -04:00
mountaindrew10 6441f0c8fa 1 - Shadecrystal Barrage, Shredder and Star Shower improvements. 2024-03-12 10:39:39 -05:00
CongratsIsTrash 1ae7473eb6 Added a CalculatePredictiveAimToTarget util that accounts for projectile max updates
*Reimplemented Mirror of Kalandra's bow extra updates using this function
*Stellar Striker balance, changing lunar flares to aim at the target instead of the mouse, using the new CalculatePredictiveAimToTarget function
*If there is anything else that could use this, feel free to implement it
2024-03-03 17:34:40 -05:00
tomat 67bceff6e7 Initial dotnet format pass.
This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
2024-02-28 21:49:50 -08:00
CongratsIsTrash fe648960e2 HomeInOnNPC now aims for the closest target
Also made Ice Star and the mini stars from Ice Star and Kelvin Catalyst use HomeInOnNPC
2024-01-02 22:20:14 -05:00
Ozzatron bbdae9ddd9 1 - Cleaned up rocket behavior utility to use a struct.
2 - Cleaned up, optimized, and vastly improved tile destroying explosion utility.
2023-11-27 22:13:51 -05:00
Memes aa0aa9da6b Reworked Mineral Mortar.
1. Reworked Mineral Mortar into a simple rocket launcher with fancy effect overload that explodes into huge AoE damage.
2. Deleted the Sand Sharks that old Mineral Mortar used to shoot, they're now unique to Forgotten Apex Staff.
3. Added a projectile despawn utility for checking the behaviour of a rocket projectile depending on which ammo was used.
2023-11-27 16:26:23 -05:00
DominicKarma 0ab4933901 Remade the metaball system entirely (#4)
* Remade the metaball system entirely
* Rename additive metaball shader registration
2023-11-04 11:54:13 -04:00
Altixal 7db77034f9 rocket storage fix
type detection is now item-based instead of projectile-based
allows a stack of 1 to have proper effects
prevents prismatic armor rockets from taking in-inventory rocket effects
2023-10-11 00:39:37 +07:00
Xyk 7aa44ad7d9 Changed all ~640 instances of Main.rand.NextBool(2) to remove the unnecessary 2
Also I forgot to push my reality rupture and ichor spear minor tweaks before hand so they're in here too.
Reality rupture stealth hit sound is louder.
Reality rupture stealth visual always has at least one big crack, cracks fade out.
There's more consistency in the spark particles on realty rupture stealth and ichor spear on hit sparks.
Reality Rupture stealth produces light.
2023-09-26 01:58:55 -07:00
mountaindrew10 cf5806cda3 More optimizations. 2023-08-06 18:22:36 -05:00
Altixal fee3dc06b7 verdant is no more 2023-07-25 14:41:45 +07:00
Altixal badfa4938d star trail utils + exorcism star visuals 2023-03-10 21:32:02 +07:00
Ozzatron 9bfa76cd5d 1) Completely rewrote everything about ULTRAKILL-style ricoshots under the hood.
2) Crackshot Colt damage 13 -> 18, can throw 4 copper coins, multiplier reduced heavily, ricoshots always crit
3) Midas Prime 52 -> 81, throws coins slightly slower, multipliers reduced heavily, ricoshots always crit
4) CalamityGlobalItem now supports arbitrary grab range multipliers.
5) Slightly reduced ricochet coin grab range but made it always work even if you're not holding Midas Prime.
6) Crackshot Colt and Midas Prime use the same projectiles internally (so Crackshot Colt inflicts Midas now)
7) Improved Marksman Round tooltip to indicate that it works with Crackshot Colt now
8) Added generic damage multiplier and a crit-forcing bool to CalamityGlobalProjectile
9) Moved almost all ricoshot related code to a new RicoshotUtils.
10) Ricoshots search 1000 pixels for other coins, 2000 pixels for enemies and 2800 pixels for DSO bullseyes.
2023-02-24 22:26:38 -05:00
Altixal 46a48bbcdc textore 2023-02-05 00:34:14 +07:00
AquaSG 2ac4dbb7a5 Reworked Ethereal Subjugator
A variable was added to superhoming to adjust how much predictiveness is incorporated into the vector. this is so that the projectile doesn't go funky mode and copy all npc movement when extra updates are in the equation. plus, other people can use it if they want to for other situations. by default, it is 1f which keeps the predictiveness at normal behaviour. all other instances of superhoming still work as they did before the added variable, with no changes to their code.
2023-01-06 13:24:25 -05:00