aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-07-20 11:52:45 +0800
committermegamage <none@none>2009-07-20 11:52:45 +0800
commiteb6345346e41f923d5568d93c3d63c3521d1479c (patch)
tree3037e5306eee2f4d30a36cb471586b9042e4f62c /src/game/SpellEffects.cpp
parent833e4e41ab54bec5a8f2b879371fdf1d47168723 (diff)
[8186] More spell check data. Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index a640f9c1ce3..e750f4fc7b0 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -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;