Skip to content
Snippets Groups Projects
Commit 90e60f10 authored by DarkGod's avatar DarkGod
Browse files

Ward talent lists available wards

parent 6de3e8da
No related branches found
No related tags found
No related merge requests found
......@@ -1373,6 +1373,9 @@ function _M:setupCommands()
print("===============")
end end,
[{"_g","ctrl"}] = function() if config.settings.cheat then
self.player:addParticles(engine.Particles.new("shader_ring_rotating", 1, {rotation=0, radius=1.1, img="lightningshield"}, {type="lightningshield"}))
do return end
local f, err = loadfile("/data/general/events/fearscape-portal.lua")
print(f, err)
setfenv(f, setmetatable({level=self.level, zone=self.zone}, {__index=_G}))
......
......@@ -152,7 +152,12 @@ newTalent{
return true
end,
info = function(self, t)
return ([[Bring a damage-type-specific ward into being. The ward will fully negate as many attacks of its element as it has charges.]])
local xs = ""
for w, nb in pairs(self.wards) do
xs = xs .. (xs ~= "" and ", " or "") .. engine.DamageType.dam_def[w].name:capitalize() .. "(" .. tostring(nb) .. ")"
end
return ([[Bring a damage-type-specific ward into being. The ward will fully negate as many attacks of its element as it has charges.
You can activate the following wards: %s]]):format(xs)
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