[1.6 beta3] 10000% item slow effect

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
helminthauge
Wyrmic
Posts: 212
Joined: Sat Sep 29, 2018 3:43 am

[1.6 beta3] 10000% item slow effect

#1 Post by helminthauge »

There is a parenthese missing in the function so now item slow effect is almost 100 times of what it should be.

starsapphire
Thalore
Posts: 132
Joined: Sat Sep 27, 2014 11:33 am
Location: Irkkk

Re: [1.6 beta3] 10000% item slow effect

#2 Post by starsapphire »

Same problem, screenshot here.
ScreenShot20191016211319.png
ScreenShot20191016211319.png (210.27 KiB) Viewed 440 times
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,

Post Reply