Created
August 22, 2018 01:30
-
-
Save mackal/7691f2de47e8df09c00957b9b9040804 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local index = 0; | |
local casting_data = { | |
{ | |
"pulls his right arm back, preparing to cut a swathe through his opponents with his razor sharp claws.", | |
"claws at those on his right flank.", | |
6554 | |
}, | |
{ | |
"pulls his left arm back, preparing to cut a swathe through his opponents with his razor sharp claws.", | |
"claws at those on his left flank.", | |
6555 | |
}, | |
{ | |
"twirls his tail, preparing to sweat away those foolish enough to take up position behind him.", | |
"swats at those behind him with his tail.", | |
6553 | |
}, | |
{ | |
"rears backs and fills his lungs, preparing to exhale a cone of ice.", | |
"exhales a cone of deadly ice.", | |
6552 | |
} | |
}; | |
-- PEQ handles this for us already, so don't need to seed | |
math.randomseed(os.time()) | |
local num = math.random(1,table.getn(casting_data)); | |
print(num) | |
print(casting_data[num][1]) | |
print(casting_data[num][2]) | |
print(casting_data[num][3]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment