mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[0081] Implement server side spells
Add exemplarily support for spells 21387(used with Ragnaros) and 62388(related to Demonic Circle) Further table columns can be added as required. Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
6c5b7b6749
commit
e82f08f6f2
7 changed files with 8823 additions and 4855 deletions
|
|
@ -37,7 +37,9 @@ const char WorldTemplatedstfmt[] = "ii";
|
|||
const char ConditionsSrcFmt[] = "iiii";
|
||||
const char ConditionsDstFmt[] = "iiii";
|
||||
const char SpellTemplatesrcfmt[] = "iiiiiiiiiix";
|
||||
|
||||
// 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 185
|
||||
const char SpellTemplatedstfmt[]="ixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxiixxxxixxxxxxFxxxxxxxxxxxxxxxxxxxxxxixxxxxFFFxxxxxxixxxxxixxixxxxxFFFxxxxxxixxxxxixxFFFxxxxxxxxxxxxxppppppppppppppppppppppppppppppppxxxxxxxxxxxFFFxxxxxx";
|
||||
// Id proc DurationIndex
|
||||
SQLStorage sCreatureStorage(CreatureInfosrcfmt, CreatureInfodstfmt, "entry", "creature_template");
|
||||
SQLStorage sCreatureDataAddonStorage(CreatureDataAddonInfofmt, "guid", "creature_addon");
|
||||
SQLStorage sCreatureModelStorage(CreatureModelfmt, "modelid", "creature_model_info");
|
||||
|
|
@ -50,3 +52,4 @@ SQLStorage sPageTextStore(PageTextfmt, "entry", "page_text");
|
|||
SQLStorage sInstanceTemplate(InstanceTemplatesrcfmt, InstanceTemplatedstfmt, "map", "instance_template");
|
||||
SQLStorage sWorldTemplate(WorldTemplatesrcfmt, WorldTemplatedstfmt, "map", "world_template");
|
||||
SQLStorage sConditionStorage(ConditionsSrcFmt, ConditionsDstFmt, "condition_entry", "conditions");
|
||||
SQLStorage sSpellTemplate(SpellTemplatesrcfmt, SpellTemplatedstfmt, "id", "spell_template");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue