rr
This commit is contained in:
parent
2636d580a8
commit
d14550dad6
78 changed files with 2827 additions and 563 deletions
|
|
@ -52,6 +52,7 @@
|
|||
const x = hasX ? px : rand(58, worldRef.w - 58);
|
||||
const y = hasY ? py : rand(58, worldRef.h - 58);
|
||||
const drop = new Item("water", x, y);
|
||||
drop.rainDrop = opts?.rainDrop === true || (!hasX && !hasY);
|
||||
const amount = Number(opts?.amount);
|
||||
drop.amount = Number.isFinite(amount) ? amount : rand(24, 58);
|
||||
// Rain drops, placed water drops, and water-balloon splashes all use the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue