Commit Graph
77 Commits
Author SHA1 Message Date
CongratsIsTrash 2b6eee0fdf Removed Wind Blade rework from main branch
Hi to people who snoop around in the source I guess
2024-05-22 15:42:52 -04:00
Xhack 358147a561 Un-exploded the PR request 2024-05-21 14:32:33 -04:00
Xhack dc4021f826 Updated code in accordance with change requests + retooled and re-added Wind Blade cyclone 2024-05-21 14:32:33 -04:00
Xhack 42f524bc97 Custom use style items and projectiles; Wind Blade swing animations
IMPORTANT NOTE - In order to use a projectile that extends BaseCustomUseStyleProjectile, you have to make the item that shoots it extend CustomUseProjItem.
2024-05-21 14:32:33 -04:00
Memes 061b636a1c Adamantite Particle Accelerator as a base holdout. 2024-05-19 13:31:35 +02:00
Memes 1ade3edb71 Fixed Genesis in multiplayer.
1. Genesis Y-beam doesn't infinite proc chain anymore.
2. IMPORTANT: There's only one bug left where visually the Y-beam doesn't exist.
3. Fixed BaseGunHoldoutProjectile passing null values.
2024-05-16 22:59:04 +02:00
Memes 3834fd39e9 The holdout syncing experiment.
1. Base holdout sets netUpdate to true every frame and netSpam to 0 every frame.
2. Eliminated all instances of netUpdate and netSpam on specific holdouts, since base holdout does it every frame.
2024-05-16 18:10:24 +02:00
Memes fa6e15ab67 Texture null check in base holdout. 2024-05-16 10:43:17 +02:00
Memes ef2b524df1 Typo lmao. 2024-05-15 18:38:04 +02:00
Memes 28ae7ef9e8 Added some syncing to base holdouts. 2024-05-15 18:37:30 +02: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
Xyk f3a5aba9ca Fixed holdouts with endlag breaking when using menu items 2024-05-11 14:12:26 -07:00
BasicallyIAmFox 77847a7e01 Ported projectile iterators 2024-05-08 19:31:35 +05:00
Memes b3fe018626 BaseGunHoldoutProjectile supports Gravitation Potion. 2024-05-05 20:59:35 +02:00
GinYuH 4ea9b4f149 Added Luminance support 2024-04-28 23:19:47 -04:00
GinYuH 62a981d56b Projectile sprites pull from TextureAssets 2024-04-24 17:47:16 -04:00
Memes e95681501f Oh shit I forgot to remove this. 2024-03-31 12:55:42 +02:00
Memes 7c84a37717 Followed Ozz's review & some cleanup. 2024-03-30 20:54:32 -04:00
Memes 4d701b6f1a Forgot class documentation. 2024-03-30 20:54:32 -04:00
Memes 90ca169686 Created an abstract class for holdouts. 2024-03-30 20:54:32 -04:00
Memes 3a49e20524 Summon finished and balanced. 2024-03-23 13:51:01 +01: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
Memes 53b18eb031 This needs to be up here. 2024-01-06 18:05:50 +01:00
Memes 6eed7f2395 BaseMinionProjectile Grounded Minion support.
1. Added a Grounded property.
2. Added a Gravity property.
3. Added a MaxGravity property.
4. Added a second check for target detection exclusive for pre-hardmode grounded minions.
5. Added many grounded minion method utilities, such as gravity and tile detection methods.
2024-01-05 17:34:44 -05:00
Memes ad08c3b404 .direction => .ChangeDir()
Changed all instances of the player field "direction" being equal to something to .ChangeDir().
2023-11-30 23:15:18 +01:00
Memes 3587f8a538 Bad ideas fixed @ BaseMinionProjectile.cs (No Changelog). 2023-11-27 18:52:28 +01:00
Memes 6c7c6bde9b AnimationFrames is read-only. 2023-11-25 18:21:06 +01:00
Memes a03497518c Changes to BaseMinionProjectile. ⚠️ NO CHANGELOG
1. Adaptive Enemy Distance Detection: when minions don't see a target, their detection diameter will be the screen width, when they detect a target, they'll have the desired distance detection.
2. Fixed the IFrames of BaseMinionProjecitle sometimes not working as intended.
3. Added AnimationFrames property so you don't have to type SetStaticDefaults() for one thing when the rest is already set there.
4. Made Owner and ModdedOwner properties null by default and be set in an method inside AI for better optimization.
2023-11-25 18:17:12 +01:00
JavyzTakenandJack 4c888bba5b Several bugfixes. (#5)
* Several bugfixes:

-Desert Prowler and Wulfrum set bonuses now work correctly with the vanilla "Activate Set Bonuses" setting, that allows you to choose whether to activate them by doubletapping up or down.
Related bug report: https://discord.com/channels/225030931008847874/1158173634280558744

-Fixed Cryogen's shield counting towards NPC limit and despawning offscreen.
Related bug report: https://discord.com/channels/225030931008847874/1166534631458345080

-Fixed Calamity spear projectiles lingering into chained switched item uses.
Related bug report: https://discord.com/channels/225030931008847874/1165360766539538432

-Made sure every On_ and IL_ hook is unloaded manually, since testing has verified TML's auto-unloading does not work consistently and properly.

---------

Co-authored-by: Jack <jv222rh@student.lnu.se>
2023-11-09 17:01:01 -05:00
Altixal 709b4cc96a idle holdouts no longer show up with PSC 2023-10-02 20:03:55 +07:00
Memes 36148e6e0b Fixed I-Frame property in BaseMinionProjectile.cs.
⚠️ NO CHANGELOG ⚠️
2023-09-15 21:39:08 +02:00
Memes f540ef75c6 Reviewed changes.
1. Added a minion slots virtual read-only property.
2. Made Target initialized instead and set to a valid target on AI().
2023-09-11 15:40:35 -04:00
Memes ea3c081f4d Added BaseMinionProjectile abstract class. 2023-09-11 15:40:35 -04:00
Altixal 822c673bd1 Suggestions and fixes
- Various dye slot changes for accessory/armor dust spawning
- Lab Hologram Projectors can now face left or right
- Dragonblood Disgorger minor tooltip changes
- Nuclear Rod renamed to Nuclear Fuel Rod
- Graveyard enemies can now drop Blood Orbs
- Nadir now uses Auric Bars and is buffed accordingly
- [1.4.4 fix] Fixed typical spear AI prematurely expiring
- [1.4.4 fix] Fixed Wulfrum Blunderbuss ammo text being misplaced
2023-07-05 02:40:49 +07:00
Altixal a73464d600 localization nation (logs and schems) 2023-06-07 14:27:26 +07:00
Altixal d878300729 localization f 2023-05-30 09:31:57 +07:00
Altixal 6fc7245c30 Length*
This changes absolutely nothing except internal typos
2023-03-16 19:44:16 +07:00
ben-tk 7b94243ebb Fixed Heavenly Gale not getting arrow damage boosts, nerfed to compensate 2022-10-12 17:55:40 -04:00
Merkalto 3d62784207 cleanup 2022-07-26 15:13:44 -04:00
Merkalto a89ecc412f Ele shiv support. No, it does not have gladius swing 2022-07-26 15:13:44 -04:00
Merkalto 9d64b97b69 Base shortsword projectile. 2022-07-26 15:13:44 -04: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 9b76ff33dc Added a huge amount of TODOs for ModSystem de-godclassing 2022-06-13 16:16:39 -04:00
Ozzatron e6c55dd847 last straggler for bad damage math: base holdout projectile 2022-06-10 22:22:32 -04:00
Dominic 20db05d5f6 Fixed oathswords doing no damage 2022-05-08 15:34:07 -05:00
Dominic 9ab01e2657 Laserbeams do not become invisible when "offscreen" 2022-04-29 01:25:45 -05:00
mountaindrew10 990472a409 1 - More fixes. 2022-04-21 23:02:08 -05:00
DominicKarma ae289baaab Damage error death 2022-04-12 15:00:02 -05:00
Dominic 5e3db37979 More misc errors. 740 2022-04-08 13:10:52 -05:00
Dominic 2a11f37932 Cleaned side things. 1396 errors remain 2022-04-08 02:49:09 -05:00