Skip to content
Snippets Groups Projects
Commit e6e79a5e authored by Otowa Kotori's avatar Otowa Kotori
Browse files

grapple will check if target can be silence/slowed

parent c0621729
No related branches found
No related tags found
1 merge request!630otowakotori 1.7 misc fixes
......@@ -2746,6 +2746,13 @@ function _M:startGrapple(target)
grappleParam["sharePct"] = t.getSharePct(self, t) -- damage shared with grappled set by Clinch
end
if grappledParam.silence == 1 and not target:canBe("silence") then
grappledParam.silence = 0
end
if grappledParam.slow == 1 and not target:canBe("slow") then
grappledParam.slow = 0
end
-- oh for the love of god why didn't I rewrite this entire structure
grappledParam["src"] = self
grappledParam["apply_power"] = self:combatPhysicalpower()
......
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