All well, exept some things, Glyph of Lightwell and possibility to click on lightwell in combat.
My attempt to implement glyph was:
+ if (Unit *owner = m_caster->GetOwner())
+ {
+
+ if (const SpellEntry *pSpell = sSpellStore.LookupEntry(spellID))
+ {
+
+ //damage = owner->CalculateSpellDamage(pSpell, EFFECT_INDEX_0, pSpell->EffectBasePoints[EFFECT_INDEX_0], unitTarget);
+ damage = owner->SpellDamageBonus(unitTarget, pSpell, pSpell->EffectBasePoints[EFFECT_INDEX_0], HEAL);
+
+ if (Aura *dummy = owner->GetDummyAura(55673))
+ damage += damage * dummy->GetModifier()->m_amount /100.0f;
+ }
+
+
+ }
+ Aura* chargesaura = m_caster->GetAura(59907,EFFECT_INDEX_0);
+ if(chargesaura && chargesaura->GetAuraCharges() >= 1)
+ {
+ chargesaura->SetAuraCharges(chargesaura->GetAuraCharges() - 1);
+ m_caster->CastCustomSpell(unitTarget, spellID, &damage, NULL, NULL, true, NULL, NULL, m_originalCasterGUID);
+ }
also don't know about with or not healing bonus =/