Commit Graph

21794 Commits

Author SHA1 Message Date
Kittnz
2072a3f78c Core/Event: Pirate Day Music during the event 2016-10-22 10:49:56 +02:00
Kittnz
3c1535678e Core/Event: Add Darkmoon Fair Music during the event 2016-10-22 10:49:47 +02:00
Kittnz
622e65c3e1 Core/Event: Add Midsummer Music during the event 2016-10-22 10:49:07 +02:00
SnapperRy
870ad3af32 Remove unused variable. 2016-10-22 10:48:58 +02:00
SnapperRy
76c462d04f Battlefield/Wintergrasp: improvements:
- Move Wintergrasp Keep guard spawns from core to db, removing all duplicates in the meanwhile.
- Add Alliance Brigadier General inside the relic room.

Closes #7593.
2016-10-22 10:48:36 +02:00
SnapperRy
c24c06ddcc Core/Wintergrasp: fix Defend the Siege quests.
Closes #7953.
2016-10-22 10:48:20 +02:00
ariel-
5fa490e3ed Core/Channels: remove unneeded default constructor 2016-10-22 10:32:50 +02:00
Aokromes
7315052d34 Core/Channel: revamp channel system (#17980)
* 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
2016-10-22 10:21:18 +02:00
ariel-
3bc1f35614 Core/Auras: stop some compilers from complaining 2016-10-21 09:15:18 +02:00
ariel-
02ba07dee0 Core/Misc: fix interaction of spells like Shadowmeld with Threat reducing 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-21 09:14:38 +02:00
Aokromes
4d214728e4 Core/Grids: Allow arbitrary containers in grid searchers that support…
… push_back

* Makes it possible to use vector and dequeue with grid searchers.
2016-10-21 09:09:47 +02:00
Kittnz
cd22b8ea7a Core/Event: Fix Brewfest Music
Was only playing the same song over and over again.
2016-10-21 08:58:15 +02:00
SnapperRy
001f4881f8 Fix non PCH build. 2016-10-21 08:47:52 +02:00
Kittnz
f5364cc5aa 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-21 08:46:21 +02:00
ariel-
11dea2a874 Core/Scripts: add a workaround for Will of the Forsaken shared cooldown
Closes #7151
2016-10-21 08:26:35 +02:00
Aokromes
686a9eeef9 Core/Spells: add Target Processing (SMSG_SPELLLOGEXECUTE) to LAUNCH_T…
…ARGET phase.

Move EffectInterruptCast to LAUNCH_TARGET Phase.
2016-10-21 08:23:40 +02:00
Aokromes
114db3b9a4 Revert "Core/Spells: Calculate hitMask and store it in DamageInfo/HealInfo structures"
This reverts commit a3e5afc027.
2016-10-21 07:27:15 +02:00
Aokromes
57d0a5d16d Revert "Core/Spells: Implementation of QAston proc system"
This reverts commit a70e4e26b3.
2016-10-21 07:27:04 +02:00
Aokromes
f9ebb50a8a Revert "Typo fix"
This reverts commit 32277391cc.
2016-10-21 07:26:42 +02:00
Aokromes
f8f2f64cd3 Revert "typo fix"
This reverts commit 5a9ae7eae6.
2016-10-21 07:26:34 +02:00
Aokromes
06fff9a83f Revert "Core/Unit: Remove unused code as for 4.3.4"
This reverts commit 42e74822b8.
2016-10-21 07:26:23 +02:00
Aokromes
16813bdb8c Revert "Missing changes"
This reverts commit 456065bad1.
2016-10-21 07:26:01 +02:00
Aokromes
456065bad1 Missing changes 2016-10-11 08:32:41 +02:00
Aokromes
42e74822b8 Core/Unit: Remove unused code as for 4.3.4
By Girip_Dragos
2016-10-09 15:46:41 +02:00
Aokromes
5a9ae7eae6 typo fix 2016-10-09 15:23:59 +02:00
Aokromes
32277391cc Typo fix 2016-10-05 17:16:30 +02:00
Aokromes
a70e4e26b3 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-05 13:19:51 +02:00
Shauren
a3e5afc027 Core/Spells: Calculate hitMask and store it in DamageInfo/HealInfo structures 2016-10-05 08:01:38 +02:00
Aokromes
0169bfe1f5 Scripts/Wintergrasp: Fix vehicle teleporter (#17550)
By WoWErrorDev, closes #5831.
2016-10-05 08:01:20 +02:00
SnapperRy
29bb8c1eb1 Core/Wintergrasp: fix leaving Wintergrasp via the minimap button. 2016-10-05 08:01:03 +02:00
SnapperRy
18d75567b0 Core/Wintergrasp: properly set and remove GO_FLAG_NOT_SELECTABLE from the Wintergrasp Relic, allowing the attacking faction to capture it. 2016-10-05 08:00:42 +02:00
SnapperRy
f64a77a77d Core/Conditions: partially revert 723c253, replacing CONDITION_WINTERGRASP_HORDE with a ConditionScript. 2016-10-05 08:00:25 +02:00
SnapperRy
856b172060 Core/Wintergrasp: give quest credit for southern towers destroyed.
Updates #7953.
2016-10-05 08:00:02 +02:00
SnapperRy
638368f0e0 DB/Conditions: quests Southern Sabotage and Toppling the Towers are only available if the respective faction is defending Wintergrasp.
Also codestyle stealthfix.
2016-10-05 07:59:52 +02:00
ariel-
a96ab21ee2 Core/Scripts: kill whitespace 2016-10-05 07:59:43 +02:00
treeston
824db91cbe Various: Fix coverity reported issues. 2016-10-05 07:59:14 +02:00
SnapperRy
0f5f87add0 Core/Wintergrasp: fix victory quests.
By Retriman, updates #7953.
2016-10-05 07:59:05 +02:00
SnapperRy
3c2622d452 Make travis happy and fix codestyle for previous commit. 2016-10-05 07:58:50 +02:00
SnapperRy
3f61b4d81b Core/Conditions: implement CONDITION_WINTERGRASP_HORDE to check if 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-05 07:58:34 +02:00
Shauren
f5a980be9b Core/Units: Clear UNIT_NPC_EMOTESTATE on death (blizzlike)
Closes #15263
Closes #18027
2016-10-04 18:07:59 +02:00
SnapperRy
1a29f04e00 Core/Unit: don't reset offhand timer for players when starting attack.
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-04 06:36:39 +02:00
SnapperRy
cfc8cbf42f Script/Quest: A Cry For Help: (#18026)
- Add missing dialogue from Cowlen.
- Timers and emotes.
2016-10-04 06:36:09 +02:00
SnapperRy
fbbe103245 Core/Loot: limit unique items check in LootItem::AllowedForPlayer() to bind-when-picked-up items only. 2016-10-04 06:35:48 +02:00
SnapperRy
f8036710e3 Core/Loot: do not show unique items if player already has the maximum allowed quantity. 2016-10-04 06:35:37 +02:00
SnapperRy
828026bede Core/Quest: send INVALIDREASON_QUEST_ALREADY_DONE if player tries to accept a quest that is already rewarded. 2016-10-04 06:35:17 +02:00
ariel-
ac084e4ddc Core/Spells: Flag of Ownership shouldn't target creatures 2016-10-03 14:58:07 +02:00
ariel-
6ee820afe4 Core/Player: correct logic for IsUsingTwoHandedWeaponInOneHand
Fixes penalty not being applied when we are using a 2H in offhand, and a unarmed MH.
MH may do unarmed attacks in this case. (reciprocal of 2H MH, unarmed OH, only uses MH normally, OH doesn't unarmed attack)
2016-10-03 14:57:51 +02:00
Aokromes
bcfe5b4f4f Core/Spells: fixed SPELL_ATTR5_USABLE_WHILE_STUNNED 2016-10-03 14:56:48 +02:00
ariel-
919a3c631e Core/Spell: Add Dual Wield skill dependency to Dual Wield effect, should remove the skill properly when unlearning spell.
Closes #17196
2016-10-03 14:53:59 +02:00
Aokromes
576cfa8328 Core/Player: unconditionally remove Titan's grip penalty aura on Spel…
…l removal

Was causing an issue when switching spec, because off hand weapon was still equipped
2016-10-03 14:53:39 +02:00