mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
*Add base scripting interfce for spells - thanks to Brian for help in making it compile with GCC.
*Add hook for handling spell effects in new scripting system. --HG-- branch : trunk
This commit is contained in:
@@ -513,6 +513,20 @@ void AddSC_terokkar_forest();
|
||||
void AddSC_zangarmarsh();
|
||||
void AddSC_onevents();
|
||||
|
||||
// spells
|
||||
void AddSC_deathknight_spell_scripts();
|
||||
void AddSC_druid_spell_scripts();
|
||||
void AddSC_generic_spell_scripts();
|
||||
void AddSC_hunter_spell_scripts();
|
||||
void AddSC_mage_spell_scripts();
|
||||
void AddSC_paladin_spell_scripts();
|
||||
void AddSC_priest_spell_scripts();
|
||||
void AddSC_rogue_spell_scripts();
|
||||
void AddSC_shaman_spell_scripts();
|
||||
void AddSC_warlock_spell_scripts();
|
||||
void AddSC_warrior_spell_scripts();
|
||||
void AddSC_example_spell_scripts();
|
||||
|
||||
#endif
|
||||
|
||||
void AddScripts()
|
||||
@@ -1015,5 +1029,18 @@ void AddScripts()
|
||||
AddSC_zangarmarsh();
|
||||
AddSC_onevents();
|
||||
|
||||
// spells
|
||||
AddSC_deathknight_spell_scripts();
|
||||
AddSC_druid_spell_scripts();
|
||||
AddSC_generic_spell_scripts();
|
||||
AddSC_hunter_spell_scripts();
|
||||
AddSC_mage_spell_scripts();
|
||||
AddSC_paladin_spell_scripts();
|
||||
AddSC_priest_spell_scripts();
|
||||
AddSC_rogue_spell_scripts();
|
||||
AddSC_shaman_spell_scripts();
|
||||
AddSC_warlock_spell_scripts();
|
||||
AddSC_warrior_spell_scripts();
|
||||
AddSC_example_spell_scripts();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user