Commit Graph
57 Commits
Author SHA1 Message Date
CongratsIsTrash ebc1efd30b Removed Glacial State
Replaced all of its use cases with Frozen, which inherits exactly its old effects
2026-03-17 21:28:44 -04:00
doze-zoze fb868fc173 prim system now also passes vertex positions to the functions 2025-12-08 13:20:38 -05:00
Stephen Thiebaud c1ae71e028 feat: slight clean up and kill off some warnings 2025-12-04 21:42:00 -06:00
Stephen Thiebaud b0854b7a3c feat: replace every detactable instance of magic numbers with their named ID counterparts 2025-12-04 21:27:05 -06:00
Nathanael Overton a76e3581cc Exoblade draws smaller as dash progresses
+ typo fix
2025-11-15 00:05:26 -05:00
CongratsIsTrash 88e9dffcaa Fixed Fetid Emesis firing multiple projectiles in mp
Removed our Player.ActiveItem() function because it is strictly worse and buggier than Player.HeldItem
2025-11-15 00:01:36 -05:00
Nathanael Overton 15f2517ab0 Exoblade's hitbox + visuals match more
Negligible effect on how powerful the weapon actually is
2025-11-14 21:52:23 -05:00
Altixal 9f06d20635 Lifesteal progression scaling 2025-07-03 11:33:17 -04:00
Altixal 6d75873918 Various lifesteal changes
- Removed lifesteal nerfs for Rev+
- Lifesteal healing player with lowest HP is no longer default behaviour
- Added utils for lifesteal
- Removed the ability for certain projectiles to lifesteal off PVP
- All sources of lifesteal now consistently only applies on enemies
- Removed additional nerfs on Spectre healing
2025-07-03 11:33:17 -04: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
Ozzatron 08d5192151 MouseWorld clamping partial progress through Magic and Melee holdouts. 2024-11-15 16:59:04 -05:00
Altixal c4df4a342f Type (projectile) 2024-10-15 23:48:00 +07:00
Ozzatron dd37454728 Fix Photon Ripper trails bugging out (same fix as Exoblade). 2024-05-17 17:22:35 -04:00
Ozzatron af8bc849e2 Fixed Exoblade dash having a jagged trail. 2024-05-17 17:22:34 -04:00
GinYuH 62a981d56b Projectile sprites pull from TextureAssets 2024-04-24 17:47:16 -04:00
mountaindrew10 beb9fe24eb Pushing all this so visual studio stops being a fucking cunt. 2024-04-03 14:27:12 -05:00
GinYuH fd5556af98 fixed exoblade not firing 4 projectiles 2024-03-25 00:45:37 -07:00
CongratsIsTrash 7d56c4d253 Exoblade's powerful slash gives lifesteal 2024-03-24 17:18:23 -04:00
tomat 953e7ddea6 Merge branch '1.4.4' into linting 2024-02-29 15:14:16 -08:00
Toasty e92c21a411 Follow up to #23, Primitive System performance increase. (#24)
- Increase performance via pooling, buffers, int -> short, and most linq removal.
2024-02-29 15:04:28 -05:00
tomat c80265a899 Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityMod into linting
# Conflicts:
#	Graphics/Primitives/PrimitiveTrail.cs
#	NPCs/AcidRain/AcidEel.cs
#	NPCs/ExoMechs/Apollo/Apollo.cs
#	NPCs/ExoMechs/Ares/AresBody.cs
#	NPCs/ExoMechs/Artemis/Artemis.cs
#	NPCs/SupremeCalamitas/BrimstoneHeart.cs
#	Projectiles/Boss/ApolloChargeTelegraph.cs
#	Projectiles/Boss/AresTeslaOrb.cs
#	Projectiles/Boss/ArtemisChargeTelegraph.cs
#	Projectiles/Boss/ArtemisSpinLaserbeam.cs
#	Projectiles/Boss/CirrusPhotonRipperPrismTooth.cs
#	Projectiles/Boss/DraedonSummonLaser.cs
#	Projectiles/Boss/DyingSun.cs
#	Projectiles/DraedonsArsenal/PhaseslayerProjectile.cs
#	Projectiles/Enemy/GammRayBurst.cs
#	Projectiles/Magic/ApotheosisEnergy.cs
#	Projectiles/Magic/ArtAttackStar.cs
#	Projectiles/Magic/EternityHex.cs
#	Projectiles/Magic/FabBolt.cs
#	Projectiles/Magic/FabRay.cs
#	Projectiles/Magic/RainbowRocket.cs
#	Projectiles/Magic/WulfrumBolt.cs
#	Projectiles/Melee/Exobeam.cs
#	Projectiles/Melee/MarniteObliteratorProj.cs
#	Projectiles/Melee/PrismTooth.cs
#	Projectiles/Melee/RendingNeedle.cs
#	Projectiles/Melee/StygianShieldAttack.cs
#	Projectiles/Melee/TaintedBladeSlasher.cs
#	Projectiles/Melee/TerratomereBeam.cs
#	Projectiles/Melee/TerratomereBigSlash.cs
#	Projectiles/Melee/TerratomereHoldoutProj.cs
#	Projectiles/Melee/ViolenceSlashProjectile.cs
#	Projectiles/Melee/ViolenceThrownProjectile.cs
#	Projectiles/Ranged/ExoCrystalArrow.cs
#	Projectiles/Ranged/ExoLightningBolt.cs
#	Projectiles/Ranged/MeowCreature.cs
#	Projectiles/Ranged/PristineFire.cs
#	Projectiles/Ranged/SpeedBlasterShot.cs
#	Projectiles/Ranged/TelluricGlareArrow.cs
#	Projectiles/Ranged/TheMaelstromShark.cs
#	Projectiles/Rogue/DynamicPursuerElectricity.cs
#	Projectiles/Rogue/ScarletDevilProjectile.cs
#	Projectiles/Rogue/StormfrontLightning.cs
#	Projectiles/Rogue/WulfrumKnifeProj.cs
#	Projectiles/Summon/CosmilampBeam.cs
#	Projectiles/Summon/DaedalusLightning.cs
#	Projectiles/Summon/SmallAresArms/MinionTeslaOrb.cs
#	Projectiles/Summon/WulfrumDroid.cs
#	Projectiles/Summon/WulfrumEnergyBurst.cs
#	Projectiles/Summon/WulfrumFusionBolt.cs
#	Projectiles/Typeless/GemTechArmorGem.cs
#	Projectiles/Typeless/SuicideBomberDemon.cs
#	Projectiles/Typeless/WulfrumHook.cs
2024-02-28 22:29:35 -08:00
Toasty ff45607ee2 Primitive System Remake (#23)
* - Primitive system rewrite, start of converting old code to use the newer system.

* - Tweaks to the primitive manager to match the old one.
- Finished porting old uses of the primitives to the new ones.
- Improved XML documentation on the newer ones.

* Delete en-US.hjson

* Remove cosmic shiv auto-entry

* - Indentation fixes.

* - Remove interface access modifiers
2024-02-29 01:19:26 -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
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
Altixal 2217b27f6b projectile localization: holdout name clones 2023-10-02 19:46:56 +07:00
Ozzatron ba14da9cdd Initial tModPorter run. Almost all of this is Kill -> OnKill in every Projectile ever.
Profaned Soul Crystal's anti-whip-stack only works on vanilla whips at the moment.
2023-09-30 01:17:11 -04:00
Altixal 651e1aa05e calamity flask fixes and crap
- fixed flairon bubble / cursed dart flames inflicting cal flask debuffs
+ some calamity holdout swords not inflicting vanilla flask debuffs
2023-07-31 16:04:38 +07:00
Altixal a73464d600 localization nation (logs and schems) 2023-06-07 14:27:26 +07:00
Altixal 41454fcbb1 Localization :3 2023-05-30 05:09:42 +07:00
Altixal 72b7dadeab the great collapse 2023-05-28 06:14:26 +07:00
mountaindrew10 c87bd7b8ce God help us. Fixed some errors and removed Item.ResearchUnlockCount = 1; from some accessories. 2023-04-19 03:59:55 -05:00
Ozzatron 5f0357a5f9 tModPorter 1.4.4 initial state 2023-04-06 20:56:20 -04:00
Heart-Plus-Up a096e582d2 I can't believe BladeLenght caused a merge conflict 2023-04-03 10:14:02 -04:00
Altixal d34979ca73 Exo Freeze removed 2023-03-22 04:51:43 +07:00
Altixal 6fc7245c30 Length*
This changes absolutely nothing except internal typos
2023-03-16 19:44:16 +07:00
Ozzatron 5967a3591c 1 - Completely renovated CalamityShaders file
2 - Added utilities to cleanly load shaders, makes the code much more readable
3 - Renamed all of Iban's shaders to have the CalamityMod prefix to avoid crossmod collisions
4 - Renamed Boffin's one shader file from CustomShader.xnb to AstralFogShader.xnb
5 - Omitted the EasyXnb shader compiler from Calamity when it's built, saving ~1.8 MB of space
2023-02-11 12:51:19 -05:00
Dominic b33bb31478 Terratomere rework 2022-11-10 11:11:55 -05:00
Dominic ec25881fcd Cleaned out more UI, along with the chains folder 2022-10-06 10:14:50 -04:00
Merkalto e3330dd9db Exoblade swing no longer scales with melee swing speed. 2022-08-19 16:48:14 -05:00
Merkalto 0085ef5a1f Exoblade is now fully Melee No Speed 2022-08-19 12:26:44 -05:00
IbanPlay 64bd98068a Made the slashes follow the angle of the bolts
Also put custom sfx for the dash & impact, asked moonburn for those since he seemed eager to do more sfx
2022-08-05 10:36:27 -04:00
IbanPlay f50f526eb2 Zwing sound 2022-08-05 10:36:27 -04:00
IbanPlay bc1b5ac8a1 orbs of light 2022-08-05 10:36:27 -04:00
IbanPlay dafe372e99 Trail has anime lines 2022-08-05 10:36:27 -04:00
IbanPlay 44220c7a19 Inanis + fixed trail & lunge cd 2022-08-05 10:36:27 -04:00
IbanPlay 18ddc10fe2 Segs 2 2022-08-05 10:36:27 -04:00
IbanPlay bac8675098 Unfucked most of what i fucked 2022-08-05 10:36:27 -04:00
IbanPlay 4780c5eee0 Putting things.. Into perspective (laugh) 2022-08-05 10:36:27 -04:00
Dominic 461276ab94 ALL of the constants. Centralize EVERYTHING 2022-07-13 19:39:03 -05:00
Dominic 7d08abbb34 Minor refactoring 2022-07-13 19:26:15 -05:00