aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Player.cpp2
-rw-r--r--src/game/Unit.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index e7afb155c5e..410bf1de68c 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -12397,7 +12397,7 @@ void Player::ApplyEnchantment(Item *item,EnchantmentSlot slot,bool apply, bool a
// processed in Player::CastItemUseSpell
break;
default:
- sLog.outError("Unknown item enchantment display type: %d",enchant_display_type);
+ sLog.outError("Unknown item enchantment (id = %d) display type: %d", enchant_id, enchant_display_type);
break;
} /*switch(enchant_display_type)*/
} /*for*/
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 0e9f6651401..6694e38a854 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5871,6 +5871,9 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
// Improved Water Shield
if (dummySpell->SpellIconID == 2287)
{
+ // Lesser Healing Wave need aditional 60% roll
+ if (procSpell->SpellFamilyFlags & 0x0000000000000080LL && !roll_chance_i(60))
+ return false;
// lookup water shield
AuraList const& vs = GetAurasByType(SPELL_AURA_PROC_TRIGGER_SPELL);
for(AuraList::const_iterator itr = vs.begin(); itr != vs.end(); ++itr)