Jump to content

Most_Mangos

Members
  • Posts

    46
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by Most_Mangos

  1. Патч работает кривовато на [10000]-[10060+]. Бывает вообще не чего не отражает, зависимости не нахожу. Доты и некоторые рендж атаки проходят.. Надо доработать мне кажется 67801 в 3.3.3а кривой сам по себе.
  2. up [10052] Shattering Throw - dont work . reducing the armor on the target by 20% for 10 sec or removing any invulnerabilities.
  3. + other pet diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp index a6250ac..081dd6f 100644 --- a/src/game/Pet.cpp +++ b/src/game/Pet.cpp @@ -927,6 +927,26 @@ bool Pet::InitStatsForLevel(uint32 petlevel, Unit* owner) apBonus = owner->SpellBaseDamageBonusDone(SPELL_SCHOOL_MASK_SHADOW) * 0.35f; break; } + // Treants + case 1964: + { + apBonus = owner->SpellBaseDamageBonusDone(SPELL_SCHOOL_MASK_MAGIC) * 3.25f; + // 30% of owners stamina, 35% of owners armor + statBonus[sTAT_STAMINA] = owner->GetStat(STAT_STAMINA) * 0.3f; + armorBonus = owner->GetArmor() * 0.35f; + break; + } + // Ebon Gargoyle + case 27829: + { + // 30% of owners stamina, 35% of owners armor + statBonus[sTAT_STAMINA] = owner->GetStat(STAT_STAMINA) * 0.3f; + armorBonus = owner->GetArmor() * 0.35f; + // 40% of masters attack power, + apBonus = 40; + apBonus = apBonus * owner->GetTotalAttackPowerValue(BASE_ATTACK) / 100; + break; + } // Feral Spirit Wolves case 29264: {
  4. Good work, it is necessary quickly to bring in master of branch _) I tested a patch and from the damage of pets was in Choquet, really we will have offlike pets)
  5. Glyph work 100% diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index ae03a34..7091566 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -9169,6 +9169,14 @@ uint32 Unit::SpellDamageBonusDone(Unit *pVictim, SpellEntry const *spellProto, u if (Aura *aur = GetAura(55692, EFFECT_INDEX_0)) DoneTotalMod *= (aur->GetModifier()->m_amount+100.0f) / 100.0f; } + // Glyph of Mind Flay + if (spellProto->SpellFamilyFlags & UI64LIT(0x800000)) + { + // Mind Flay + if (pVictim->GetAura(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_PRIEST, UI64LIT(0x8000), 0, GetGUID())) + if (Aura *aur = GetAura(55687, EFFECT_INDEX_0)) + DoneTotalMod *= (aur->GetModifier()->m_amount+100.0f) / 100.0f; + } break; } case SPELLFAMILY_DRUID: but // Twisted Faith if (Aura *aur = GetAura(SPELL_AURA_OVERRIDE_CLASS_SCRIPTS, SPELLFAMILY_PRIEST, 2848, 1)) DoneTotalMod *= (aur->GetModifier()->m_amount+100.0f) / 100.0f; dont work. I can not find an error
  6. confirm [10011] don`t work
  7. Не работает глиф http://www.wowhead.com/item=40916 Вот код переделаный с тринити.. SpellEffects.cpp void Spell::EffectScriptEffect(uint32 effIndex) { + // Glyph of Starfire + case 54846: + { + if (Aura const * aur = unitTarget->GetAura(SPELL_AURA_PERIODIC_DAMAGE,SPELLFAMILY_DRUID ,UI64LIT(0x00000002),0,m_caster->GetGUID())) + { + uint32 countMin = aur->GetBase()->GetMaxDuration(); + uint32 countMax = 18000; + countMax += m_caster->HasAura(38414) ? 3000 : 0; + countMax += m_caster->HasAura(57865) ? 3000 : 0; + + if (countMin < countMax) + { + aur->GetBase()->SetDuration(uint32(aur->GetBase()->GetDuration()+3000)); + aur->GetBase()->SetMaxDuration(countMin+3000); + } + } + return; } unit.cpp case SPELLFAMILY_DRUID: { switch(dummySpell->Id) { + // Glyph of Starfire + case 54845: + { + triggered_spell_id = 54846; + break; } Проблема втом что не компилится.Где я допустил ошибку?
  8. What bug does the patch fix? What features does the patch add? 1038, 33206, 29858, 32375 not break stealth by cast targeting Who has been writing this patch? Please include either forum user names or email addresses. Me diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 717e0c2..d935c33 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1219,7 +1219,7 @@ void Spell::DoSpellHitOnUnit(Unit *unit, const uint32 effectMask) } // not break stealth by cast targeting - if (!(m_spellInfo->AttributesEx & SPELL_ATTR_EX_NOT_BREAK_STEALTH) && m_spellInfo->Id != 3600) + if (!(m_spellInfo->AttributesEx & SPELL_ATTR_EX_NOT_BREAK_STEALTH) && m_spellInfo->Id != 53055 && m_spellInfo->Id != 3600 && m_spellInfo->Id != 44416 && m_spellInfo->SpellIconID != 1954 && m_spellInfo->SpellIconID != 2267) unit->RemoveSpellsCausingAura(SPELL_AURA_MOD_STEALTH); // can cause back attack (if detected), stealth removed at Spell::cast if spell break it
  9. Twisted Faith http://www.wowhead.com/spell=51167 What bug does the patch fix? What features does the patch add? your damage done by your Mind Flay is increased by 10% if your target is afflicted by your Shadow Word: Pain. Who has been writing this patch? Please include either forum user names or email addresses. Me diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index fcbfd05..af7433b 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -9567,8 +9567,16 @@ uint32 Unit::SpellDamageBonusDone(Unit *pVictim, SpellEntry const *spellProto, u if (Aura *aur = GetAura(55692, EFFECT_INDEX_0)) DoneTotalMod *= (aur->GetModifier()->m_amount+100.0f) / 100.0f; } - break; - } + if (spellProto->SpellFamilyFlags & UI64LIT(0x800000)) + { + // Twisted Faith - Mind Flay part + if (Aura * aur = GetAura(SPELL_AURA_OVERRIDE_CLASS_SCRIPTS, SPELLFAMILY_PRIEST, 2848, 1)) + // Increase Mind Flay damage if Shadow Word: Pain present on target + if (pVictim->GetAura(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_PRIEST, UI64LIT(0x8000), 0, GetGUID())) + DoneTotalMod *= (aur->GetModifier()->m_amount+100.0f) / 100.0f;; + } + break; + } case SPELLFAMILY_DRUID: { // Improved Insect Swarm (Wrath part)
  10. Reduces the chance you'll be critically hit by melee attacks by 25% while Barkskin is active. diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index fcbfd05..30c7716 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -3392,6 +3392,9 @@ float Unit::GetUnitCriticalChance(WeaponAttackType attackType, const Unit *pVict // reduce crit chance from Rating for players if (attackType != RANGED_ATTACK) crit -= pVictim->GetMeleeCritChanceReduction(); + // Glyph of Barkskin + if (pVictim->HasAura(63057) && pVictim->HasAura(22812)) + crit -= 25.0f; else crit -= pVictim->GetRangedCritChanceReduction();
  11. Spawn of eyes after 60 seconds of fight diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp index e1a6408..a372491 100644 --- a/src/game/BattleGround.cpp +++ b/src/game/BattleGround.cpp @@ -229,6 +229,8 @@ BattleGround::BattleGround() m_LevelMax = 0; m_InBGFreeSlotQueue = false; + m_ArenaBuffTimer = 0; + m_MaxPlayersPerTeam = 0; m_MaxPlayers = 0; m_MinPlayersPerTeam = 0; @@ -399,11 +401,11 @@ void BattleGround::Update(uint32 diff) if (isArena() && !m_ArenaBuffSpawned) { // 60 seconds after start the buffobjects in arena should get spawned - if (m_StartTime > uint32(m_StartDelayTimes[bG_STARTING_EVENT_FIRST] + ARENA_SPAWN_BUFF_OBJECTS)) + if (m_ArenaBuffTimer > uint32(m_StartDelayTimes[bG_STARTING_EVENT_FIRST] + ARENA_SPAWN_BUFF_OBJECTS)) { SpawnEvent(ARENA_BUFF_EVENT, 0, true); m_ArenaBuffSpawned = true; - } + } else m_ArenaBuffTimer += diff; } /*********************************************************/ diff --git a/src/game/BattleGround.h b/src/game/BattleGround.h index 92a590f..0d917c6 100644 --- a/src/game/BattleGround.h +++ b/src/game/BattleGround.h @@ -599,6 +599,7 @@ class BattleGround uint8 m_ArenaType; // 2=2v2, 3=3v3, 5=5v5 bool m_InBGFreeSlotQueue; // used to make sure that BG is only once inserted into the BattleGroundMgr.BGFreeSlotQueue[bgTypeId] deque bool m_IsArena; + uint32 m_ArenaBuffTimer; uint8 m_Winner; // 0=alliance, 1=horde, 2=none int32 m_StartDelayTime; bool m_IsRated; // is this battle rated? SQL UPDATE `gameobject_battleground` SET `event1` = 252 WHERE `guid` IN (90108, 90107, 90114, 90118, 90117, 90113);
  12. REV [9923] Use: Your haste now reduces the time between periodic damage ticks of your Corruption spell. - dont work
  13. Most_Mangos

    Lifebloom

    + что б критовал финальный хил @@ -9745,7 +9761,10 @@ bool Unit::IsSpellCrit(Unit *pVictim, SpellEntry const *spellProto, SpellSchoolM switch(spellProto->DmgClass) { case SPELL_DAMAGE_CLASS_NONE: - return false; + { + if (spellProto->Id != 33778) + return false; + } case SPELL_DAMAGE_CLASS_MAGIC: { if (schoolMask & SPELL_SCHOOL_MASK_NORMAL) @@ -3064,13 +3069,12 @@ void Aura::HandleAuraDummy(bool apply, bool Real) if (m_target->IsInWorld() && m_stackAmount > 0) { int32 amount = m_modifier.m_amount / m_stackAmount; - m_target->CastCustomSpell(m_target, 33778, &amount, NULL, NULL, true, NULL, this, GetCasterGUID()); + amount = m_target->SpellHealingBonusTaken(caster, GetSpellProto(), amount, SPELL_DIRECT_DAMAGE); + amount *= m_stackAmount; + m_target->CastCustomSpell(m_target, 33778, &m_modifier.m_amount, NULL, NULL, true, NULL, this, GetCasterGUID()); - if (Unit* caster = GetCaster()) - { - int32 returnmana = (GetSpellProto()->ManaCostPercentage * caster->GetCreateMana() / 100) * m_stackAmount / 2; - caster->CastCustomSpell(caster, 64372, &returnmana, NULL, NULL, true, NULL, this, GetCasterGUID()); - } + int32 returnmana = (GetSpellProto()->ManaCostPercentage * caster->GetCreateMana() / 100) * m_stackAmount / 2; + caster->CastCustomSpell(caster, 64372, &returnmana, NULL, NULL, true, NULL, this, GetCasterGUID()); } } return;
  14. При попадании в текстуры на арене, не портает назад на арену (в центр) , как на других аренах... (sorry Russian)
  15. What bug does the patch fix? What features does the patch add? Divine Hymn, Hymn of Hope Not heal and mana did not restore to itself For which repository revision was the patch created? [9851] Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. I didn't find thread with this problem. Who has been writing this patch? Please include either forum user names or email addresses. Me (Most_Mangos) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 94212ec..d40cb8d 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1969,11 +1969,11 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList& break; case 64844: // Divine Hymn // target amount stored in parent spell dummy effect but hard to access - FillRaidOrPartyHealthPriorityTargets(targetUnitMap, m_caster, m_caster, radius, 3, true, false, false); + FillRaidOrPartyHealthPriorityTargets(targetUnitMap, m_caster, m_caster, radius, 3, true, false, true); break; case 64904: // Hymn of Hope // target amount stored in parent spell dummy effect but hard to access - FillRaidOrPartyManaPriorityTargets(targetUnitMap, m_caster, m_caster, radius, 3, true, false, false); + FillRaidOrPartyManaPriorityTargets(targetUnitMap, m_caster, m_caster, radius, 3, true, false, true); break; // Electrical Storm (periodic lightning arcs effect) case 43657:
  16. What bug does the patch fix? What features does the patch add? This patch will correct a problem stack Warlock Shadowflame with other Affliction dots. For which repository revision was the patch created? [9812] Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. I didn't find thread with this problem. Who has been writing this patch? Please include either forum user names or email addresses. Me (Most_Mangos) code diff: diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index d1dd4e8..8d91d5d 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -1534,6 +1534,26 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons (spellInfo_2->SpellIconID == 313 || spellInfo_2->SpellIconID == 2039) && (spellInfo_1->SpellIconID == 544 || spellInfo_1->SpellIconID == 91) ) return false; + // Shadowflame and Curse of Agony + if( spellInfo_1->SpellIconID == 544 && spellInfo_2->SpellIconID == 3317 || + spellInfo_2->SpellIconID == 544 && spellInfo_1->SpellIconID == 3317 ) + return false; + + // Shadowflame and Corruption + if( spellInfo_1->SpellIconID == 313 && spellInfo_2->SpellIconID == 3317 || + spellInfo_2->SpellIconID == 313 && spellInfo_1->SpellIconID == 3317 ) + return false; + + // Shadowflame and Unstable Affliction + if( spellInfo_1->SpellIconID == 2039 && spellInfo_2->SpellIconID == 3317 || + spellInfo_2->SpellIconID == 2039 && spellInfo_1->SpellIconID == 3317 ) + return false; + + // Shadowflame and Curse of Doom + if( spellInfo_1->SpellIconID == 91 && spellInfo_2->SpellIconID == 3317 || + spellInfo_2->SpellIconID == 91 && spellInfo_1->SpellIconID == 3317 ) + return false; + // Metamorphosis, diff effects if (spellInfo_1->SpellIconID == 3314 && spellInfo_2->SpellIconID == 3314) return false;
×
×
  • 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