Curse of Nightmares no longer works

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Anwyl
Posts: 2
Joined: Tue Aug 18, 2015 8:46 am

Curse of Nightmares no longer works

#1 Post 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

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Curse of Nightmares no longer works

#2 Post by HousePet »

Yep, I can't find anything to trigger doNightmare().
My feedback meter decays into coding. Give me feedback and I make mods.

ghira
Wayist
Posts: 29
Joined: Thu Jul 09, 2015 7:27 pm

Re: Curse of Nightmares no longer works

#3 Post 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.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Curse of Nightmares no longer works

#4 Post by darkgod »

Meh sorry about that,I'll do a quick fix very soon !
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

ghira
Wayist
Posts: 29
Joined: Thu Jul 09, 2015 7:27 pm

Re: Curse of Nightmares no longer works

#5 Post 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.)

Post Reply