#Giga Chad's Weather Macro

1 messages · Page 1 of 1 (latest)

timid sun
#

@heavy fiber @exotic tiger

heavy fiber
#

ok i ruined the macro somehow goddamnit

exotic tiger
#

Post it in full please.

#

```js
code here
```

heavy fiber
#
const table1 = game.tables.getName("Spring Temperature")
const draw1 = await table1.draw()
const table2 = game.tables.getName("Spring Weather Conditions")
const draw2 = await table2.draw()
const rolled = draw2.roll.dice[0].total
if(rolled == 6){await table2.draw()
  await game.tables.getName("Strange Weather Conditions").draw()
  await game.tables.getName("Strange Weather Duration").draw()
await table2.draw()}
#

i changed roll. to gm roll and i seem to have messed up stuff

#

tried to change it back but something went wrong

exotic tiger
#
const table1 = game.tables.getName("Spring Temperature")
const table2 = game.tables.getName("Spring Weather Conditions")
const table3 = game.tables.getName("Strange Weather Conditions")
const table4 = game.tables.getName("Strange Weather Duration")

await table1.draw()
const draw2 = await table2.draw()
const rolled = draw2.roll.dice[0].total
if(rolled === 6){
    await table3.draw()
    await table4.draw({rollMode: 'gmroll'})
    await table2.draw()
}
heavy fiber
#

ok it works properly

#

the strange weather duration works properly aswell being hidden

#

ok i think its done

exotic tiger
#

Great! 👍

heavy fiber
#

Thank you a lot for spending your time on me

#

thread can be closes

timid sun
#

🥳