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

Being stunned now also reduces healing by 50%

git-svn-id: http://svn.net-core.org/repos/t-engine4@3358 51575b47-30f0-44d4-a5cc-537603b46e54
parent 6e3ad93d
No related branches found
No related tags found
No related merge requests found
......@@ -841,6 +841,11 @@ function _M:onHeal(value, src)
return 0
end
value = value * util.bound((self.healing_factor or 1), 0, 2.5)
if src:attr("stunned") then
value = value / 2
end
print("[HEALING]", self.uid, self.name, "for", value)
return value
end
......
......@@ -395,7 +395,7 @@ newEffect{
newEffect{
name = "STUNNED",
desc = "Stunned",
long_desc = function(self, eff) return ("The target is stunned, reducing damage by 70%%, putting random talents on cooldown and reducing movement speed by 50%%. While stunned talents do not cooldown."):format() end,
long_desc = function(self, eff) return ("The target is stunned, reducing damage by 70%%, healing received by 50%, putting random talents on cooldown and reducing movement speed by 50%%. While stunned talents do not cooldown."):format() end,
type = "physical",
status = "detrimental",
parameters = {},
......
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