Jump to content

laise

Members
  • Posts

    344
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by laise

  1. What bug does the patch fix? What features does the patch add? fixes runic power gain only from Death Coil used for healing For which repository revision was the patch created? 9362 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. haven't seen any 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 7489c45..7074017 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7730,6 +7730,12 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB trigger_spell_id = 50475; basepoints[0] = damage * triggerAmount / 100; } + // Glyph of Death's Embrace + else if (auraSpellInfo->Id == 58677) + { + if (procSpell->Id != 47633) + return false; + } // Blade Barrier else if (auraSpellInfo->SpellIconID == 85) { can't be fixed through DB only, cause player casted spell with dummy effect has same familyflags as death coil used for harm/heal and original spell is positive in check so it will have always "successful positive spell cast" proc flags
  2. What bug does the patch fix? What features does the patch add? fixes weapon damage percent for secondary target of Heart Strike For which repository revision was the patch created? 9362 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. haven't seen any Who has been writing this patch? Please include either forum user names or email addresses. me diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index ee667d6..790a05e 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -4773,6 +4773,11 @@ void Spell::EffectWeaponDmg(uint32 i) totalDamagePercentMod *= 1.0f + bonus; } + + // Heart Strike secondary target + if (m_spellInfo->SpellIconID == 3145) + if (m_targets.getUnitTarget() != unitTarget) + weaponDamagePercentMod /= 2.0f; } // Glyph of Blood Strike if( m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000400000) &&
  3. // more generic checks if (spellInfo_1->SpellIconID == spellInfo_2->SpellIconID && spellInfo_1->SpellIconID != 0 && spellInfo_2->SpellIconID != 0) { bool isModifier = false; for (int i = 0; i < 3; ++i) { if (spellInfo_1->EffectApplyAuraName[i] == SPELL_AURA_ADD_FLAT_MODIFIER || spellInfo_1->EffectApplyAuraName[i] == SPELL_AURA_ADD_PCT_MODIFIER || spellInfo_2->EffectApplyAuraName[i] == SPELL_AURA_ADD_FLAT_MODIFIER || spellInfo_2->EffectApplyAuraName[i] == SPELL_AURA_ADD_PCT_MODIFIER ) isModifier = true; } if (!isModifier) return true; } in isNoStackSpellDueToSpell..anyway there was patch for spell stacking somewhere under review
  4. What bug does the patch fix? What features does the patch add? fixes spell proc conditions and change frost strike rank 6 case , cause spell id was changed For which repository revision was the patch created? 9362 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. haven't seen any 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 4a46c7f..6344463 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -6908,7 +6908,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu triggered_spell_id = 66960; break; case 51419: // Rank 5 triggered_spell_id = 66961; break; - case 51420: // Rank 6 + case 55268: // Rank 6 triggered_spell_id = 66962; break; // Plague Strike case 45462: sql: DELETE FROM `spell_proc_event` WHERE `entry` = 65661; INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES('65661','0','15',0x00400011,0x20020004,'0','16','0','0','100','0');
  5. What bug does the patch fix? What features does the patch add? prevents Hungering Cold removing from diseases and lets it cast Frost Fever For which repository revision was the patch created? 9362 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. haven't seen any Who has been writing this patch? Please include either forum user names or email addresses. me diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 6c75c09..7414bbb 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -6279,6 +6279,12 @@ void Aura::HandleSpellSpecificBoosts(bool apply) case 49039: spellId1 = 50397; break; // Lichborne case 48263: spellId1 = 61261; break; // Frost Presence case 48265: spellId1 = 49772; break; // Unholy Presence move speed + case 51209: // Hungering Cold (Frost Fever apply) + { + if (apply) + spellId1 = 55095; + break; + } default: return; } break; diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 46be355..0f62ace 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7043,6 +7043,15 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu triggered_spell_id = dummySpell->EffectTriggerSpell[effIndex]; break; } + // Hungering Cold + if (dummySpell->Id == 51209) + { + // prevent breaking from diseases + if (procSpell && procSpell->Dispel == DISPEL_DISEASE) + return false; + else + return true; + } break; } default: @@ -12386,6 +12395,7 @@ void Unit::ProcDamageAndSpellFor( bool isVictim, Unit * pTarget, uint32 procFlag case SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN: case SPELL_AURA_MANA_SHIELD: case SPELL_AURA_OBS_MOD_MANA: + case SPELL_AURA_MOD_STUN: case SPELL_AURA_ADD_PCT_MODIFIER: case SPELL_AURA_PERIODIC_DUMMY: case SPELL_AURA_DUMMY:
  6. What bug does the patch fix? What features does the patch add? fixes Frost Fever(and as a result Chillblains) applying to self with Endless Winter talent & fixes chillblains cast on self when player logging on For which repository revision was the patch created? 9362 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. haven't seen any 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 2ebd7f8..37ae16f 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -3024,6 +3024,10 @@ void Spell::finish(bool ok) Unit *unit = m_caster->GetGUID()== ihit->targetGUID ? m_caster : ObjectAccessor::GetUnit(*m_caster, ihit->targetGUID); if (unit && unit->isAlive()) { + // prevent Chillblains self apply at load(when Frost Fever passive is cast on self) + if ((*i)->GetId() == 50043 && m_caster == unit) + continue; + SpellEntry const *auraSpellInfo = (*i)->GetSpellProto(); uint32 auraSpellIdx = (*i)->GetEffIndex(); // Calculate chance at that moment (can be depend for example from combo points) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 2d05658..46be355 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7853,6 +7853,13 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB return false; break; } + // Frost Fever proc from Chains of Ice + case 55095: + { + if (pVictim == this) + return false; + break; + } // Lock and Load case 56453: {
  7. updated diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 28cbbc2..af4be04 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -9035,6 +9035,35 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3 if (pVictim->GetHealth() * 100 / pVictim->GetMaxHealth() <= 25) DoneTotalMod *= 4; } + // Chaos Bolt & Incinerate + else if (spellProto->SpellFamilyFlags & UI64LIT(0x0002004000000000) && (m_spellInfo->SpellIconID==2128 || m_spellInfo->SpellIconID==3178)) + { + // Check aura state for speed but aura state set not only for Immolate spell + if (pVictim->HasAuraState(AURA_STATE_CONFLAGRATE)) + { + Unit::AuraList const& dummyList = GetAurasByType(SPELL_AURA_DUMMY); + for(Unit::AuraList::const_iterator iter = dummyList.begin(); iter != dummyList.end(); ++iter) + { + // Fire and Brimstone + if((*iter)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_WARLOCK && + ((*iter)->GetSpellProto()->SpellIconID == 3173)) + { + if (Aura *aur = pVictim->GetAura(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_WARLOCK, UI64LIT(0x00000000000004), NULL, GetGUID())) + DoneTotalMod *= ((*iter)->GetModifier()->m_amount+100.0f) / 100.0f; + break; + } + } + } + } break; } case SPELLFAMILY_DEATHKNIGHT
  8. What bug does the patch fix? What features does the patch add? fixes disease consuming part of Obliterate + related Annihilation part For which repository revision was the patch created? 9362 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. haven't seen any Who has been writing this patch? Please include either forum user names or email addresses. me diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 9423c6d..5d0fbd5 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2061,6 +2061,30 @@ void Spell::EffectDummy(uint32 i) m_caster->CastCustomSpell(m_caster, 45470, &bp, NULL, NULL, true); return; } + // Obliterate + else if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0002000000000000)) + { + // search for Annihilation + Unit::AuraList const& dummyList = m_caster->GetAurasByType(SPELL_AURA_DUMMY); + for (Unit::AuraList::const_iterator itr = dummyList.begin(); itr != dummyList.end(); ++itr) + { + if ((*itr)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && (*itr)->GetSpellProto()->SpellIconID == 2710) + if (roll_chance_i((*itr)->GetModifier()->m_amount)) // don't consume if found + return; + } + + // consume diseases + Unit::AuraMap& auras = unitTarget->GetAuras(); + for(Unit::AuraMap::iterator i = auras.begin(); i != auras.end() + { + if (i->second->GetSpellProto()->Dispel == DISPEL_DISEASE && + i->second->GetCasterGUID() == m_caster->GetGUID()) + unitTarget->RemoveAura(i); + else + ++i; + } + return; + } break; }
  9. What bug does the patch fix? What features does the patch add? adds Strength buff for caster when Chaos Bane unleashed For which repository revision was the patch created? 9343 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. haven't seen any 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 94174a1..2ed2111 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2574,7 +2574,9 @@ void Spell::cast(bool skipCheck) else if(m_spellInfo->Id == 20594) // Stoneskin AddTriggeredSpell(65116); // Stoneskin - armor 10% for 8 sec else if(m_spellInfo->Id == 71563) // Deadly Precision - AddTriggeredSpell(71564); + AddTriggeredSpell(71564); + else if(m_spellInfo->Id == 71904) // Chaos Bane buff + AddTriggeredSpell(73422); break; } case SPELLFAMILY_MAGE:
  10. yea in void Group::SetTargetIcon(uint8 id, uint64 guid) replace line "data << uint8(0); " with "data << uint8(1); " it will prevent crash but not fully fix it - cause client for some reason removes other icons =\\ maybe need to send all list every time icon changes?
  11. What bug does the patch fix? What features does the patch add? HandleSpellSpecificBoosts wasn't called when passive aura got removed For which repository revision was the patch created? 9311 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. haven't seen any Who has been writing this patch? Please include either forum user names or email addresses. me diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index f4b98c1..e011173 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -1110,11 +1110,11 @@ bool Aura::_RemoveAura() uint8 slot = GetAuraSlot(); - if(slot >= MAX_AURAS) // slot not set - return false; + if(slot >= MAX_AURAS) // passive auras don't need further checks + return true; if(m_target->GetVisibleAura(slot) == 0) - return false; + return true; bool lastaura = true;
  12. it's SpellBaseHealingBonus not SpellHealingBonus
  13. What bug does the patch fix? What features does the patch add? allows to use Reincarnation with this glyph For which repository revision was the patch created? 9292 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. haven't seen any Who has been writing this patch? Please include either forum user names or email addresses. me diff --git a/src/game/Player.cpp b/src/game/Player.cpp index a767d55..df8d7c6 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -19601,7 +19601,7 @@ uint32 Player::GetResurrectionSpellId() } // Reincarnation (passive spell) // prio: 1 - if(prio < 1 && HasSpell(20608) && !HasSpellCooldown(21169) && HasItemCount(17030,1)) + if(prio < 1 && HasSpell(20608) && !HasSpellCooldown(21169) && (HasItemCount(17030,1) || HasAura(58059, 0))) // Glyph of Renewed Life spell_id = 21169; return spell_id;
  14. lol prolly mah phail copy paste of patch format
  15. first post updated: added player notify "Your ticket has been escalated" apply manually cause i think diff might be buggy
  16. attempt to add ticket assigning - can be by name and/or by security level code: http://paste2.org/p/964587 sql delete from `command` where `name` in ('delticket', 'ticket'); insert into `command` (`name`, `security`, `help`) values('delticket','2','Syntax: .delticket all\\r\\n .delticket #num\\r\\n .delticket $character_name\\r\\n .delticket a #num\\rall to dalete all tickets at server, $character_name to delete ticket of this character, #num to delete ticket #num.'); insert into `command` (`name`, `security`, `help`) values('ticket','2','Syntax: .ticket on\\r\\n .ticket off\\r\\n .ticket #num\\r\\n .ticket $character_name\\r\\n .ticket a #num\\r\\n .ticket assign $character_name #guid or #num GMLevel\\r\\n .ticket assign $character_name del\\r\\non/off for GMs to show or not a new ticket directly, $character_name to show ticket of this character, #num to show ticket #num, \\'a\\' to get assigned ticket #num, assign to assign a ticket.'); delete from `mangos_string` where `entry` in ('290', '10000'); insert into `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) values('290','Ticket of %s (Last updated: %s) assigned to: %s , GMLevel: %u :\\n%s ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); insert into `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) values('10000','|cffff0000You have %i assigned tickets|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); sql on characters scheme ALTER TABLE `character_ticket` ADD COLUMN `assigned_guid` INT(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `ticket_lastchange`, ADD COLUMN `assigned_sec_level` TINYINT(3) DEFAULT '0' NOT NULL AFTER `assigned_guid`; .ticket a #num - will get assigned ticket by number (number in queue is different then normal ticket number) .ticket a $character_name - will work like normal ticket .ticket assign $character_name $assign_to_name and/or #level - will assign ticket from player to chosen char with name or to everyone with chosen sec level (note you can assign to non gm character by name but it won't announce to him about ticket - maybe later will add a check) .ticket assign $character_name del - will delete all assignment on ticket .delticket a #num - will delete assigned ticket with number
  17. it is not related to a check if spell can or can't be casted on death. I don't think any aura that modifies hp should be able to do it if the target is dead with 0 hp
  18. What bug does the patch fix? What features does the patch add? fixes bug when you can't activate snake trap if you have active pet For which repository revision was the patch created? 9266 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. haven't seen any 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 446c210..9f11398 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -4753,6 +4753,7 @@ SpellCastResult Spell::CheckCast(bool strict) return SPELL_FAILED_ALREADY_HAVE_CHARM; } } + break; } // Not used for summon? case SPELL_EFFECT_SUMMON_PHANTASM:
  19. this was for 3.2 , should work on 3.3 too diff --git a/src/game/SharedDefines.h b/src/game/SharedDefines.h index 7f8fe37..c76e0e0 100644 --- a/src/game/SharedDefines.h +++ b/src/game/SharedDefines.h @@ -2424,14 +2424,12 @@ enum DiminishingGroup DIMINISHING_TRIGGER_STUN, // By aura proced stuns, usualy chance on hit talents DIMINISHING_CONTROL_ROOT, // Immobilizing effects from casted spells DIMINISHING_TRIGGER_ROOT, // Immobilizing effects from triggered spells like Frostbite - DIMINISHING_FEAR_BLIND, // Fears & blind - DIMINISHING_CHARM, - DIMINISHING_POLYMORPH_GOUGE_SAP, - // Warlock Specific - DIMINISHING_DEATHCOIL, // Death Coil Diminish only with another Death Coil - // Druid Specific - DIMINISHING_CYCLONE, // From 2.3.0 // Shared Class Specific + DIMINISHING_FEAR_CHARM_BLIND, // Fears & charm and Blind + DIMINISHING_DISORIENT, + DIMINISHING_HORROR, + // Druid Specific + DIMINISHING_CYCLONE, DIMINISHING_CHEAPSHOT_POUNCE, DIMINISHING_DISARM, // From 2.3.0 DIMINISHING_SILENCE, // From 2.3.0 diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index f91f117..e848d49 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -3274,11 +3274,16 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto if (spellproto->Mechanic == MECHANIC_TURN) return DIMINISHING_NONE; break; + case SPELLFAMILY_MAGE: + // Dragon's Breath + if (spellproto->SpellIconID == 1548) + return DIMINISHING_DISORIENT; + break; case SPELLFAMILY_ROGUE: { // Blind if (spellproto->SpellFamilyFlags & UI64LIT(0x00001000000)) - return DIMINISHING_FEAR_BLIND; + return DIMINISHING_FEAR_CHARM_BLIND; // Cheap Shot else if (spellproto->SpellFamilyFlags & UI64LIT(0x00000000400)) return DIMINISHING_CHEAPSHOT_POUNCE; @@ -3287,6 +3292,13 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto return DIMINISHING_LIMITONLY; break; } + case SPELLFAMILY_HUNTER: + { + // Freezing Trap & Freezing Arrow & Wyvern Sting + if (spellproto->SpellIconID == 180 || spellproto->SpellIconID == 1721) + return DIMINISHING_DISORIENT; + break; + } case SPELLFAMILY_WARLOCK: { // Curses/etc @@ -3294,7 +3306,7 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto return DIMINISHING_LIMITONLY; // Seduction else if (spellproto->SpellFamilyFlags & UI64LIT(0x00040000000)) - return DIMINISHING_CHARM; + return DIMINISHING_FEAR_CHARM_BLIND; break; } case SPELLFAMILY_DRUID: @@ -3322,13 +3334,16 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto // Vampiric Embrace if ((spellproto->SpellFamilyFlags & UI64LIT(0x00000000004)) && spellproto->SpellIconID == 150) return DIMINISHING_LIMITONLY; + // Shackle Undead + else if (spellproto->SpellIconID == 27) + return DIMINISHING_DISORIENT; break; } case SPELLFAMILY_DEATHKNIGHT: { // Hungering Cold (no flags) if (spellproto->SpellIconID == 2797) - return DIMINISHING_POLYMORPH_GOUGE_SAP; + return DIMINISHING_DISORIENT; break; } default: @@ -3345,25 +3360,23 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto if (mechanic & (1<<(MECHANIC_SLEEP-1))) return DIMINISHING_FREEZE_SLEEP; if (mechanic & (1<<(MECHANIC_POLYMORPH-1))) - return DIMINISHING_POLYMORPH_GOUGE_SAP; + return DIMINISHING_DISORIENT; if (mechanic & (1<<(MECHANIC_ROOT-1))) return triggered ? DIMINISHING_TRIGGER_ROOT : DIMINISHING_CONTROL_ROOT; - if (mechanic & ((1<<(MECHANIC_FEAR-1))|(1<<(MECHANIC_TURN-1)))) - return DIMINISHING_FEAR_BLIND; - if (mechanic & (1<<(MECHANIC_CHARM-1))) - return DIMINISHING_CHARM; - if (mechanic & (1<<(MECHANIC_SILENCE-1))) + if (mechanic & ((1<<(MECHANIC_FEAR-1))|(1<<(MECHANIC_CHARM-1)))) + return DIMINISHING_FEAR_CHARM_BLIND; + if (mechanic & ((1<<(MECHANIC_SILENCE-1))|(1<<(MECHANIC_INTERRUPT-1)))) return DIMINISHING_SILENCE; if (mechanic & (1<<(MECHANIC_DISARM-1))) return DIMINISHING_DISARM; if (mechanic & (1<<(MECHANIC_FREEZE-1))) return DIMINISHING_FREEZE_SLEEP; if (mechanic & ((1<<(MECHANIC_KNOCKOUT-1))|(1<<(MECHANIC_SAPPED-1)))) - return DIMINISHING_POLYMORPH_GOUGE_SAP; + return DIMINISHING_DISORIENT; if (mechanic & (1<<(MECHANIC_BANISH-1))) return DIMINISHING_BANISH; if (mechanic & (1<<(MECHANIC_HORROR-1))) - return DIMINISHING_DEATHCOIL; + return DIMINISHING_HORROR; return DIMINISHING_NONE; } @@ -3419,9 +3432,8 @@ bool IsDiminishingReturnsGroupDurationLimited(DiminishingGroup group) case DIMINISHING_TRIGGER_STUN: case DIMINISHING_CONTROL_ROOT: case DIMINISHING_TRIGGER_ROOT: - case DIMINISHING_FEAR_BLIND: - case DIMINISHING_CHARM: - case DIMINISHING_POLYMORPH_GOUGE_SAP: + case DIMINISHING_FEAR_CHARM_BLIND: + case DIMINISHING_DISORIENT: case DIMINISHING_CHEAPSHOT_POUNCE: case DIMINISHING_FREEZE_SLEEP: case DIMINISHING_CYCLONE: @@ -3441,18 +3453,17 @@ DiminishingReturnsType GetDiminishingReturnsGroupType(DiminishingGroup group) case DIMINISHING_CYCLONE: case DIMINISHING_TRIGGER_STUN: case DIMINISHING_CONTROL_STUN: - case DIMINISHING_CHEAPSHOT_POUNCE: return DRTYPE_ALL; case DIMINISHING_CONTROL_ROOT: case DIMINISHING_TRIGGER_ROOT: - case DIMINISHING_FEAR_BLIND: - case DIMINISHING_CHARM: - case DIMINISHING_POLYMORPH_GOUGE_SAP: + case DIMINISHING_FEAR_CHARM_BLIND: + case DIMINISHING_DISORIENT: case DIMINISHING_SILENCE: case DIMINISHING_DISARM: - case DIMINISHING_DEATHCOIL: + case DIMINISHING_HORROR: case DIMINISHING_FREEZE_SLEEP: case DIMINISHING_BANISH: + case DIMINISHING_CHEAPSHOT_POUNCE: return DRTYPE_PLAYER; default: break;
  20. What bug does the patch fix? What features does the patch add? fixes Shadowmourne proc spell For which repository revision was the patch created? 9263 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. haven't seen any 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 020e89f..80957e5 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5296,6 +5296,23 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu case 63320: triggered_spell_id = 63321; break; + // Item - Shadowmourne Legendary + case 71903: + { + if (!roll_chance_i(triggerAmount)) + return false; + + Aura *aur = GetAura(71905, 0); + if (aur && aur->GetStackAmount() > 8) // remove all stack on 10 + { + RemoveAurasDueToSpell(71905); + CastSpell(this, 71904, true); + return true; + } + else + triggered_spell_id = 71905; + break; + } } break; } diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 188aba4..96d8b53 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -323,6 +323,7 @@ void Spell::EffectSchoolDMG(uint32 effect_idx) case 45150: // Meteor Slash case 64422: case 64688: // Sonic Screech case 70492: case 72505: // Ooze Eruption + case 71904: // Chaos Bane case 72624: case 72625: // Ooze Eruption { uint32 count = 0;
  21. guess moonglade has wrong map data Revision: * * 9071 29a1b0d3df419a83f0314e2e394ba62abee11035 Date 27:12:2009. Time 12:54 //===================================================== *** Hardware *** Processor: Intel(R) Core(TM)2 Quad CPU Q9650 @ 3.00GHz Number Of Processors: 4 Physical Memory: 3406328 KB (Available: 1391432 KB) Commit Charge Limit: 4194303 KB *** Operation System *** Windows Vista or Windows Server 2008 Professional (Version 6.1, Build 7600) //===================================================== Exception code: 80000003 BREAKPOINT Fault address: 6605C355 01:0003B355 C:\\Windows\\WinSxS\\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.1_none_bb1f6aa1308c35eb\\MSVCR90D.dll Registers: EAX:00000001 EBX:08F0DF00 ECX:993AC23A EDX:0000001B ESI:09FECB54 EDI:09FEDBA4 CS:EIP:001B:6605C355 SS:ESP:0023:09FEBD34 EBP:09FEBD4C DS:0023 ES:0023 FS:003B GS:0000 Flags:00000246 Call stack: Address Frame Function SourceFile 6605C355 00000000 _get_pgmptr+1C5 660FE9AD 00000000 abort+2D 660EE8D6 00000000 _wassert+D6 00EEF0A7 00000000 MapInstanced::CreateInstance+2B7 c:\\mangos\\src\\game\\mapinstanced.cpp line 203 00EEEDA2 00000000 MapInstanced::CreateInstance+2C2 c:\\mangos\\src\\game\\mapinstanced.cpp line 172 00BFE6E2 00000000 MapManager::CreateMap+112 c:\\mangos\\src\\game\\mapmanager.cpp line 136 00EB6B36 00000000 WorldSession::HandleMoveWorldportAckOpcode+186 c:\\mangos\\src\\game\\movementhandler.cpp line 73 00EB6999 00000000 WorldSession::HandleMoveWorldportAckOpcode+29 c:\\mangos\\src\\game\\movementhandler.cpp line 39 00BAA926 00000000 WorldSession::Update+246 c:\\mangos\\src\\game\\worldsession.cpp line 212 00BC37B2 00000000 World::UpdateSessions+102 c:\\mangos\\src\\game\\world.cpp line 2066 00BC1B05 00000000 World::Update+1C5 c:\\mangos\\src\\game\\world.cpp line 1623 008D9684 00000000 WorldRunnable::run+94 c:\\mangos\\src\\mangosd\\worldrunnable.cpp line 61 00F5E971 00000000 ACE_Based::Thread::ThreadTask+21 c:\\mangos\\src\\shared\\threading.cpp line 183 60D3B775 00000000 ACE_OS_Thread_Adapter::invoke+E5 c:\\mangos\\dep\\ace_wrappers\\ace\\os_thread_adapter.cpp line 90 60CB8BFA 00000000 ace_thread_adapter+2A c:\\mangos\\dep\\ace_wrappers\\ace\\base_thread_adapter.cpp line 124 6605DFD3 00000000 _beginthreadex+243 6605DF69 00000000 _beginthreadex+1D9 75FE1174 00000000 BaseThreadInitThunk+12 776BB3F5 00000000 RtlInitializeExceptionChain+63 776BB3C8 00000000 RtlInitializeExceptionChain+36
  22. Waterbolt and Freeze are the only spells that don't interrupt each other or there are other pet spells?
  23. just comment those lines, its cause of http://github.com/mangos/mangos/commit/0b9d04d5e3b32ccd8e08e3a8f70a318842a39c09
×
×
  • 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