Skip to content
Snippets Groups Projects
Commit 0a96b2ac authored by dg's avatar dg
Browse files

moarr

git-svn-id: http://svn.net-core.org/repos/t-engine4@5573 51575b47-30f0-44d4-a5cc-537603b46e54
parent 621e69e7
No related branches found
No related tags found
No related merge requests found
game/modules/tome/data/gfx/talents/eternal_guard.png

4.18 KiB

......@@ -244,7 +244,7 @@ newTalent{
action = function(self, t)
local properties = t.getProperties(self, t)
local bt, bt_string = t.getBlockedTypes(self, t)
self:setEffect(self.EFF_BLOCKING, 1, {power = t.getBlockValue(self, t), d_types=bt, properties=properties})
self:setEffect(self.EFF_BLOCKING, 1 + (self:knowTalent(self.T_ETERNAL_GUARD) and 2 or 0), {power = t.getBlockValue(self, t), d_types=bt, properties=properties})
return true
end,
info = function(self, t)
......
......@@ -62,3 +62,12 @@ uberTalent{
:format(100 + self:getCon() * 3)
end,
}
uberTalent{
name = "Eternal Guard",
mode = "passive",
info = function(self, t)
return ([[Your block now lasts 2 more turns.]])
:format()
end,
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment