#Giga Chad's Weather Macro
1 messages · Page 1 of 1 (latest)
ok i ruined the macro somehow goddamnit
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
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()
}
ok it works properly
the strange weather duration works properly aswell being hidden
ok i think its done
Great! 👍
🥳