Skip to content

Some NPC.HitModifiers.SourceDamage patches:#100

Open
Habble53 wants to merge 421 commits intoCalamityTeam:1.4.4from
Habble53:1.4.4
Open

Some NPC.HitModifiers.SourceDamage patches:#100
Habble53 wants to merge 421 commits intoCalamityTeam:1.4.4from
Habble53:1.4.4

Conversation

@Habble53
Copy link

Replaced globally available projectile instances of HitModifiers.SourceDamage modification with HitModifiers.TargetDamageMultiplier, so as to prevent it from being inherited in NPC.HitInfo.SourceDamage and doubled up in cases where other mods may spawn additional OnHit projectiles that inherit HitInfo.SourceDamage for accurate OnHit interactions. Recommended to move to HitModifiers.FinalDamage and redone as such or implement defensive mechanisms that don't let additional projectiles inherit SourceDamage, like globally tagging projectiles (and their children by chaining projectile tags with e.g. source is EntitySource_Parent parent && parent.Entity is Projectile proj && proj.Calamity().WeaponSource) in OnSpawn by checking EntitySource_ItemUse_WithAmmo. A few other less important examples were left as is, including Thanatos closed vent DR and GFB seed interaction(s?) like Profaned Guardians.

Ozzatron and others added 30 commits June 1, 2024 20:23
This previously caused loading errors for me even though the strong reference to the music mod should've prevented that
Slab Crab spawn uses `OceanMonster` condition (which makes it impossible to spawn) when it should use `CaveJellyfish` condition like the other Abyssal NPCs.
Removed weird item time manipulation line on some summons causing bugs to another mods like Summoner's Association.
2 - All four Candle buffs are now mutually exclusive.
3 - Unlike other buff stations, Cirrus Candles persist through death.
4 - Changed all Cirrus Candles to be Pink rarity (matching Cirrus) and cost 2 platinum, because you only need one of them.
5 - Buffed Blue Candle from 5% to 10% movement speed, wing time, and acceleration.
6 - Buffed Pink Candle from 0.4% HP/s to 0.6% HP/s
7 - Buffed Yellow Candle from 1.05x damage to 1.07x damage. No longer ignores DR, but still ignores defense.
8 - Yellow Candle is no longer a tag debuff and does not apply to enemies in any way.
9 - Purple Candle is mechanically unchanged.
…as intended.

2 - Fixed Yellow Candle being placebo, for real this time.
2 - Fixed Old Duke Remix Seed enrage.
3 - Renderer Manager render state edits.
4 - Fixed lava generating in the Sunken Sea and Abyss.
5 - Fixed Brimstone Slag walls generating in incorrect locations.
6 - Mechanic Shed no longer generates in space, hopefully.
2 - Fixed the yoyo burst damage exploit
3 - Fixed Mining Potion and Hand of Creation tooltips
4 - Fixed Grax's tooltip
5 - Fixed Flame Waker Boots' heat debuff multiplier not applying on projectile hits
CongratsIsTrash and others added 5 commits November 26, 2025 05:54
Including removal of most biome-specific material drops
Includes the Hardmode ore crate bug fix at long last
Also adds alternative Auric Ore obtainment method
@Ozzatron Ozzatron dismissed their stale review November 26, 2025 20:49

The merge-base changed after approval.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.