Core/Spells: Cleaned up Shaman 4P Enhancement and Paladin 2P Retribution set bonus code

SQL: Added missing sql for that revision, thx cyberbrest

Closes #12
This commit is contained in:
Shauren committed 2011-01-02 16:27:38 +01:00
1 parent a7dadcb51c
commit eec299e605
4 files changed
+9 -10

No files matched your search

+3 -6
View File
@@ -618,12 +618,9 @@ public:
void HandleScript(SpellEffIndex /*effIndex*/)
{
Player *caster = GetCaster()->ToPlayer();
if (caster->GetTypeId() != TYPEID_PLAYER)
return;
if (caster->HasSpellCooldown(SPELL_DIVINE_STORM))
caster->RemoveSpellCooldown(SPELL_DIVINE_STORM, true);
if (Player *caster = GetCaster()->ToPlayer())
if (caster->HasSpellCooldown(SPELL_DIVINE_STORM))
caster->RemoveSpellCooldown(SPELL_DIVINE_STORM, true);
}
void Register()