[1.6 beta3] 10000% item slow effect
Moderator: Moderator
-
- Wyrmic
- Posts: 212
- Joined: Sat Sep 29, 2018 3:43 am
[1.6 beta3] 10000% item slow effect
There is a parenthese missing in the function so now item slow effect is almost 100 times of what it should be.
-
- Thalore
- Posts: 132
- Joined: Sat Sep 27, 2014 11:33 am
- Location: Irkkk
Re: [1.6 beta3] 10000% item slow effect
Same problem, screenshot here.
In `data/damage_types.lua:2269`
Code: Select all
projector = function(src, x, y, type, dam, state)
state = initState(state)
useImplicitCrit(src, state)
local target = game.level.map(x, y, Map.ACTOR)
if target and rng.percent(dam) then
local slow_power = math.floor(src:combatStatScale(src:combatMindpower(), 20, 70))+10 / 100
*Brackets missing^
target:setEffect(target.EFF_SLOW, 3, {power = slow_power, no_ct_effect=true})
end
end,