Commit Graph
55 Commits
Author SHA1 Message Date
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
Dominic 5e3db37979 More misc errors. 740 2022-04-08 13:10:52 -05:00
DominicKarma 7c69127899 Projectile source and tile fixes 2022-04-06 20:06:41 -05:00
mountaindrew10 c490bdcf5e 1 - tile.HasTile. 2022-04-05 16:08:55 -05:00
IbanPlay 9b610bc7a9 Bulk PreDraw changes (For sure missed some)
Also includes a ModContent/Request thing. But i'm going to sleep
2022-04-03 06:44:27 +02:00
Dominic a9c99ab2ca Cleared errors of about 66% of summon projectiles 2022-04-02 22:39:29 -05:00
Ozzatron cb7c2f9feb Immediate result of tModPorter 2022-04-02 20:51:23 -04:00
Ozzatron 1cded2a64a Replaced all tabs with spaces everywhere 2022-04-02 15:15:08 -04:00
DominicKarma 24b102c544 Superhoming utility 2022-03-06 14:37:20 -06:00
DominicKarma 15fd6234fb Hyper-precise predictiveness utility 2022-03-06 14:23:58 -06:00
DominicKarma 637898e2b7 Hopefully fixed Brimseeker aura problems in MP 2022-03-03 14:37:26 -05:00
Ozzatron 7ac34b65c5 Fixed Silva Mage set bonus being broken.
This will require retesting Helium Flash and Vehemence.
2021-11-07 16:06:00 -05:00
Ozzatron 979ca98e8d Calamity can now draw curved lasers. 2021-11-07 03:01:42 -05:00
Ozzatron 21412edadc Draw angle fix, found by Dom, fixes ALL Laser Machinegun style lasers. 2021-11-07 01:03:22 -04:00
Ozzatron a66e9684cc Reworked the damage softcap formula to be less strict, but still brutal. 2021-11-02 23:37:53 -04:00
DominicKarma 35a4df9b62 Merge branch 'master' into weapons 2021-04-28 14:29:51 -05:00