Skip to content

Conversation

@mullinger
Copy link
Contributor

Previously, the special mod the the Jinxed Juju Amulet was not supported:

10% of Damage from Hits is taken from your Spectres' Life before you

This commit adds support for the mod in regards to the damage taken calculations.

grafik

I assume that the calculations in-game might be slightly different, though the differences are probably in the sub-percent range.
This patch should give a pretty good addition for now.

@Regisle
Copy link
Member

Regisle commented Jan 10, 2021

This needs to only be active if your specters have enough life to take the damage (make a config option) as there are builds who use the amulet without specters

@mullinger
Copy link
Contributor Author

@Regisle Very good point, thanks for your comment.
Instead of adding yet another config options I thought about checking if the player actually has an active spectre skill.

Without active spectre skill, or of the spectre skill is disabled the mod from the amulet will not be applied.

What do you think?

@ppoelzl
Copy link
Member

ppoelzl commented Jan 13, 2021

There should be some kind of calculation on how much damage is actually transferable to the spectre.
Also in your code you spelled it "specter", not "spectre", which is our preferred spelling @mullinger

@ppoelzl ppoelzl added enhancement New feature, calculation, or mod wip Unfinished and commited for discussion labels Jan 13, 2021
@Wires77
Copy link
Member

Wires77 commented Jan 13, 2021

There should be some kind of calculation on how much damage is actually transferable to the spectre.

Eh, I'm not sure this is necessary, even the weakest spectres have almost 10k health, so you'd need to take 100k damage before that's something to worry about.

I'm all for not adding more config options, too, so just basing it off of the player having an active spectre skill seems like the right way to go to me.

@mullinger
Copy link
Contributor Author

E.g. Apes have unbuffed 16k max HP without any investment .
At lvl 20 gem you can have 3 apes with a total pool of around 48k HP.

I'm down with any decision (Config option or without) as I can see the benefits of both implementations. Just need a decision :-)

@deathbeam
Copy link
Contributor

This is not 10% less damage taken, this should work like mind over matter because its same mechanic.

Copy link
Member

@Wires77 Wires77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're fine assuming the spectres will always have enough health to give you the damage mitigation, I've added a suggestion for a simpler way to implement this

@Wires77
Copy link
Member

Wires77 commented Apr 4, 2021

@deathbeam is correct, this implementation isn't right. It should act as another multiplier on top of other reduced * less damage modifiers you have.

I can merge this as a 10% less damage taken, and open an issue to fix it properly later, or we can keep it open and do it properly from the start. React if you don't want to comment but want to vote on one over the other.

👍 Merge now, fix later
👎 Don't merge until properly implemented

@ppoelzl
Copy link
Member

ppoelzl commented Apr 4, 2021

No need to rush out unfinished features "just because".

@QuickStick123
Copy link
Contributor

Superseded by #5943

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

Labels

enhancement New feature, calculation, or mod wip Unfinished and commited for discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants