Page 1 of 1

Curse of Nightmares no longer works

Posted: Tue Aug 18, 2015 8:49 am
by Anwyl
Curse of nightmares doesn't fire its beginning of turn method anymore, so the % chance of triggering stays at 0.

In actor.lua, the code that was removed was in actBase:

Code: Select all

	-- Curse of Nightmares: Nightmare
	if not self.dead and self:hasEffect(self.EFF_CURSE_OF_NIGHTMARES) then
		local eff = self:hasEffect(self.EFF_CURSE_OF_NIGHTMARES)
		if eff.isHit then
			eff.isHit = false
			self.tempeffect_def[self.EFF_CURSE_OF_NIGHTMARES].doNightmare(self, eff)
		end
	end

Re: Curse of Nightmares no longer works

Posted: Tue Aug 18, 2015 11:39 am
by HousePet
Yep, I can't find anything to trigger doNightmare().

Re: Curse of Nightmares no longer works

Posted: Mon Nov 30, 2015 7:44 am
by ghira
Is this why I get a Lua error every time I hit a monster with my cursed character?

It's the first time I've chosen the "give into your hate" option with one of these when picking up the first hateful item.

I see 1.3.2 has just come out and lists a fix for curse of Nightmares. I have checked and I am currently running 1.3.2
but I'm not absolutely sure what version I was running when I created this character, but it was created within the last
day or two.

Re: Curse of Nightmares no longer works

Posted: Mon Nov 30, 2015 10:14 am
by darkgod
Meh sorry about that,I'll do a quick fix very soon !

Re: Curse of Nightmares no longer works

Posted: Mon Nov 30, 2015 10:21 am
by ghira
I think I've had at least two slightly different things cause this effect. One went green after I reported then something
very similar showed up in red meaning presumably that it wasn't identical but still involved doNightmare.

I reported both online but if you need more details here I can probably provide them later today. (I have a screen capture
of one of them.)