Skip to content
Snippets Groups Projects
Commit 549d6c34 authored by dg's avatar dg
Browse files

moar

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

2.64 KiB

......@@ -132,3 +132,19 @@ uberTalent{
:format()
end,
}
uberTalent{
name = "Hidden Resources",
cooldown = 15,
no_energy = true,
action = function(self, t)
self:setEffect(self.EFF_HIDDEN_RESOURCES, 5, {})
return true
end,
require = { special={desc="Be close to the draconic world", fct=function(self) return self:attr("drake_touched") and self:attr("drake_touched") >= 2 end} },
info = function(self, t)
return ([[You focus your mind on the task at hand.
For 5 turns none of your talents use any resources.]])
:format()
end,
}
......@@ -2751,7 +2751,7 @@ newEffect{
long_desc = function(self, eff) return "The target is immune to all detrimental effects." end,
type = "mental",
subtype = { nature=true },
status = "detrimental",
status = "beneficial",
on_gain = function(self, err) return "#Target#'s skin hardens.", "+Draconic Will" end,
on_lose = function(self, err) return "#Target#'s skin is back to normal.", "-Draconic Will" end,
parameters = { },
......@@ -2759,3 +2759,18 @@ newEffect{
self:effectTemporaryValue(eff, "negative_status_effect_immune", 1)
end,
}
newEffect{
name = "HIDDEN_RESOURCES", image = "talents/hidden_resources.png",
desc = "Hidden Ressources",
long_desc = function(self, eff) return "The target does not consume any resources." end,
type = "mental",
subtype = { willpower=true },
status = "beneficial",
on_gain = function(self, err) return "#Target#'s focuses.", "+Hidden Ressources" end,
on_lose = function(self, err) return "#Target#'s loses some focus.", "-Hidden Ressources" end,
parameters = { },
activate = function(self, eff)
self:effectTemporaryValue(eff, "force_talent_ignore_ressources", 1)
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