Random PSIdeas

Random PSIdeas

1M Downloads

"Trick: Clairvoyance" accepts decimal input for time but only uses the integer component

ItsTheKais opened this issue ยท 0 comments

commented

The piece Trick: Clairvoyance will take a decimal number for the time input without an error, but rounds down to the nearest integer when cast. Can be easily observed by using a decimal between 0 and 1, which compiles and results in no effect when cast because it rounds down to zero seconds, whereas directly entering 0 for the time input causes a compile error.

  • Random PSIdeas 2.4.2
  • LibrarianLib 4.19.2
  • Forgelin 1.8.3
  • PSI 1.1-77
  • AutoRegLib 1.3-32
  • Forge 14.23.5.2838