Commit Graph
29484 Commits
Author SHA1 Message Date
SnapperRy 74e7192d95 DB/Quest: end event for How Big a Threat? (Part 2). 2016-10-21 08:43:15 +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
Killyana ad44223e9c DB: Update remaining phases 2016-10-15 19:03:08 +02:00
Killyana 6bd09491b4 DB: Convert old phases to the new ones
TO DO: Find PhaseGroup for this 3 phaseMask: SELECT * FROM gameobject WHERE phaseMask IN (510, 511, 65535);
2016-10-15 17:50:56 +02:00
Aokromes 7b7f486d8f DB/Misc: Fix import 2016-10-11 11:47:57 +02:00
Aokromes 456065bad1 Missing changes 2016-10-11 08:32:41 +02:00
Killyana d1de1a612e DB: Add missig gobs and creatures to Durotar 2016-10-10 20:51:53 +02:00
Killyana 2e02e46926 NPC/Text: Add some missing Npc_text 2016-10-09 22:42:18 +02:00
Killyana 65757b3d48 DB: Add some gossips 2016-10-09 20:56:12 +02:00
Killyana d2b12e4954 DB/Loots: Full creature loots 2016-10-09 19:36:09 +02:00
Killyana cc4080dc64 DB: Fix some DB errors 2016-10-09 16:56:16 +02:00
Killyana d404943657 DB: Remove 3.3.5 only data related to the quest: A life without regret 2016-10-09 15:49:04 +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
Aokromes eb745277cd DB/Misc: 3.3.5a fixes 2016-10-05 08:08:22 +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
Aokromes 4ce27937b0 DB/Misc: 3.3.5a fixes 2016-10-04 06:37:25 +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
Killyana c6c32b7e38 DB: Mulgore creatures SAI 2016-10-04 00:11:13 +02:00
ariel- 16995799c9 Build: Added 1.62 Boost version to FindBoost 2016-10-03 14:58:55 +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