From 0b564706115a7a2202ee703a8999abc5ebefa17e Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Sun, 17 Jun 2012 22:23:12 +0000 Subject: [PATCH] Catalepsy can not crit, because it works of dieases which can crit, so it wont double crit git-svn-id: http://svn.net-core.org/repos/t-engine4@5249 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/data/talents/corruptions/plague.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/game/modules/tome/data/talents/corruptions/plague.lua b/game/modules/tome/data/talents/corruptions/plague.lua index e28471dbc0..11ea035e0c 100644 --- a/game/modules/tome/data/talents/corruptions/plague.lua +++ b/game/modules/tome/data/talents/corruptions/plague.lua @@ -196,7 +196,7 @@ newTalent{ -- Make them EXPLODE !!! for i, d in ipairs(diseases) do target:removeEffect(d.id) - DamageType:get(DamageType.BLIGHT).projector(self, px, py, DamageType.BLIGHT, self:spellCrit(d.params.dam * d.params.dur * t.getDamage(self, t))) + DamageType:get(DamageType.BLIGHT).projector(self, px, py, DamageType.BLIGHT, d.params.dam * d.params.dur * t.getDamage(self, t)) end if #diseases > 0 and target:canBe("stun") then @@ -248,10 +248,10 @@ newTalent{ local disease = rng.table(diseases) local params = disease.params params.src = self - local disease_spread = { + local disease_spread = { src=self, dam=disease.params.dam, str=disease.params.str, dex=disease.params.dex, con=disease.params.con, apply_power=self:combatSpellpower(), heal_factor=disease.params.heal_factor, burst=disease.params.burst, rot_timer=disease.params.rot_timer, resist=disease.params.resist, make_ghoul=disease.params.make_ghoul, - } + } if target:canBe("disease") then target:setEffect(disease.id, 6, disease_spread) else -- GitLab