[1.0.4] Meteoric Crash uses inconsistent power calcs

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

[1.0.4] Meteoric Crash uses inconsistent power calcs

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

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

Re: [1.0.4] Meteoric Crash uses inconsistent power calcs

#2 Post by darkgod »

fixed
[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 ;)

Post Reply