|
|
@ -19,10 +19,8 @@ client:on('messageCreate', function(message)
|
|
|
|
message.channel:send('You rolled a ' .. dice .. ' out of 20')
|
|
|
|
message.channel:send('You rolled a ' .. dice .. ' out of 20')
|
|
|
|
if dice==20 then
|
|
|
|
if dice==20 then
|
|
|
|
message.channel:send('Nat 20! Crititcal Hit')
|
|
|
|
message.channel:send('Nat 20! Crititcal Hit')
|
|
|
|
print('nat20check')
|
|
|
|
|
|
|
|
else if dice==1 then
|
|
|
|
else if dice==1 then
|
|
|
|
message.channel:send('Nat 1! Critical Miss!')
|
|
|
|
message.channel:send('Nat 1! Critical Shit!')
|
|
|
|
print('nat1check')
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|