As written in the title: calling rng.percent() with a negative parameter always return true.
This is a little counterintuitive, as I expected that it would always return false for a negative parameter, and always true for a parameter higher than 100. And looking at the source code (core_lua.c line 1473), I have no idea why it is not the case.
rng.percent(-10) always return true
Moderator: Moderator
Re: rng.percent(-10) always return true
Weird indeed.
Some casting errors I suppose.
Fixed
Some casting errors I suppose.
Fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
