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

moooarr

git-svn-id: http://svn.net-core.org/repos/t-engine4@5477 51575b47-30f0-44d4-a5cc-537603b46e54
parent ffede599
No related branches found
No related tags found
No related merge requests found
......@@ -1219,7 +1219,7 @@ function _M:setupCommands()
end end
end end,
[{"_g","ctrl"}] = function() if config.settings.cheat then
local f, err = loadfile("/data/general/events/whistling-vortex.lua")
local f, err = loadfile("/data/general/events/fell-aura.lua")
print(f, err)
setfenv(f, setmetatable({level=self.level, zone=self.zone}, {__index=_G}))
print(pcall(f))
......
......@@ -116,7 +116,7 @@ floorEffect{
floorEffect{
desc = "Necrotic Air", image = "talents/repression.png",
long_desc = "The target is in a zone of necrotic air, granting -40%% healing mod. Undead creatures also get +15%% to all resistances.",
long_desc = "The target is in a zone of necrotic air, granting -40% healing mod. Undead creatures also get +15% to all resistances.",
activate = function(self, eff)
self:effectTemporaryValue(eff, "healing_factor", -0.4)
if self:attr("undead") then self:effectTemporaryValue(eff, "resists", {all=15}) end
......@@ -133,3 +133,12 @@ floorEffect{
self:effectTemporaryValue(eff, "slow_projectiles", 30)
end,
}
floorEffect{
desc = "Fell Aura", image = "talents/shadow_mages.png",
long_desc = "The target is surrounded by a fell aura, granting 40% critical damage bonus but -20% to all resistances.",
activate = function(self, eff)
self:effectTemporaryValue(eff, "combat_critical_power", 40)
self:effectTemporaryValue(eff, "resists", {all=-20})
end,
}
......@@ -19,4 +19,5 @@
return { one_per_level=true,
{name="glimmerstone", minor=true, percent=50},
{name="fell-aura", minor=true, percent=100},
}
......@@ -23,4 +23,5 @@ return { one_per_level=true,
{name="blighted-soil", minor=true, percent=40},
{name="protective-aura", minor=true, percent=20},
{name="necrotic-air", minor=true, percent=60, max_repeat=3},
{name="fell-aura", minor=true, percent=40},
}
......@@ -22,4 +22,5 @@ return { one_per_level=true,
{name="cultists", percent=10},
{name="glimmerstone", minor=true, percent=100, max_repeat=4},
{name="whistling-vortex", minor=true, percent=50},
{name="fell-aura", minor=true, percent=50, max_repeat=3},
}
......@@ -19,4 +19,6 @@
return { one_per_level=true,
{group="fareast-generic", percent_factor=1.5},
{name="fell-aura", minor=true, percent=100, max_repeat=3},
{name="spellblaze-scar", minor=true, percent=50},
}
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