Skip to content
Snippets Groups Projects
Commit 1c65656c authored by Hachem_Muche's avatar Hachem_Muche
Browse files

Fixed a bug (cosmetic) with the Parry buff activating for 0 deflect damage...

Fixed a bug (cosmetic) with the Parry buff activating for 0 deflect damage when duel wielding mindstars.
Revised (nerfed) Gesture of Guarding's deflection value (similar to parry).
parent e68efd61
No related branches found
No related tags found
No related merge requests found
......@@ -231,7 +231,7 @@ newTalent{
mode = "passive",
cooldown = 10,
points = 5,
getGuardPercent = function(self, t) return self:combatTalentLimit(t, 390, 80, 270) end,
getGuardPercent = function(self, t) return self:combatTalentLimit(t, 80, 20, 45) end,
-- Damage reduction handled in _M:attackTargetWith function in mod.class.interface.Combat.lua
getDamageChange = function(self, t, fake)
local test, dam = canUseGestures(self)
......
......@@ -109,7 +109,7 @@ newTalent{
local radius = self:getTalentRadius(t)
local duration = t.getDuration(self,t)
return ([[When you exit stealth, you reveal yourself dramatically, intimitading foes around you.
All enemies that witness you leaving stealth within radius %d will be stricken with terror, randomly inflicting stun, slow (40%% power) or confusion (50%% power) for %d turns.]])
All enemies that witness you leaving stealth within radius %d will be stricken with terror, which randomly inflicts stun, slow (40%% power), or confusion (50%% power) for %d turns.]])
:format(radius, duration)
end,
}
......
......@@ -62,7 +62,9 @@ newTalent{ -- Note: classes: Temporal Warden, Rogue, Shadowblade, Marauder
return self:combatStatScale("cun", 1, 2.25)
end,
callbackOnActBase = function(self, t) -- refresh the buff each turn in mod.class.Actor.lua _M:actBase
if self:hasDualWeapon() then
local mh, oh = self:hasDualWeapon()
-- if self:hasDualWeapon() then
if (mh and oh) and oh.subtype ~= "mindstar" then
self:setEffect(self.EFF_PARRY,1,{chance=t.getDeflectChance(self, t), dam=t.getDamageChange(self, t), deflects=t.getDeflects(self, t)})
end
end,
......
......@@ -49,7 +49,9 @@ newTalent{
return t.getDeflectPercent(self, t) * dam/100
end,
callbackOnActBase = function(self, t)
if self:hasDualWeapon() then
local mh, oh = self:hasDualWeapon()
-- if self:hasDualWeapon() then
if (mh and oh) and oh.subtype ~= "mindstar" then
self:setEffect(self.EFF_PARRY,1,{chance=t.getDeflectChance(self, t), dam=t.getDamageChange(self, t), deflects=t.getDeflects(self, t), parry_ranged=true})
end
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