コード例 #1
0
ファイル: Spell_DeathKnight.cpp プロジェクト: Selenah/ArcEmu
void SpellFactoryMgr::SetupDeathKnight()
{
	AddSpellById(55078, &BloodPlagueSpell::Create);
	AddSpellById(45477, &IcyTouchSpell::Create);
	AddSpellById(55095, &FrostFeverSpell::Create);

	AddSpellById(48721, &BloodBoilSpell::Create);   // Rank 1
	AddSpellById(49939, &BloodBoilSpell::Create);   // Rank 2
	AddSpellById(49940, &BloodBoilSpell::Create);   // Rank 3
	AddSpellById(49941, &BloodBoilSpell::Create);   // Rank 4

	AddSpellById(45902, &BloodStrikeSpell::Create);   // Rank 1
	AddSpellById(49926, &BloodStrikeSpell::Create);   // Rank 2
	AddSpellById(49927, &BloodStrikeSpell::Create);   // Rank 3
	AddSpellById(49928, &BloodStrikeSpell::Create);   // Rank 4
	AddSpellById(49929, &BloodStrikeSpell::Create);   // Rank 5
	AddSpellById(49930, &BloodStrikeSpell::Create);   // Rank 6

	AddSpellById(47541, &DeathCoilSpell::Create);   // Rank 1
	AddSpellById(49892, &DeathCoilSpell::Create);   // Rank 2
	AddSpellById(49893, &DeathCoilSpell::Create);   // Rank 3
	AddSpellById(49894, &DeathCoilSpell::Create);   // Rank 4
	AddSpellById(49895, &DeathCoilSpell::Create);   // Rank 5

	AddSpellById(56815, &RuneStrileSpell::Create);

	AddAuraById(48707, &AntiMagicShellAura::Create);

	AddAuraById(49145, &SpellDeflectionAura::Create);   // Rank 1
	AddAuraById(49495, &SpellDeflectionAura::Create);   // Rank 2
	AddAuraById(49497, &SpellDeflectionAura::Create);   // Rank 3

	AddSpellById(50452, &BloodwormSpell::Create);

	AddAuraById(52284, &WillOfTheNecropolisAura::Create);   // Rank 1
	AddAuraById(52285, &WillOfTheNecropolisAura::Create);   // Rank 1
	AddAuraById(52286, &WillOfTheNecropolisAura::Create);   // Rank 1

	AddSpellById(55233, &VampiricBloodSpell::Create);

	AddSpellById(55050, &HeartStrikeSpell::Create);   // Rank 1
	AddSpellById(55258, &HeartStrikeSpell::Create);   // Rank 2
	AddSpellById(55259, &HeartStrikeSpell::Create);   // Rank 3
	AddSpellById(55260, &HeartStrikeSpell::Create);   // Rank 4
	AddSpellById(55261, &HeartStrikeSpell::Create);   // Rank 5
	AddSpellById(55262, &HeartStrikeSpell::Create);   // Rank 6
}
コード例 #2
0
void SpellFactoryMgr::SetupRogue()
{
	AddAuraById(31228, &CheatDeathAura::Create);   // Rank 1
	AddAuraById(31229, &CheatDeathAura::Create);   // Rank 2
	AddAuraById(31230, &CheatDeathAura::Create);   // Rank 3
}