Code: Select all
defineTrait{
name = "novice_axeman",
uiName = "Novice Axeman",
icon = 94,
description = "You started to learn how cut the trees. Strength bonus +1, Health +5.",
onRecomputeStats = function(champion, level)
if level > 0 then
level = champion:getLevel()
champion:addStatModifier("strength", 1)
champion:addStatModifier("max_health", 5)
-- champion:addStatModifier("max_energy", 30 + (level-1) * 3)
end
end,
}
defineTrait{
name = "apprentice_axeman",
uiName = "Apprentice Axeman",
icon = 94,
description = "Cuting monster heads is much better than lumbering the woods. Strength bonus +1, Health +5.",
onRecomputeStats = function(champion, level)
if level > 0 then
level = champion:getLevel()
champion:addStatModifier("strength", 1)
champion:addStatModifier("max_health", 5)
-- champion:addStatModifier("max_energy", 30 + (level-1) * 3)
end
end,
}
defineTrait{
name = "expert_axeman",
uiName = "Expert Axeman",
icon = 94,
description = "You have learned how to use axe and there are scary rumors among the monsters. Strength bonus +1, Health +5. Attack power +10 while using axes.",
onRecomputeStats = function(champion, level)
if level > 0 then
level = champion:getLevel()
champion:addStatModifier("strength", 1)
champion:addStatModifier("max_health", 5)
-- champion:addStatModifier("max_energy", 30 + (level-1) * 3)
end
end,
}
defineTrait{
name = "master_axeman",
uiName = "Master Axeman",
icon = 94,
description = "You have mastered the axe. Only one final training is before you to reach the rank of Grandmaster. Bonus +1 Strength, Health +5.",
onRecomputeStats = function(champion, level)
if level > 0 then
level = champion:getLevel()
champion:addStatModifier("strength", 1)
champion:addStatModifier("max_health", 5)
-- champion:addStatModifier("max_energy", 30 + (level-1) * 3)
end
end,
}
defineTrait{
name = "grandmaster_axeman",
uiName = "Axe Grand Master",
icon = 94,
description = "Finally ! You are able to kill any monster with one mighty swing ! Bonus + 20 to attack power with axes !",
}
defineTrait{
name = "novice_mace",
uiName = "Mace Novice",
icon = 94,
description = "You can withstand some hard blows. Bonus +1 Vitality and + 5 Hit points.",
onRecomputeStats = function(champion, level)
if level > 0 then
level = champion:getLevel()
champion:addStatModifier("vitality", 1)
champion:addStatModifier("max_health", 5)
-- champion:addStatModifier("max_energy", 30 + (level-1) * 3)
end
end,
}
defineTrait{
name = "apprentice_mace",
uiName = "Mace Apprentice",
icon = 94,
description = "You are more resistant now. Bonus +1 Vitality and + 5 Hit points.",
onRecomputeStats = function(champion, level)
if level > 0 then
level = champion:getLevel()
champion:addStatModifier("vitality", 1)
champion:addStatModifier("max_health", 5)
-- champion:addStatModifier("max_energy", 30 + (level-1) * 3)
end
end,
}
defineTrait{
name = "expert_mace",
uiName = "Mace Expert",
icon = 94,
description = "You learned how to use mace properly. Bonus +1 Vitality and + 5 Hit points and you ignore 10 points of opponents armor with mace.",
onRecomputeStats = function(champion, level)
if level > 0 then
level = champion:getLevel()
champion:addStatModifier("vitality", 1)
champion:addStatModifier("max_health", 5)
-- champion:addStatModifier("max_energy", 30 + (level-1) * 3)
end
end,
}
defineTrait{
name = "master_mace",
uiName = "Mace Master",
icon = 94,
description = "Only one final training is before you to reach rank of the Granmaster. Bonus +1 Vitality and + 5 Hit points.",
onRecomputeStats = function(champion, level)
if level > 0 then
level = champion:getLevel()
champion:addStatModifier("vitality", 1)
champion:addStatModifier("max_health", 5)
-- champion:addStatModifier("max_energy", 30 + (level-1) * 3)
end
end,
}
defineTrait{
name = "grandmaster_mace",
uiName = "Mace Grand Master",
icon = 94,
description = "Bash them hard, bash them good ! You ignore 30 points of opponents armor.",
}