Commit Graph

5049 Commits

Author SHA1 Message Date
Gustavo
d82abaa2ac Core/Scripts Boss Lady DeathWhisper improvements 2016-10-24 13:26:40 +02:00
Kittnz
72d02185ba Core/Event: Change Midsummer Music container to vector 2016-10-24 13:19:28 +02:00
Kittnz
de78de624e Core/Event: Change Midsummer Music to search grid only 2016-10-24 13:19:15 +02:00
SnapperRy
496268c478 Script/Creature: Scarshield Infiltrator/Vaelan. 2016-10-24 13:19:02 +02:00
ariel-
a16983b5bd Core/Scripts: Fix runtime error 2016-10-24 13:03:47 +02:00
Aokromes
d68a119d5d Script/Quest: Apply Heat and Stir.
Enjoy one of the most frustrating quests in Northrend!
2016-10-24 11:15:17 +02:00
ariel-
0edf0c5ff6 Core/Scripts: updated Lock and Load script with new hooks, DamageInfo might be null, so check for that too 2016-10-22 10:53:58 +02:00
SnapperRy
a6eb8d9b11 Core/Wintergrasp: cleanup and codestyle. 2016-10-22 10:53:40 +02:00
jackpoz
2dfa3298c8 Scripts/Azjol-Nerub: fix static analysis issues 2016-10-22 10:50:37 +02:00
Kittnz
f0566bc2a5 Core/Scripts: Initialize rnd and remove where it was not needed 2016-10-22 10:50:23 +02:00
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
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
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
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
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