aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-10-07Revert "Core/Unit: prevent m_extraAttacks underflow. Fixes a freeze with ↵ariel-
SPELL_EFFECT_ADD_EXTRA_ATTACKS" This reverts commit f09e7cbbfe1808956c50efefa6446515b62927e3.
2016-10-07Core/Channels: remove unneeded default constructorariel-
2016-10-07rerenamingccrs
2016-10-07whateverccrs
2016-10-07Core/Channel: revamp channel system (#17980)ariel-
* Core/Channel: change the way channels are stored and sent to client. - Fixes multiple channels per zone when using different locales - Connected clients will receive locally the name of the channel for their apropiate locale (if available) - In other cases default locale name will be sent, so as to prevent breaking channel chat for those players Closes #8411
2016-10-07Core/Globals: cache SpellSpecific and AuraState information instead of ↵ariel-
computing them each time they're needed
2016-10-07Core/Auras: stop some compilers from complainingariel-
2016-10-07Core/Scripts: Fix some runtime errorsariel-
2016-10-06Core/Misc: fix interaction of spells like Shadowmeld with Threat reducing ↵ariel-
effects - SPELL_AURA_MOD_TOTAL_THREAT should be temporary and not added/subtracted from total, only computed - Cleanup of reference related code - Kill getLast() and reverse iterator obsevers, LinkedList iterator can't be used as a standard reverse_iterator (ie with operator++). They weren't used anyways
2016-10-06rerenameccrs
2016-10-06Core/Grids: Allow arbitrary containers in grid searchers that support push_backNaios
* Makes it possible to use vector and dequeue with grid searchers.
2016-10-06Core/Event: Fix Brewfest MusicKittnz
Was only playing the same song over and over again.
2016-10-06fix buildccrs
2016-10-06Core/MotionMaster: cleanup, reordering and renamingccrs
2016-10-06Revert "Core/Creature: don't give kill and achievement credit if a creature ↵SnapperRy
kills itself." Causes an issue where a creature killed by a reflected spell will not give credits. Thanks Aokromes for noticing. Reverting this until a better solution is found. This reverts commit 5417a1a37f28d2746e83a7423f82abc46e2b4a4a.
2016-10-06Core/Creature: don't give kill and achievement credit if a creature kills ↵SnapperRy
itself. Prevents Wintergrasp vehicles from giving credit when killed by Wintergrasp Water and other similar exploits.
2016-10-06Core/Unit: implemented crit suppressionariel-
Thanks Riztazz for the infos :P
2016-10-06Core/Scripts: De-hack glyph of Barkskin with proper spellariel-
2016-10-05Core/Unit: prevent m_extraAttacks underflow. Fixes a freeze with ↵ariel-
SPELL_EFFECT_ADD_EXTRA_ATTACKS
2016-10-06Fix non PCH build.SnapperRy
2016-10-05Core/Event: Add Brewfest Music during the eventKittnz
Note: Dark Iron invasion music can be added with a trigger at a later stage
2016-10-05Core/Unit: fix weapon skill up.ariel-
Closes #18044
2016-10-05Core/Auras: reset periodic aura timers by default. Except when aura comes ↵ariel-
from triggered spell Closes #17961
2016-10-05Core/Scripts: add a workaround for Will of the Forsaken shared cooldownariel-
Closes #7151
2016-10-04Core/Spells: add Target Processing (SMSG_SPELLLOGEXECUTE) to LAUNCH_TARGET ↵ariel-
phase. Move EffectInterruptCast to LAUNCH_TARGET Phase. Closes #3718 Closes #6042
2016-10-04Core/Scripts: fix 2 runtime error logsariel-
2016-10-04Core/Spells: add proc cooldown on item equip.ariel-
2016-10-04Core/Scripts: add even more headersariel-
2016-10-04Core/Scripts: add more headers required for NoPCHariel-
2016-10-04Core/Scripts: add headers required for NoPCH buildariel-
2016-10-04Core/Scripts: Convert spells to new proc systemariel-
- Converted Unit::HandleDummyAuraProc function to AuraScripts * Extra: DMC: Madness now uses DB texts. yay! * Extra: improvements on Imp. Spell Reflection (range and max targets, filter caster with conditions) - Fixed Glyph of Succubus. (Closes #6599) - Changed old (not-blizz) behavior of Vampiric Embrace: * Before: party heal affected the priest too and self heal was reduced by that amount to not over-heal * Now: self heal amount not affected, rather filter the priest out of the party heal using conditions :) - Solve bug in AQ 3p set bonus, it should only trigger when healing others, not self heals. - Priest T10 2p bonus (heal) now rolls its effect properly - Use brand new GetEffectiveHeal to fix #17142 - While we're at it, also close #17034 for good - Converted Unit::HandleAuraProc function to AuraScripts (#17941) - Converted Unit::HandleAuraProc function to AuraScripts (cont'd) (#17955) - Corrected Flametongue weapon damage formula - Actually check offhand weapon for flametongue in Lava Lash script - Implemented halved proc chance for Missile Barrage on Arcane Barrage, Fireball, Frostbolt and Frostfire Bolt cast - Converted Unit::HandleProcTriggerSpell function to AuraScripts (#17956) - De-hack Earth shield. Fixes #13808 - Updated Honor among Thieves - Implemented mana proc for Mark of Conquest in case of ranged attack - Fixed Scent of Blood giving more stacks than the talent rank currently learnt. - Ported old proc table. Proc system is dead. Long live the proc system! - Recklessness should get charges removed per cast. Closes #15529 - Use proc system to remove Molten Core charges on Incinerate/Soul Fire cast. Closes #15942 Closes #3463 Closes #5401 Closes #15595 Closes #15974 Closes #16679 Closes #17925
2016-10-04Core/Spells: Implementation of QAston proc systemariel-
- Move checks from Unit::IsTriggeredAtSpellProcEvent (old system) to Aura::IsProcTriggeredOnEvent (new system) - Templatize SpellModOp param of Player::ApplySpellMod, also killed charge counter from SpellModifier and Player system for handling charges... no point in having 3 different systems doing the same thing - Automatically add default entries to spellProcMap, based on spellinfo (else auras won't proc without an entry) Based on old Unit::ProcDamageAndSpellFor - Old Unit::ProcDamageAndSpellFor renamed to Unit::ProcSkillsAndReactives and made private, will no longer handle auras. - Start making use of HealInfo::AbsorbHeal in unit calculations, add effective healing info to HealInfo struct - Changes in spell reflection system, emulates old behaviour, delaying aura drop - Removed old charge count hacks in SpellMgr::LoadSpellInfoCorrections - Removed bogus error log when procChance is 0: Some auras have initial 0 procChance but modified by SPELLMOD_CHANCE_OF_SUCCESS - Fixed TriggerAurasProcOnEvent logic that tried to trigger twice from actor. - Allow non damaging spells with DamageClass Melee or Ranged to proc character enchants. Ref issue #17034: * http://web.archive.org/web/20110309092008/http://elitistjerks.com/f47/t49865-paladin_retribution_pve/ * When an auto-attack lands (does not dodge/parry/miss) that can proc a seal the of the following things happen independently of each other (see 2 roll system). * 1) A "hidden strike" which uses melee combat mechanics occurs. If it lands it refreshes/stacks SoV DoT. Only white swings can trigger a refresh or stack. (This hidden strike mechanic can also proc things like berserking..) * 2) A weapon damage based proc will occur if you used a special (CS/DS/judge) or if you have a 5 stack (from auto attacks). This attack can not be avoided. * Holy Vengeance is the "hidden strike" it has an apply aura effect and damage class melee. - Fixed Blood Tap interaction with Death Runes (btw, don't know what was going on with those MiscValueB, spell 45529 doesn't have any MiscValueB in SPELL_EFFECT_ACTIVATE_RUNE) - Ported some AuraEffect checks from old Unit.cpp function. added new AuraScript hook to check procs of an specific effect - Allow only AuraEffects that passed the check to proc, this won't block whole aura from proccing (and lose charges) if at least one of the effects procs, though - Changes in spell mod system (for SPELLMOD_CASTING_TIME). fixes #17558. - Added an exception for SPELLMOD_CRITICAL_CHANCE too, fixes #15193
2016-10-04Core/Spells: Calculate hitMask and store it in DamageInfo/HealInfo structuresShauren
2016-10-04Scripts/Wintergrasp: Fix vehicle teleporter (#17550)Aokromes
By WoWErrorDev, closes #5831.
2016-10-04Core/Units: Clear UNIT_NPC_EMOTESTATE on death (blizzlike)Shauren
Closes #15263 Closes #18027 (cherry picked from commit cd326db30ff1d781d31dd9ceb688640e7e9266fc)
2016-10-04Core/Wintergrasp: fix leaving Wintergrasp via the minimap button.SnapperRy
2016-10-04Core/Wintergrasp: properly set and remove GO_FLAG_NOT_SELECTABLE from the ↵SnapperRy
Wintergrasp Relic, allowing the attacking faction to capture it.
2016-10-04Core/Conditions: partially revert 723c253, replacing ↵SnapperRy
CONDITION_WINTERGRASP_HORDE with a ConditionScript.
2016-10-04Core/Wintergrasp: give quest credit for southern towers destroyed.SnapperRy
Updates #7953.
2016-10-04DB/Conditions: quests Southern Sabotage and Toppling the Towers are only ↵SnapperRy
available if the respective faction is defending Wintergrasp. Also codestyle stealthfix.
2016-10-04Core/Scripts: kill whitespaceariel-
2016-10-04Core/Unit: fix a copy/paste mistakeariel-
2016-10-04Various: Fix coverity reported issues.treeston
2016-10-04Core/Wintergrasp: fix victory quests.SnapperRy
By Retriman, updates #7953.
2016-10-04Make travis happy and fix codestyle for previous commit.SnapperRy
2016-10-04Core/Conditions: implement CONDITION_WINTERGRASP_HORDE to check if ↵SnapperRy
Wintergrasp is held by Horde. Use negative condition to check if it is held by Alliance instead. Use this condition to fix availability of the Wintergrasp item-gathering weekly quests.
2016-10-04Core/Unit: rewrite of the attack table systemariel-
- Removed a bunch of duplicated code - Fix off-by-one errors in Unit::RollMeleeOutcomeAgainst and Unit::MeleeSpellHitResult (TC's combat table was actually of 100.01%) - Implemented boss-level hit table (6.5% dodge/14% parry), bosses only had 5.6% of each until now - Updated formula for chance and damage of Glancing hits Sources: - http://wow.gamepedia.com/index.php?title=Attack_table&oldid=2071465 - http://web.archive.org/web/20100903145646/http://www.mmo-champion.com/threads/650071-Expertise-Hit-for-Paladins-%28updated-for-3.3%29?daysprune=60
2016-10-04Core/Unit: don't reset offhand timer for players when starting attack.SnapperRy
Creatures are unaffected by this change. Not sure how they should behave in this case, so leaving it alone for now. Closes #945.
2016-10-03Script/Quest: A Cry For Help: (#18026)SnapperRy
- Add missing dialogue from Cowlen. - Timers and emotes.
2016-10-03Core/Loot: limit unique items check in LootItem::AllowedForPlayer() to ↵SnapperRy
bind-when-picked-up items only.