Changes

Jump to navigation Jump to search
→‎Game state queries: clarify @addDailyLuck is from current player
Line 4,211: Line 4,211:  
| A random probability check which is re-rolled each time it's called. For example, <code>RANDOM 0.4</code> is true 40% of the time.
 
| A random probability check which is re-rolled each time it's called. For example, <code>RANDOM 0.4</code> is true 40% of the time.
   −
If the exact text <samp>@addDailyLuck</samp> is specified, the player's [[Daily Luck|daily luck]] is added to the probability.
+
If the exact text <samp>@addDailyLuck</samp> is specified, the current player's [[Daily Luck|daily luck]] is added to the probability.
 
|-
 
|-
 
| <samp>SYNCED_DAY_RANDOM {{t|key}} {{t|chance}} {{o|@addDailyLuck}}</samp><br /><samp>SYNCED_TICK_RANDOM {{t|key}} {{t|chance}} {{o|@addDailyLuck}}</samp>
 
| <samp>SYNCED_DAY_RANDOM {{t|key}} {{t|chance}} {{o|@addDailyLuck}}</samp><br /><samp>SYNCED_TICK_RANDOM {{t|key}} {{t|chance}} {{o|@addDailyLuck}}</samp>
 
| A random probability check which returns a consistent per-{{t|key}} value for the current day (<samp>SYNCED_DAY_TICK</samp>) or game update tick (<samp>SYNCED_TICK_RANDOM</samp>). For example, <samp>SYNCED_RANDOM_DAY cart_rare_seed 0.4</samp> has a 40% chance to be true the first time it's called that day, and will always be the same value if called again with the same key on the same day.
 
| A random probability check which returns a consistent per-{{t|key}} value for the current day (<samp>SYNCED_DAY_TICK</samp>) or game update tick (<samp>SYNCED_TICK_RANDOM</samp>). For example, <samp>SYNCED_RANDOM_DAY cart_rare_seed 0.4</samp> has a 40% chance to be true the first time it's called that day, and will always be the same value if called again with the same key on the same day.
   −
If the exact text <samp>@addDailyLuck</samp> is specified, the player's [[Daily Luck|daily luck]] is added to the probability.
+
If the exact text <samp>@addDailyLuck</samp> is specified, the current player's [[Daily Luck|daily luck]] is added to the probability.
 
|-
 
|-
 
| <samp>SYNCED_SUMMER_RAIN_RANDOM {{t|base chance}} {{t|day multiplier}}</samp>
 
| <samp>SYNCED_SUMMER_RAIN_RANDOM {{t|base chance}} {{t|day multiplier}}</samp>
translators
8,456

edits

Navigation menu