Jump to content

bulek

Members
  • Posts

    194
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by bulek

  1. :lol: bump bump bump btw iam tested this patch on 8296 rev and works spell auras.cpp is here: diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 5c44e86..20b8488 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2490,6 +2490,19 @@ void Aura::HandleAuraDummy(bool apply, bool Real) } break; } + case SPELLFAMILY_PALADIN: + { + // Beacon of Light + if (GetId() == 53563) + { + if(apply) + m_target->CastSpell(m_target,53651,true,NULL,this,GetCasterGUID()); + else + m_target->RemoveAurasDueToSpell(53651); + return; + } + break; + } case SPELLFAMILY_DRUID: { switch(GetId()) unit.cpp is here: diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 4a9736a..a9dad92 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5816,6 +5816,26 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu return true; break; } + // Light's Beacon + case 53651: + { + if(!pVictim || pVictim == this) + return false; + + Unit* caster = triggeredByAura->GetCaster(); + + if (caster) + { + Aura * dummy = caster->GetDummyAura(53563); + if(dummy && dummy->GetCasterGUID() == pVictim->GetGUID()) + { + triggered_spell_id = 53652; + basepoints0 = triggeredByAura->GetModifier()->m_amount*damage/100; + target = caster; + } + } + break; + } // Seal of the Martyr do damage trigger case 53720: {
  2. very nice patch . tested and works thank you but my question it is correctly? @@ -592,10 +592,9 @@ void Object::_BuildValuesUpdate(uint8 updatetype, ByteBuffer * data, UpdateMask if (isType(TYPEMASK_GAMEOBJECT) && !((GameObject*)this)->IsTransport()) { if ( ((GameObject*)this)->ActivateToQuest(target) || target->isGameMaster()) - { IsActivateToQuest = true; - updateMask->SetBit(GAMEOBJECT_DYNAMIC); - } + + updateMask->SetBit(GAMEOBJECT_DYNAMIC); } else if (isType(TYPEMASK_UNIT)) {
  3. confimred mutilate give very low dmg :mellow:
  4. confirmed still buged still can not fish in the cities
  5. Oo thx, working perfectly^_^ devs pls add
  6. very nice patch, works fine thank
  7. heh realy? Heisei TEAM decent amount of work done, and not everything is exactly like me but a lot of instance WORLD NPC totally blizzlike
  8. confirmed KAPATEJIb version works fine! perfect patch^_^
  9. ok sorry, I just wanted to note that more developers and as soon as possible included in the revision
  10. diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 5d39fab..209dbee 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -5121,7 +5121,7 @@ void Spell::EffectScriptEffect(uint32 effIndex) case SPELLFAMILY_PALADIN: { // Judgement - if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000800000)) + if (m_spellInfo->Category == 1210 ) { if(!unitTarget || !unitTarget->isAlive()) return;
  11. diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 5c44e86..20b8488 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2490,6 +2490,19 @@ void Aura::HandleAuraDummy(bool apply, bool Real) } break; } + case SPELLFAMILY_PALADIN: + { + // Beacon of Light + if (GetId() == 53563) + { + if(apply) + m_target->CastSpell(m_target,53651,true,NULL,this,GetCasterGUID()); + else + m_target->RemoveAurasDueToSpell(53651); + return; + } + break; + } case SPELLFAMILY_DRUID: { switch(GetId()) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 4a9736a..a9dad92 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5816,6 +5816,26 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu return true; break; } + // Light's Beacon + case 53651: + { + if(!pVictim || pVictim == this) + return false; + + Unit* caster = triggeredByAura->GetCaster(); + + if (caster) + { + Aura * dummy = caster->GetDummyAura(53563); + if(dummy && dummy->GetCasterGUID() == pVictim->GetGUID()) + { + triggered_spell_id = 53652; + basepoints0 = triggeredByAura->GetModifier()->m_amount*damage/100; + target = caster; + } + } + break; + } // Seal of the Martyr do damage trigger case 53720: {
  12. btw probably a bad formula ,much less dmg The formula to calculate mutilate damage is (corrected regarding offhand damage, see note at end): Opportunity = 1 + (0.1 * Opportunity Rank) Offhand Reduction = 0.5 + (0.05 * Dual Wield Specialization Rank) Lethality = 0.06 * Lethality Rank Poison Bonus = 1 + (0.2 if Poisoned Target) Average Weapon Damage = (Weapon Minimum Damage + Weapon Maximum Damage) / 2 Modifier = (Attack Power / 14) * 1.7 Base Damage = Average Weapon Damage + Modifier Mainhand Base Damage = Base Damage + Mutilate Bonus Damage Mainhand Damage = Mainhand Base Damage * Poison Bonus * Opportunity Mainhand Critical Damage = Mainhand Damage * (2 + Lethality) Offhand Base Damage = (Base Damage * Offhand Reduction) + ( Mutilate Bonus Damage * (1 + (.1 * Dual Wield Specialization Rank)) Offhand Damage = Offhand Base Damage * Poison Bonus * Opportunity Offhand Critical Damage = Offhand Damage * (2 + Lethality) Minimum Mutilate Damage = Mainhand Damage + Offhand Damage Maximum Mutilate Damage = Mainhand Critical Damage + Offhand Critical Damage
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use