Skip to content
Snippets Groups Projects
Commit 41df6cb0 authored by yutio888's avatar yutio888
Browse files

fix wintry ego on shield not crit

parent 0239f685
No related branches found
No related tags found
No related merge requests found
......@@ -352,7 +352,7 @@ newEntity{
local damage = who:mindCrit(dam)
local check = math.max(who:combatSpellpower(), who:combatMindpower(), who:combatAttack())
local tg = {type="ball", range=0, radius=4, selffire=false, friendlyfire=false}
local grids = who:project(tg, who.x, who.y, DamageType.COLDNEVERMOVE, {dur=3, dam=dam, apply_power = check})
local grids = who:project(tg, who.x, who.y, DamageType.COLDNEVERMOVE, {dur=3, dam=damage, apply_power = check})
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})
game:playSoundNear(self, "talents/ice")
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