This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
user:loggy:auras [2021/01/29 16:10] loggy |
user:loggy:auras [2021/07/29 15:27] (current) loggy |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Auras ====== | + | ====== |
| (from 5.51b executable) | (from 5.51b executable) | ||
| Line 38: | Line 38: | ||
| - Otherwise, add one to the pulse count and subtract 24 from the aura value. If a random number 0-23 is less than the new aura value, add another pulse. Repeat this step until a pulse is not added. | - Otherwise, add one to the pulse count and subtract 24 from the aura value. If a random number 0-23 is less than the new aura value, add another pulse. Repeat this step until a pulse is not added. | ||
| - With the number of pulses calculated, all that remains is to place them. | - With the number of pulses calculated, all that remains is to place them. | ||
| - | - If this is one of the first three pulses or the (now reduced) aura value is less than 10, pick a random square with a max distance of 1 (diagonals allowed). Otherwise, the max distance is 2. Repeat until the calculated number of pulses have been generated. | + | - If this is one of the first three pulses or the (now reduced) aura value is less than 10, pick a random square with a max distance of 1 (diagonals allowed). Otherwise, the max distance is 2. Repeat until the calculated number of pulses have been generated. Each time, set the origin coords to where the last pulse appeared. |