Page 1 of 1

HOBBIT_LUCK bug

Posted: Wed May 26, 2010 3:27 am
by relict
in tome\data\talents\misc\misc.lua action and info definition not equal:

Code: Select all

-- Hobbit's power, temporary crit bonus
newTalent{
	short_name = "HOBBIT_LUCK",
	name = "Luck of the Little Folk",
	type = {"base/race", 1},
	cooldown = 50,
	action = function(self, t)
		self:setEffect(self.EFF_HOBBIT_LUCK, 5, {
			physical=20 + self:getCun() / 2,
			spell=20 + self:getCun() / 2,
		})
		return true
	end,
	info = function(self)
		return ([[Call upon the luck and cunning of the Little Folk to increase your physical and spell critical strike change by %d%% for 5 turns.
		The bonus will increase with the Constitution stat]]):format(10 + self:getCon() / 5, 10 + self:getCon() / 5)
	end,
} 

Re: HOBBIT_LUCK bug

Posted: Wed May 26, 2010 8:21 am
by darkgod
fixed