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

Dark Surprise second hit is correctly a crit

git-svn-id: http://svn.net-core.org/repos/t-engine4@5110 51575b47-30f0-44d4-a5cc-537603b46e54
parent 17fa2d5b
No related branches found
No related tags found
No related merge requests found
...@@ -165,7 +165,9 @@ newTalent{ ...@@ -165,7 +165,9 @@ newTalent{
local speed1, hit1 = self:attackTargetWith(target, weapon.combat, DamageType.DARKNESS, self:combatTalentWeaponDamage(t, 0.6, 1.4)) local speed1, hit1 = self:attackTargetWith(target, weapon.combat, DamageType.DARKNESS, self:combatTalentWeaponDamage(t, 0.6, 1.4))
if hit1 then if hit1 then
self.combat_physcrit = self.combat_physcrit + 100
local speed2, hit2 = self:attackTargetWith(target, offweapon.combat, DamageType.BLIGHT, self:getOffHandMult(offweapon.combat, self:combatTalentWeaponDamage(t, 0.6, 1.4))) local speed2, hit2 = self:attackTargetWith(target, offweapon.combat, DamageType.BLIGHT, self:getOffHandMult(offweapon.combat, self:combatTalentWeaponDamage(t, 0.6, 1.4)))
self.combat_physcrit = self.combat_physcrit - 100
if hit2 and target:canBe("blind") then if hit2 and target:canBe("blind") then
target:setEffect(target.EFF_BLINDED, 4, {apply_power=self:combatPhysicalpower()}) target:setEffect(target.EFF_BLINDED, 4, {apply_power=self:combatPhysicalpower()})
else else
......
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