Commit Graph

5032 Commits

Author SHA1 Message Date
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
57d0a5d16d Revert "Core/Spells: Implementation of QAston proc system"
This reverts commit a70e4e26b3.
2016-10-21 07:27:04 +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
0169bfe1f5 Scripts/Wintergrasp: Fix vehicle teleporter (#17550)
By WoWErrorDev, closes #5831.
2016-10-05 08:01:20 +02:00
SnapperRy
f64a77a77d Core/Conditions: partially revert 723c253, replacing CONDITION_WINTERGRASP_HORDE with a ConditionScript. 2016-10-05 08:00:25 +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
cfc8cbf42f Script/Quest: A Cry For Help: (#18026)
- Add missing dialogue from Cowlen.
- Timers and emotes.
2016-10-04 06:36:09 +02:00
ariel-
ac084e4ddc Core/Spells: Flag of Ownership shouldn't target creatures 2016-10-03 14:58:07 +02:00
SnapperRy
ad98ab192c Core/Script: make creature Webbed Creature spawn creature Expedition Researcher when appropriate.
Also don't allow it to spawn a copy of itself.
2016-10-01 16:48:48 +02:00
Keader
a6c18901b2 Core/Scripts: Fixed Gunship Mage cast interrupt
Closes: #14912
2016-09-27 13:03:07 +02:00
treeston
a142c7b2ae and you get a header, and everyone gets a header... 2016-09-27 13:02:59 +02:00
treeston
0b2b2641a0 .....hail PCH 2016-09-27 13:02:49 +02:00
treeston
0739185b29 ...for real this time (seriously - what happened to test builds before merging, Aok?) 2016-09-27 13:02:41 +02:00
treeston
31d71fda27 Fix nonPCH. 2016-09-27 13:02:32 +02:00
Treeston
6dd0f9a478 I think I got all of them this time
No idea how this one got past travis.
2016-09-27 13:02:25 +02:00
Aokromes
f2639df97a Update boss_hadronox.cpp
I hate travis, learn from buildbot
2016-09-27 13:02:17 +02:00
Aokromes
0cb82d69ae Update boss_hadronox.cpp 2016-09-27 13:02:07 +02:00
Treeston
69e4236146 Scripts/AzjolNerub: Full rewrite 2016-09-27 13:01:58 +02:00
ariel-
ceb1750432 Core/Scripts: Fix build 2016-09-26 07:39:06 +02:00
SnapperRy
1158365c5c Script/Quest: Trail of Fire (#17939) 2016-09-26 07:38:48 +02:00
tkrokli
3b6b13071a Core/Scripts: move #define to enum/boss emote to DB (#17967)
boss_lurker_below.cpp : remove deprecated #define entries
- remove hardcoded text, use creature_text/broadcast_text
- move #define value & text reference to enum section
- replace TextEmote() with Talk() pointing to DB entry
2016-09-25 10:11:20 +02:00
jackpoz
71d4d34d33 Scripts/ICC: Fix chest loot exploit
Fix an exploit at chest loot bosses Valithria and Deathbringer that allowed the first played to hit them to leave party at low hp % and loot the whole chest alone, without the party being able to loot anything.
2016-09-25 10:10:57 +02:00
tkrokli
a34fbdaa40 Core/Scripts: move npc_lunaclaw_spirit to SAI
This PR moves the core script `npc_lunaclaw_spirit` to SAI, removing hardcoded text.
The quests 6001 + 6002 are druid class quests to get bear form, removed in patch 4.0.3a

Changes in this PR:
- remove core script, including hardcoded text (with typo)
- use gossip_menu_option for each faction (Alliance & Horde)
- add SAI script to complete quest 6001 or 6002 based on option
- add gossip option conditions for team A (469) or team H (67)
- add gossip option conditions for quest 6001/6002 not completed
2016-09-24 07:00:12 +02:00
SnapperRy
a54ddfee5e Script/Quest: The Exorcism of Colonel Jules:
- Summoned NPCs will no longer give experience on kill.
- Require quests Fel Spirits and Digging for Prayer Beads to be completed.
- Reduce number of Foul Purges spawned in a single wave (only two should spawn each time).
- Properly give quest credit when talking with Colonel Jules after the exorcism.
2016-09-24 07:00:03 +02:00
treeston
80741d92ac Scripts/IcecrownCitadel: Fix an issue where Deathbringer Saurfang's exit door could get stuck in a closed state. Fixes and closes #15018. 2016-09-22 15:28:15 +02:00
Keader
79782df5c7 Core/Scripts: XT002 improvements in Hard Mode. Closes #17141. (PR #17900) 2016-09-22 03:23:43 +02:00
Aokromes
2f6c01ed29 Delete incorrectly readded file 2016-09-22 03:15:37 +02:00
Treeston
3815b5bc06 Code style follow-up, I blame Notepad++. 2016-09-20 20:33:01 +02:00
treeston
8a402b9f6b Core/Unit: Standardize SetFacingTo and SetFacingToObject behavior while moving. Both now fail while moving unless arg2 bool is true 2016-09-20 20:28:45 +02:00
treeston
bd109edce8 5952752 follow-up: Member declaration now matches order of usage. 2016-09-20 18:38:42 +02:00
treeston
bd9dbabcc0 Instance/Naxxramas: Loatheb no longer instantly murders you. Five spam casts of Doom tend to do that to raids. 2016-09-20 18:37:58 +02:00
treeston
c1cc7e0a36 Core/Movement: Add new SplineChainMovementGenerator that allows accurate replication of sniffed waypoints in static sequences, along with DB facilities that allow loading of waypoints from DB. 2016-09-20 12:54:54 +02:00
tkrokli
6953e06c4b Core/Scripts: simplified npc_pet_trainer gossip script
This is what the script changes should have been in PR #17746
(also updates issue #14719 with a correct solution).

- remove OnGossipHello() to use DB conditions
- replace OnGossipSelect() with sGossipSelect()
- focus script on the confirming gossip option
- let the other gossip menus be handled in DB
2016-09-18 07:38:25 +02:00
Treeston
226762216a Map/Instances: Greatly simplify PermBindAllPlayers logic. (#17940) 2016-09-18 07:38:06 +02:00
treeston
72a76d6226 Instance/UtgardePinnacle: Fix Svala Sorrowgrave timings (from sniff). 2016-09-14 14:32:03 +02:00
SnapperRy
9b89458cc8 Script/Quest: fix and use proper serverside summon spell for quest "Red Snapper - Very Tasty!". 2016-09-10 14:26:36 +02:00
SnapperRy
e9b2feba4f Script/Quest: replace wrong test spell used for quest "Red Snapper - Very Tasty!" with actual summoning.
The spell does not appear in sniffs, and the summoned NPC's spawn time was far too short to be appropriate (15 seconds).
2016-09-10 14:26:18 +02:00
Rochet2
19ed813f6b Core/Scripts: Enhance quest status hook by making it catch more status changes (#17865) 2016-09-10 14:25:57 +02:00
Aokromes
dc4657218e Core/Scripts: Implement Flag of Ownership
Core/Spells: Implemented TARGET_CORPSE_SRC_AREA_ENEMY.
2016-09-10 03:53:34 +02:00
Aokromes
a1fdfe9259 Typo fix, fix compile 2016-09-04 15:03:40 +02:00
Aokromes
8284afd5a6 Core/Spells / Scripts: Fix Lock and Load 2016-09-04 11:47:54 +02:00
Aokromes
ed41de566f Core/Scripts: Implement Glyph of Backstab 2016-09-04 11:34:09 +02:00
Aokromes
d09c1712cd Core/Misc: Build fix 2016-09-04 00:55:58 +02:00
Vincent-Michael
95a7a88ef0 Core/Commands: Fixed build 2016-09-04 00:19:29 +02:00
xjose93
882453253f Core/Commands: Implement .neargraveyard (find nearest graveyard from dbc). 2016-09-04 00:19:13 +02:00
treeston
77631a8cde Drycoding is bad, mmkay? 2016-09-03 17:30:37 +02:00
treeston
9a829b4761 Scripts/Events: Globally fix all ExecuteEvent loops to check UNIT_STATE_CASTING after each iteration, instead of just checking it once initially 2016-09-03 17:26:20 +02:00
Aokromes
3e00b379f3 Scripts/Misc: Delete no longer used files 2016-08-31 08:44:01 +02:00