Solipsist skill Sandman

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Delvonshi
Low Yeek
Posts: 8
Joined: Mon Jun 12, 2017 10:43 pm

Solipsist skill Sandman

#1 Post by Delvonshi »

This may or may not be a bug. Perhaps I am misinterpreting how the skill works.

The insomnia portion of the skill shows a 5% reduction in sleep immunity granted by insomnia. However, when invested in it reduces the insomnia sleep immunity from 50% per turn to 15% per turn. Further investment brings the 5% reduction to 8% and brings insomnia's sleep immunity from 15% to 12%. I suspect it is a visual bug and it is supposed to be 35% -> 38% etc?

Either way hope it helps!

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Solipsist skill Sandman

#2 Post by jenx »

Delvonshi wrote:This may or may not be a bug. Perhaps I am misinterpreting how the skill works.

The insomnia portion of the skill shows a 5% reduction in sleep immunity granted by insomnia. However, when invested in it reduces the insomnia sleep immunity from 50% per turn to 15% per turn. Further investment brings the 5% reduction to 8% and brings insomnia's sleep immunity from 15% to 12%. I suspect it is a visual bug and it is supposed to be 35% -> 38% etc?

Either way hope it helps!
It's not clear to me what you are asking tbh. Here is the description with values (from 1.5.3):

Code: Select all

Increases the amount of damage you can deal to sleeping targets before reducing the effect duration by 15%, 31%, 43%, 51%, 57%, and reduces the sleep immunity of your Insomnia effects by 4%, 8%, 9%, 10%, 10%.
Values for
talent levels 1-5,
talent mastery 1.30

These effects will be directly reflected in the appropriate talent descriptions.

The damage threshold bonus will scale with your Mindpower.
The first amount means you can do more damage to the target before your damage reduces the effect duration. The second talent decreases the target's overall sleep immunity making them more vulnerable to being slept in the first place. I can't work out where you get your figures from above however.

CAn you clarify?
MADNESS rocks

Delvonshi
Low Yeek
Posts: 8
Joined: Mon Jun 12, 2017 10:43 pm

Re: Solipsist skill Sandman

#3 Post by Delvonshi »

This is in 1.5.5 and I am talking about the sleep immunity reduction. The values may be slightly different due to mindpower or something but the change is too drastic from what is shown to not be something wrong.

Ok so lets say that the skill is sleep. We'll assume it says 4 turns and they can take 6 damage without a turn reduction. This part is not important. Next it says they will incur insomnia every turn they are asleep granting 50% sleep immunity. When you invest in sandman that 50% value goes from 50% to 15%. If you invest in sandman AGAIN it will go from 15% to 12%. Since the skill sandman states a 5% reduction at 1 point it should go down to 45%. It does not, it goes down to 15%. This suggests that 35% is being applied instead of 5%. Even moreso... the second point brings that from 5% to 8% and causes the sleep immunity to drop from 15% to 12%. THIS is the expect result but does NOT flow with the first point being applied. So I am unsure if it is a visual bug or a code bug. I won't pretend to have ever messed with the code of a game like this.

I am not sure I can clarify beyond that. Basically it says 5% but drops 35% with the first point. It says 8% on point 2 but drops 3%. This is the correct result if the original value for sandman was 35%, 38% etc. Instead it is 5%, 8% etc.

Erenion
Archmage
Posts: 319
Joined: Mon Feb 13, 2017 4:43 pm

Re: Solipsist skill Sandman

#4 Post by Erenion »

Insomnia grants 20% immunity per turn the target was asleep, not 50%.
Breaking Projection since 1.5

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Solipsist skill Sandman

#5 Post by jenx »

Erenion wrote:Insomnia grants 20% immunity per turn the target was asleep, not 50%.
it grants 50% if you don't have sandman
MADNESS rocks

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Solipsist skill Sandman

#6 Post by jenx »

Ok, I've figured this out, and I think DG that this might be a bug.

The code for insomnia is:

Code: Select all

	getInsomniaPower= function(self, t)
		local t = self:getTalentFromId(self.T_SANDMAN)
		local reduction = t.getInsomniaPower(self, t)
		return 20 - reduction
	end,
it doesn't check though if you have sandman, so when you don't, reduction = -30 (minus 30), so it returns 50. I have no idea why we have -30.

when you do have sandman, reduction is as per the talent description, so it scales down from 20% as sandman increases.

Because Nightmare has the same formula, I think it is deliberate (or that the same error is in both talents).

It is very unclear how this works, or is supposed to work tbh.
MADNESS rocks

Delvonshi
Low Yeek
Posts: 8
Joined: Mon Jun 12, 2017 10:43 pm

Re: Solipsist skill Sandman

#7 Post by Delvonshi »

I'm just glad that you have some idea. Again, I don't pretend to know the code and I'm fairly new to ToMe. Either way hope it helps!

Post Reply