Page 1 of 1

[1.2.2] Combination kick disables all sustains.

Posted: Thu Jun 19, 2014 9:31 pm
by Alisar
talents/unarmed-discipline.lua lines 58-74

Code: Select all

		local talents = {}

		for i = 1, t.getStrikes(self, t) do
			local hit = self:attackTarget(target, nil, t.getDamage(self, t), true)
			if hit then
				for tid, active in pairs(target.sustain_talents) do
					if active then
						local talent = target:getTalentFromId(tid)
						if t.checkType(self, t, talent) then talents[tid] = talent.name end
					end
				end
			end
		end

		for k, v in pairs(talents) do
			target:forceUseTalent(k, {ignore_energy=true})
		end
It's supposed to clear one sustain per hit, instead it adds every one it can to the list on hit and clears them all after.

Discovered thanks to the themuffinthief for noticing he disabled nine sustains at once.

Re: [1.2.2] Combination kick disables all sustains.

Posted: Thu Jun 19, 2014 10:00 pm
by themuffinthief
Alisar wrote: It's supposed to clear one sustain per hit, instead it adds every one it can to the list on hit and clears them all after.

Discovered thanks to the themuffinthief for noticing he disabled nine sustains at once.
And it only took until High Peak 2 to notice...but hey, for 5 combo points you can disable all enemy sustains 5 times each! Efficiency!

Re: [1.2.2] Combination kick disables all sustains.

Posted: Mon Jun 23, 2014 12:13 am
by darkgod
fixed