[1.4.5] Reality Smearing

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
ibanix
Wyrmic
Posts: 244
Joined: Thu May 23, 2013 12:25 am

[1.4.5] Reality Smearing

#1 Post by ibanix »

Reality Smearing is always reporting "over three turns", even though the duration is variable.

Compare:

Code: Select all

self:setEffect(self.EFF_REALITY_SMEARING, t.getDuration(self, t), {paradox=paradox/t.getDuration(self, t)})
versus:

Code: Select all

info = function(self, t)
		local ratio = t.getPercent(self, t)
		local duration = t.getDuration(self, t)
		return ([[While active 30%% of all damage you take is converted into %0.2f Paradox per point.
		The Paradox is gained over three turns.]]):
		format(ratio, duration)
	end,
Please help with the ToME wiki!

Micbran
Sher'Tul
Posts: 1154
Joined: Sun Jun 15, 2014 12:19 am
Location: Yeehaw, pardner

Re: [1.4.5] Reality Smearing

#2 Post by Micbran »

Reality Smearing is a buff and not a sustain right? If so, the duration should be the duration of the BUFF not the length of the smearing.
A little bit of a starters guide written by yours truly here.

ibanix
Wyrmic
Posts: 244
Joined: Thu May 23, 2013 12:25 am

Re: [1.4.5] Reality Smearing

#3 Post by ibanix »

Oh, and importantly, this:

Code: Select all

getDuration = function(self, t) return getExtensionModifier(self, t, 3) end,
With that, the duration could be modified from default 3
Please help with the ToME wiki!

ibanix
Wyrmic
Posts: 244
Joined: Thu May 23, 2013 12:25 am

Re: [1.4.5] Reality Smearing

#4 Post by ibanix »

Micbran wrote:Reality Smearing is a buff and not a sustain right? If so, the duration should be the duration of the BUFF not the length of the smearing.
Reality Smearing is a sustain.
Please help with the ToME wiki!

Post Reply