Quantcast WoWInterface - View Single Post - Static initialising a table
View Single Post
02-10-18, 12:51 PM   #5
Fishing Trainer
Seerah's Avatar
WoWInterface Super Mod
Join Date: Oct 2006
Posts: 10,451
Originally Posted by MunkDev View Post
Since you said your values are fictitious, this might not be useful advice, but there's certainly no need to create tables for every spell containing only the name and the ID.
I thought this as well, but since it wasn't actual code, I didn't think to say it.
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote