Page 1 of 1

[1.0.4] Meteoric Crash uses inconsistent power calcs

Posted: Mon Jun 10, 2013 11:45 am
by jenx
The damage uses max of spell or mindpower:

Code: Select all

getDamage = function(self, t) return math.max(100 + self:combatSpellpower() * 5, 100 + self:combatMindpower() * 5) end
but the stun uses only spell power. It needs a similar formula, to make it useful for mindpower chars:

Code: Select all

if target:canBe("stun") then
	target:setEffect(target.EFF_STUNNED, 3, {apply_power=src:combatSpellpower()})
		else
			game.logSeen(target, "%s resists the stun!", target.name:capitalize())
		end
	end

Re: [1.0.4] Meteoric Crash uses inconsistent power calcs

Posted: Mon Jun 17, 2013 10:39 am
by darkgod
fixed