* Core/Spells: Remove spell script for druid "Lifeblood" - is no longer required
This commit is contained in:
@@ -1796,34 +1796,6 @@ class spell_gen_increase_stats_buff : public SpellScriptLoader
|
||||
}
|
||||
};
|
||||
|
||||
// -81708 - Lifeblood
|
||||
class spell_gen_lifeblood : public SpellScriptLoader
|
||||
{
|
||||
public:
|
||||
spell_gen_lifeblood() : SpellScriptLoader("spell_gen_lifeblood") { }
|
||||
|
||||
class spell_gen_lifeblood_AuraScript : public AuraScript
|
||||
{
|
||||
PrepareAuraScript(spell_gen_lifeblood_AuraScript);
|
||||
|
||||
void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& /*canBeRecalculated*/)
|
||||
{
|
||||
if (Unit* owner = GetUnitOwner())
|
||||
amount += int32(CalculatePct(owner->GetMaxHealth(), 1.5f / aurEff->GetTotalTicks()));
|
||||
}
|
||||
|
||||
void Register() OVERRIDE
|
||||
{
|
||||
DoEffectCalcAmount += AuraEffectCalcAmountFn(spell_gen_lifeblood_AuraScript::CalculateAmount, EFFECT_0, SPELL_AURA_PERIODIC_HEAL);
|
||||
}
|
||||
};
|
||||
|
||||
AuraScript* GetAuraScript() const OVERRIDE
|
||||
{
|
||||
return new spell_gen_lifeblood_AuraScript();
|
||||
}
|
||||
};
|
||||
|
||||
enum GenericLifebloom
|
||||
{
|
||||
SPELL_HEXLORD_MALACRASS_LIFEBLOOM_FINAL_HEAL = 43422,
|
||||
@@ -3734,7 +3706,6 @@ void AddSC_generic_spell_scripts()
|
||||
new spell_gen_increase_stats_buff("spell_mage_arcane_brilliance");
|
||||
new spell_gen_increase_stats_buff("spell_mage_dalaran_brilliance");
|
||||
new spell_gen_launch();
|
||||
new spell_gen_lifeblood();
|
||||
new spell_gen_lifebloom("spell_hexlord_lifebloom", SPELL_HEXLORD_MALACRASS_LIFEBLOOM_FINAL_HEAL);
|
||||
new spell_gen_lifebloom("spell_tur_ragepaw_lifebloom", SPELL_TUR_RAGEPAW_LIFEBLOOM_FINAL_HEAL);
|
||||
new spell_gen_lifebloom("spell_cenarion_scout_lifebloom", SPELL_CENARION_SCOUT_LIFEBLOOM_FINAL_HEAL);
|
||||
|
||||
Reference in New Issue
Block a user