Commit 41df6cb0069260f391ecae390245cc5005735beb

Authored by yutio888
1 parent 0239f685

fix wintry ego on shield not crit

... ... @@ -352,7 +352,7 @@ newEntity{
352 352 local damage = who:mindCrit(dam)
353 353 local check = math.max(who:combatSpellpower(), who:combatMindpower(), who:combatAttack())
354 354 local tg = {type="ball", range=0, radius=4, selffire=false, friendlyfire=false}
355   - local grids = who:project(tg, who.x, who.y, DamageType.COLDNEVERMOVE, {dur=3, dam=dam, apply_power = check})
  355 + local grids = who:project(tg, who.x, who.y, DamageType.COLDNEVERMOVE, {dur=3, dam=damage, apply_power = check})
356 356 game.level.map:particleEmitter(who.x, who.y, tg.radius, "circle", {oversize=1.1, a=255, limit_life=16, grow=true, speed=0, img="ice_nova", radius=tg.radius})
357 357 game:playSoundNear(self, "talents/ice")
358 358 end,
... ...