Commit Graph
70 Commits
Author SHA1 Message Date
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
Altixal 68f6b918c3 Fixed yoyos gaining lifespan from hitscan utils 2022-12-02 21:16:39 +07:00
Dominic 3a01be264d Cryogen projectile outline effects 2022-10-28 23:27:46 -05:00
Dominic 45641d30b8 Old Duke spike blackglow effect for visual clarity 2022-10-28 20:12:44 -05:00
ben-tk c31670ef6d removed IsSummon() util since countsasclass exists now 2022-09-18 10:35:36 -04:00
Dominic ea4d61068c Start of SSV rework 2022-08-23 15:38:15 -05:00
ben-tk d67b11f431 Rogue weapons now can get a random modifier on crafting, similar to vanilla weapons 2022-08-20 22:27:51 -04:00
mountaindrew10 1ff6e99a98 1 - Changed all Calamity yoyos, boomerangs, flails, etc. from DamageClass.Melee to DamageClass.MeleeNoSpeed. 2022-08-19 00:48:16 -05:00
Ozzatron d4b5160f98 1 - Fully replaced Momentum Capacitor. It is now a channeled Burden Breaker.
2 - Stealth no longer gives movement speed.
3 - Moved a bunch of CalamityGlobalProjectile utilities to CalamityUtils where they belong.
4 - Renamed several things in CalamityGlobalProjectile
2022-07-02 19:42:56 -04:00
Ozzatron 664c10ae01 1 - No Gravity is no longer a list; each item declares it individually.
2 - True Melee is now two dedicated damage classes. One of them does not use melee speed.
3 - Fixed a bug where Warbanner of the Sun was only giving melee speed.
4 - Standardized defining whether an item is true melee. If it's one of the classes, it's true melee. Otherwise it's not.
5 - All items which are "classic true melee" (projectile-less melee) are re-classed as True Melee automatically.
6 - Renamed Yharon Soul Fragments internally.
7 - Can Fish In Lava is no longer a list; each item declares it individually.
8 - Removed the special true melee damage tooltip, as you will always see true melee damage on applicable weapons now.
2022-07-02 18:13:54 -04:00
Ozzatron 48b06309cb all CountsAsClass are used with the efficient generic 2022-05-22 19:19:51 -04:00
Ozzatron 31f396d29b 1 - Replaced AverageDamage with "best class damage"
2 - Shield slams scale with melee instead of anything
3 - A few things scale with summon instead of anything, like Demonshade Red Devil
4 - Hide of Astrum Deus scales with melee instead of anything
5 - Other minor pedantic scaling changes
6 - Hundreds of compile errors
2022-05-22 19:13:21 -04:00
mountaindrew10 b932ae5f72 1 - More error fixes. 2022-04-24 05:50:17 -05:00