Page 1 of 1

[1.6.0] Wrong Transcendent for the Blind of Brain Storm

Posted: Tue Sep 03, 2019 11:53 am
by helminthauge
the talents' tooltips say that it's the Transcendent Electrokinesis that makes Brain Storm also blind enemies, but the code says that it's the Transcendent Telekinesis.

Code: Select all

newDamageType{
	name = "brain storm", type = "BRAINSTORM",
	projector = function(src, x, y, type, dam, state)
		state = initState(state)
		useImplicitCrit(src, state)
		local target = game.level.map(x, y, Map.ACTOR)
		if target then
			DamageType:get(DamageType.LIGHTNING).projector(src, target.x, target.y, DamageType.LIGHTNING, dam, state)
			if target:checkHit(src:combatMindpower(), target:combatMentalResist(), 0, 95, 15) then
				target:crossTierEffect(target.EFF_BRAINLOCKED, src:combatMindpower())
			else
				game.logSeen(target, "%s resists the mind attack!", target.name:capitalize())
			end

			if src:hasEffect(src.EFF_TRANSCENDENT_TELEKINESIS) then
				if target:canBe("blind") then
					target:setEffect(target.EFF_BLINDED, 4, {apply_power=src:combatMindpower()})
				end
			end
			return dam
		end
	end,
}

Re: [1.6.0] Wrong Transcendent for the Blind of Brain Storm

Posted: Sun Oct 27, 2019 4:08 pm
by helminthauge
1.6.0 still unfixed

Re: [1.6.0] Wrong Transcendent for the Blind of Brain Storm

Posted: Sun Oct 27, 2019 4:54 pm
by darkgod
fixed