Jump to content

Number of Krampus


azukun
  • Fixed

Here's a piece of code from OnNaughtyAction of components/kramped.lua:

		if day > TUNING.KRAMPUS_INCREASE_LVL1 then
			num_krampii = num_krampii + math.random(TUNING.KRAMPUS_INCREASE_RAMP)
		elseif day > TUNING.KRAMPUS_INCREASE_LVL2 then
			num_krampii = num_krampii + 1 + math.random(TUNING.KRAMPUS_INCREASE_RAMP)
		end

KRAMPUS_INCREASE_LVL2 is always greater than KRAMPUS_INCREASE_LVL1, so elseif branch will never execute.


Steps to Reproduce
Summon Krampus after day 100 with default settings, there will be 2-3 of them, same as days 51-100, while there should be more of them.



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...