Core/Spells: Add SpellInfo class to store static data and methods for spells. This class is going to replace SpellEntry use in core. SpellInfo class includes all spell-related functions which resided in SpellMgr, and makes them much easier to access, reuse or add new stuff. Another advantage is that you no longer have to lookup db/dbc data by entry or index, because such data can now be included in the new class. Thanks to that, TC will have no problems on drastic spell dbc format change in 4.x.

This commit is contained in:
QAston committed 2011-07-26 23:00:23 +02:00
1 parent b2698d699e
commit 29c228a801
2 files changed
+2302

No files matched your search

File diff suppressed because it is too large. Load diff