mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 09:39:11 +00:00
fix(Core/Spell): Earthliving weapon proc (#4015)
This commit is contained in:
@@ -16640,16 +16640,6 @@ bool Unit::IsTriggeredAtSpellProcEvent(Unit* victim, Aura* aura, SpellInfo const
|
||||
// Custom chances
|
||||
switch (spellProto->SpellFamilyName)
|
||||
{
|
||||
case SPELLFAMILY_SHAMAN:
|
||||
{
|
||||
// Blessing of the Eternals, Earthliving proc
|
||||
if (spellProto->SpellIconID == 1929)
|
||||
{
|
||||
if (victim && (float(victim->GetHealth() * 100.0f / victim->GetMaxHealth()) > 35.0f))
|
||||
return roll_chance_f(chance);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_WARRIOR:
|
||||
{
|
||||
// Recklessness, allow to proc only once for whirlwind
|
||||
|
||||
Reference in New Issue
Block a user