[8186] More spell check data. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-07-20 11:52:45 +08:00
1 parent 833e4e41ab
commit eb6345346e
2 files changed
+68 -4

No files matched your search

+9 -2
View File
@@ -1257,12 +1257,19 @@ void Spell::EffectDummy(uint32 i)
}
return;
}
case 32826:
case 32826: // Polymorph Cast Visual
{
if ( unitTarget && unitTarget->GetTypeId() == TYPEID_UNIT )
{
//Polymorph Cast Visual Rank 1
const uint32 spell_list[6] = {32813, 32816, 32817, 32818, 32819, 32820};
const uint32 spell_list[6] = {
32813, // Squirrel Form
32816, // Giraffe Form
32817, // Serpent Form
32818, // Dragonhawk Form
32819, // Worgen Form
32820 // Sheep Form
};
unitTarget->CastSpell( unitTarget, spell_list[urand(0, 5)], true);
}
return;