Thread
:
Need a table SpellName = SpellID
View Single Post
02-03-15, 03:10 AM
#
8
Choonstertwo
A Chromatic Dragonspawn
Join Date: Jan 2011
Posts: 194
Even though Lua doesn't have constants, there's nothing stopping you from using a normal local variable like a constant:
lua Code:
local
RIPTIDE_ID
=
61295
-- ...
if
GetSpellCooldown
(
RIPTIDE_ID
)
==
0
then
DoStuff
(
)
end
Choonstertwo
View Public Profile
Send a private message to Choonstertwo
Find More Posts by Choonstertwo