[1.0.4] Sudden Growth is missing is_heal = true

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] Sudden Growth is missing is_heal = true

#1 Post by jenx »

and so it is inconsistent with other healing talents:

Code: Select all

newTalent{
	name = "Sudden Growth",
	type = {"wild-gift/fungus", 4},
	require = gifts_req4,
	points = 5,
	equilibrium = 22,
	cooldown = 25,
	tactical = { HEAL = function(self, t, target) return self.life_regen * 10 end },
	getMult = function(self, t) return util.bound(5 + self:getTalentLevel(t), 3, 12) end,
	action = function(self, t)
		local amt = self.life_regen * t.getMult(self, t)

		self:heal(amt)

		game:playSoundNear(self, "talents/heal")
		return true
	end,
	info = function(self, t)
		local mult = t.getMult(self, t)
		return ([[A wave of energy passes through your fungus, making it release immediate healing energies on you, healing you for %d%% of your current life regeneration rate.]]):
		format(mult * 100)
	end,
}
MADNESS rocks

Post Reply