Skip to content
Snippets Groups Projects
combat-training.lua 955 B
Newer Older
dg's avatar
dg committed
newTalent{
	name = "Heavy Armour Training",
	type = {"physical/combat-training", 1},
	mode = "passive",
dg's avatar
dg committed
	points = 5,
dg's avatar
dg committed
	require = { stat = { str=18 }, },
dg's avatar
dg committed
	info = function(self, t)
dg's avatar
dg committed
		return [[Teaches the usage of heavy mail armours.]]
	end,
}

newTalent{
	name = "Massive Armour Training",
	type = {"physical/combat-training", 2},
	mode = "passive",
dg's avatar
dg committed
	points = 5,
dg's avatar
dg committed
	require = { stat = { str=22 }, talent = { Talents.T_HEAVY_ARMOUR_TRAINING }, },
dg's avatar
dg committed
	info = function(self, t)
dg's avatar
dg committed
		return [[Teaches the usage of massive plate armours.]]
	end,
}

newTalent{
	name = "Health",
	type = {"physical/combat-training", 1},
	mode = "passive",
dg's avatar
dg committed
	require = { stat = { con=function(level) return 14 + level * 5 end }, },
dg's avatar
dg committed
	on_learn = function(self, t)
		self.max_life = self.max_life + 40
dg's avatar
dg committed
	end,
	on_unlearn = function(self, t)
		self.max_life = self.max_life - 40
dg's avatar
dg committed
	end,
dg's avatar
dg committed
	info = function(self, t)
		return [[Increases your maximun life by 40 per talent level]]
dg's avatar
dg committed
	end,
}