Skip to content

Fix durability lost on thorns#4

Open
cpaca wants to merge 1 commit intodlee13:mainfrom
cpaca:thorns-durab-fix
Open

Fix durability lost on thorns#4
cpaca wants to merge 1 commit intodlee13:mainfrom
cpaca:thorns-durab-fix

Conversation

@cpaca
Copy link
Copy Markdown
Contributor

@cpaca cpaca commented Feb 21, 2023

This also fixes durability lost for some other reasons.

Off the top of my head, Poison and fire damage no longer reduces durability. "PROJECTILE" damage also won't reduce durability, but what's weird is that Hoshiyumi uses ENTITY_ATTACK damage type instead of PROJECTILE damage type (though, that's a result of using Utility.damage() )

Took me a few hours to make PR because I was testing to make sure it worked. At least with comet, it works properly; though I feel like I've missed an item that is now unbreakable...

This also fixes durability lost for *some* other reasons.

Off the top of my head, Poison and fire damage no longer reduces durability. "PROJECTILE" damage also won't reduce durability, but what's weird is that Hoshiyumi uses ENTITY_ATTACK damage type instead of PROJECTILE damage type (though, that's a result of using Utility.damage() )
@cpaca
Copy link
Copy Markdown
Contributor Author

cpaca commented Feb 21, 2023

not like "item is now unbreakable" is an issue, thanks magnet/demonaura

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.

1 participant