Commit Graph

26545 Commits

Author SHA1 Message Date
ccrs
960f75ff4b rerename 2016-10-06 22:04:37 +02:00
ccrs
46b099e727 fix build 2016-10-06 18:17:52 +02:00
ccrs
f32f38a91c Core/MotionMaster: cleanup, reordering and renaming 2016-10-06 17:53:35 +02:00
SnapperRy
b027383704 DB/Quest: Covert Ops - Alpha and Covert Ops - Beta require completion of both Ineptitude + Chemicals = Fun and Special Delivery for Gaxim. 2016-10-06 11:29:10 +02:00
SnapperRy
79c1b5942c Revert "Core/Creature: don't give kill and achievement credit if a creature 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 5417a1a37f.
2016-10-06 11:16:05 +02:00
SnapperRy
5417a1a37f Core/Creature: don't give kill and achievement credit if a creature kills itself.
Prevents Wintergrasp vehicles from giving credit when killed by Wintergrasp Water and other similar exploits.
2016-10-06 10:50:50 +02:00
SnapperRy
b930d99e59 DB/Quest: the two versions of Jonespyre's Request require Morrowgrain Research rewarded.
Also fix ExclusiveGroup typo.
2016-10-06 10:11:16 +02:00
SnapperRy
71cc1f80a2 DB/Creature: fix faction for Githyiss the Vile.
Should be neutral, like the other nearby spiders.
2016-10-06 09:42:42 +02:00
ariel-
8a82a3ba81 Core/Unit: implemented crit suppression
Thanks Riztazz for the infos :P
2016-10-06 01:06:37 -03:00
ariel-
a0e317b991 Core/Scripts: De-hack glyph of Barkskin with proper spell 2016-10-06 00:59:26 -03:00
ariel-
f09e7cbbfe Core/Unit: prevent m_extraAttacks underflow. Fixes a freeze with SPELL_EFFECT_ADD_EXTRA_ATTACKS 2016-10-05 22:46:26 -03:00
SnapperRy
97e70b599e DB/Quest: fix quest "Gerenzo's Orders" (Part 1).
Thanks classicdb for coordinates and npc entries. Closes #1724.
2016-10-06 01:00:19 +02:00
SnapperRy
81d4c02f34 Fix non PCH build. 2016-10-06 00:17:28 +02:00
SnapperRy
5dda529719 DB/Misc:
- Fix DB error introduced in f7fdc3b5.
- Remove wrong (Cataclysm) gossip for creature Sentinel Selarin.
- Remove questgiver flag from Sentinel Aynasha when accepting quest "One Shot. One Kill."
2016-10-06 00:10:24 +02:00
SnapperRy
7a821284ea DB/SAI: better handling for Ward of Laze aura.
By Killyana.
2016-10-06 00:07:21 +02:00
Aokromes
cccb1c5dde Update 2016_10_05_11_world_335.sql 2016-10-05 23:23:50 +02:00
SnapperRy
12ff6d2f4f DB/Quest: fix quest "One Shot. One Kill."
Thanks tkrokli for the initial research.
2016-10-05 23:11:12 +02:00
Kittnz
002b0a7a65 Core/Event: Add Brewfest Music during the event
Note: Dark Iron invasion music can be added with a trigger at a later stage
2016-10-05 22:34:04 +02:00
SnapperRy
4450d5b698 DB/Creature: fix gossip for some creatures.
Terenthis, Volcor (Darkshore), Denalan (Teldrassil).
2016-10-05 18:56:12 +02:00
ariel-
5b7078c30a Core/Unit: fix weapon skill up.
Closes #18044
2016-10-05 13:07:44 -03:00
ariel-
845102b9fd DB/Spell: fix a few procs that should only proc from damaging spells
Closes #18046
2016-10-05 12:54:15 -03:00
SnapperRy
f7fdc3b52a DB/Quest: improve Escape Through Force and fix Escape Through Stealth. 2016-10-05 17:47:19 +02:00
SnapperRy
7fc09294bf DB/Quest: fix event for quest A Lost Master (Part 2).
/wave Grimclaw!
2016-10-05 17:44:58 +02:00
Killyana
dac44a59b4 DB/Quest: Hot and Cold
Add Frost Nova visual effect
2016-10-05 14:58:38 +02:00
SnapperRy
35a8ac52e3 Both updates are only for 3.3.5 branch. 2016-10-05 12:40:29 +02:00
SnapperRy
cfe80e8ac1 DB/Quest: improve end event for Escape Through Stealth/Force.
Texts, npcflags and prevent duplicate spawns.
2016-10-05 12:37:29 +02:00
SnapperRy
54e91a2161 DB/Quest: end event for How Big a Threat? (Part 2). 2016-10-05 11:19:26 +02:00
ariel-
b5e8e0a5db Core/Auras: reset periodic aura timers by default. Except when aura comes from triggered spell
Closes #17961
2016-10-05 03:10:05 -03:00
ariel-
d482b0e368 Core/Scripts: add a workaround for Will of the Forsaken shared cooldown
Closes #7151
2016-10-05 01:40:00 -03:00
ariel-
9940b102af DB/Spell: correct proc phase for Elemental Shaman 2P Bonus
Closes #12438
2016-10-04 23:51:44 -03:00
ariel-
d9e4c8e04f Core/Spells: add Target Processing (SMSG_SPELLLOGEXECUTE) to LAUNCH_TARGET phase.
Move EffectInterruptCast to LAUNCH_TARGET Phase.

Closes #3718
Closes #6042
2016-10-04 23:35:50 -03:00
ariel-
51493a63e2 Core/Scripts: fix 2 runtime error logs 2016-10-04 22:34:39 -03:00
ariel-
016b31a1b6 Core/Spells: add proc cooldown on item equip. 2016-10-04 21:43:45 -03:00
ariel-
165ddd753f DB/Spell: Fix Sudden Death charge drop 2016-10-04 21:24:31 -03:00
ariel-
66749470ef Core/Scripts: add even more headers 2016-10-04 21:13:27 -03:00
ariel-
192f8186bd Core/Scripts: add more headers required for NoPCH 2016-10-04 21:10:57 -03:00
ariel-
dc7a1894c5 Core/Scripts: add headers required for NoPCH build 2016-10-04 21:08:03 -03:00
ariel-
7547db8871 Rename 2016_xx_xx_xx_world.sql to 2016_10_04_06_world.sql 2016-10-04 20:48:17 -03:00
ariel-
2ff855054f Core/Scripts: Convert spells to new proc system
- 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-04 20:21:58 -03:00
ariel-
e641d0c7d7 Core/Spells: Implementation of QAston proc system
- 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-04 20:21:55 -03:00
Shauren
23902ff266 Core/Spells: Calculate hitMask and store it in DamageInfo/HealInfo structures 2016-10-04 20:19:12 -03:00
Kittnz
1b89211c74 Ofcourse 335 only 2016-10-04 22:37:38 +02:00
Kittnz
0cc08664c8 DB/Event: Add missing Lunar Festival Objects in Stormwind
Finally got missing objects from 335 sniffs in stormwind
2016-10-04 22:36:17 +02:00
Aokromes
308a2413a1 Scripts/Wintergrasp: Fix vehicle teleporter (#17550)
By WoWErrorDev, closes #5831.
2016-10-04 20:55:05 +02:00
Shauren
256d07f26f Core/Units: Clear UNIT_NPC_EMOTESTATE on death (blizzlike)
Closes #15263
Closes #18027

(cherry picked from commit cd326db30f)
2016-10-04 20:32:51 +02:00
SnapperRy
b60db6c44e Core/Wintergrasp: fix leaving Wintergrasp via the minimap button. 2016-10-04 19:13:11 +02:00
SnapperRy
63215dd15a Core/Wintergrasp: properly set and remove GO_FLAG_NOT_SELECTABLE from the Wintergrasp Relic, allowing the attacking faction to capture it. 2016-10-04 19:07:46 +02:00
SnapperRy
4891db4a4f Update 2016_10_04_03_world.sql 2016-10-04 18:55:18 +02:00
SnapperRy
ec4c4327bf DB/Creature: Ward of Laze: root and spellcast.
By tkrokli, closes #15304.
2016-10-04 18:53:51 +02:00
SnapperRy
fd620ca7d6 Core/Conditions: partially revert 723c253, replacing CONDITION_WINTERGRASP_HORDE with a ConditionScript. 2016-10-04 18:47:58 +02:00