Skip to content
Snippets Groups Projects
Commit 1f682c1a authored by DarkGod's avatar DarkGod
Browse files

Merge branch '1.6.1-eldritch-stone' into 'master'

fix eldritch stone

disarm and silence duration based on Impaling and Eldritch Spikes TL, instead of Stone Spikes TL

See merge request !584
parents 0caf02a7 c963e297
No related branches found
No related tags found
1 merge request!584fix eldritch stone
Pipeline #
......@@ -62,12 +62,12 @@ newTalent{
if self:knowTalent(self.T_ELDRITCH_SPIKES) then
local st = self:getTalentFromId(self.T_ELDRITCH_SPIKES)
DamageType:get(DamageType.ARCANE).projector(self, px, py, DamageType.ARCANE, self:spellCrit(st.getDamage(self, st)))
if target:canBe("silence") then target:setEffect(target.EFF_SILENCED, st.getSilence(self, t), {apply_power=math.max(self:combatPhysicalpower(), self:combatSpellpower())}) end
if target:canBe("silence") then target:setEffect(target.EFF_SILENCED, st.getSilence(self, st), {apply_power=math.max(self:combatPhysicalpower(), self:combatSpellpower())}) end
end
if self:knowTalent(self.T_IMPALING_SPIKES) then
local st = self:getTalentFromId(self.T_IMPALING_SPIKES)
DamageType:get(DamageType.PHYSICAL).projector(self, px, py, DamageType.PHYSICAL, self:spellCrit(st.getDamage(self, st)))
if target:canBe("disarm") then target:setEffect(target.EFF_DISARMED, st.getDisarm(self, t), {apply_power=math.max(self:combatPhysicalpower(), self:combatSpellpower())}) end
if target:canBe("disarm") then target:setEffect(target.EFF_DISARMED, st.getDisarm(self, st), {apply_power=math.max(self:combatPhysicalpower(), self:combatSpellpower())}) end
end
end, nil, {type="stone_spikes"})
......
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