Commit Graph

5099 Commits

Author SHA1 Message Date
Shauren
32f18d05ae Core/Spells: Immortal specialization series part 3 - fixed Warlock Mastery: Chaotic Energies damage taken portion
Closes #20195
2017-09-01 23:41:55 +02:00
Shauren
9d29c002ef Core/Spells: Fixed Spirit of Redemption
* No more immortal priests either
2017-08-28 23:43:57 +02:00
Shauren
bf892de95c Warning fix 2017-08-27 14:52:15 +02:00
Shauren
5774e926d9 Core/Spells: Fixed mage Cauterize
* No more immortal fire mages
2017-08-27 11:28:08 +02:00
Shauren
ee0e9c8578 Core/Spells: Updated mage spell scripts 2017-08-26 23:04:57 +02:00
joschiwald
1fef1c595b Scripts: Added missing delimiter to MinionData arrays 2017-08-25 22:22:17 +02:00
Gacko
7cffde8dd6 Fix non-PCH build. 2017-08-22 21:30:25 +02:00
Krudor
28ec50b053 Scripts/Firelands: Baleroc
Closes #17527
2017-08-22 18:28:07 +02:00
Kittnz
2a3a68dfab Core/Event: Fix Brewfest Music
Was only playing the same song over and over again.

(cherry picked from commit 3eacc25e5d)
2017-08-21 21:19:52 +02:00
Kittnz
b8479333c2 Core/Event: Add Brewfest Music during the event
Note: Dark Iron invasion music can be added with a trigger at a later stage
(cherry picked from commit 002b0a7a65)

Update 2016_10_05_11_world_335.sql
(cherry picked from commit cccb1c5dde)

Fix non PCH build.
(cherry picked from commit 81d4c02f34)
2017-08-20 23:23:47 +02:00
roc13x
e04f75bd96 Core/Players: Several gold handling improvements
* Update gold limit to 10 million
* Updated auction house gold handling to 64-bit
* Fixed some vendor checks for when BuyCount > 1
* Tweaked some checks for available gold space
* Updated guild bank gold handling to 64-bit and fix withdraw limits
* Enforce gold limit on guild bank
* Check correct rank right when withdrawing from bank
* Other small changes to update money to 64-bit

Closes #19195
Closes #20152
2017-08-20 18:10:11 +02:00
Shauren
1de03622c5 Scripts: Delete broken multi profession trainer script (can now be done in db)
* Build fix
2017-08-20 15:06:59 +02:00
Shauren
fb1fdf27b9 Core/Creatures: Fixed trainers that don't use gossip but open trainer list directly from CMSG_TRAINER_LIST 2017-08-20 14:12:25 +02:00
Shauren
43d268d75c Core/PacketIO: Renamed "movementInfo" to "Status" in movement packets in effort to preserve original naming (and to follow codestyle for naming public data members) 2017-08-16 23:22:41 +02:00
Aokromes
27e4746ea2 Scripting: Clean up of magic numbers
By Malcrom
2017-08-14 13:44:25 +02:00
ariel-
d5c7675bcc Core/Auras: reset periodic aura timers by default. Except when aura comes from triggered spell
Closes #17961

(cherry picked from commit b5e8e0a5db)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Entities/Unit/Unit.h
#	src/server/game/Spells/Auras/SpellAuraEffects.cpp
#	src/server/game/Spells/Auras/SpellAuraEffects.h
#	src/server/game/Spells/Auras/SpellAuras.cpp
#	src/server/game/Spells/Auras/SpellAuras.h
#	src/server/game/Spells/Spell.cpp
#	src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_kelidan_the_breaker.cpp
#	src/server/scripts/Spells/spell_priest.cpp
2017-08-13 15:14:21 +02:00
ariel-
2b8af950da Core/Scripts: add a workaround for Will of the Forsaken shared cooldown
Closes #7151

(cherry picked from commit d482b0e368)

# Conflicts:
#	src/server/scripts/Spells/spell_generic.cpp
2017-08-13 13:04:07 +02:00
joschiwald
1f8fc55ac9 Core/Spells: Implementation of QAston proc system (#20131)
* Core/Spells: Implementation of QAston proc system

- Move checks from Unit::IsTriggeredAtSpellProcEvent (old system) to Aura::IsProcTriggeredOnEvent (new system)
- 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

(cherry picked from commit e641d0c7d7)

# Conflicts:
#	sql/base/auth_database.sql
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Entities/Unit/Unit.h
#	src/server/game/Spells/Auras/SpellAuraEffects.cpp
#	src/server/game/Spells/Auras/SpellAuras.cpp
#	src/server/game/Spells/Auras/SpellAuras.h
#	src/server/game/Spells/Spell.cpp
#	src/server/game/Spells/SpellEffects.cpp
#	src/server/game/Spells/SpellInfo.cpp
#	src/server/game/Spells/SpellMgr.cpp
#	src/server/game/Spells/SpellMgr.h
#	src/server/game/Spells/SpellScript.cpp
2017-08-13 12:03:43 +02:00
Rochet2
7c39123432 Core/Commands: Fix .modify mount (#20086) 2017-07-27 21:09:48 +02:00
Shauren
b85d46138b Core/Creatures: Deleted obsolete pet trainer script and fixed build 2017-07-27 00:04:37 +02:00
Shauren
0cd5179726 Core/Creatures: Rewrite trainer handling to properly support multiple trainers on the same creature
* Trainers are now defined as templates (sniffable), assigned by gossip options
2017-07-26 00:53:51 +02:00
joschiwald
9cb4a265a3 Misc: Fixed misleading indentation 2017-07-25 00:02:13 +02:00
Rochet2
211b564894 Scripts/Commands: Fix trinity_string usage and enhance commands 2017-07-22 09:22:17 +02:00
Seyden
a9174d5eb7 Core/Scripts: Implement generic script loaders (and script registry macros) to greatly reduce code duplication (#19526) 2017-07-20 00:15:02 +02:00
jackpoz
fc6b488620 Core/Misc: Fix static analysis issues
# Conflicts:
#	src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp
#	src/server/game/Battlegrounds/Zones/BattlegroundSA.cpp
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/scripts/Commands/cs_ban.cpp
#	src/server/scripts/Commands/cs_disable.cpp
2017-07-16 21:14:22 +02:00
jackpoz
74e4f73fcb Core/Misc: Fix static analysis issues
(cherry picked from commit 7d3291e804)

# Conflicts:
#	src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp
2017-07-16 20:50:43 +02:00
vincent-michael
b81c2e7971 Scripts/Misc: Fixed static analysis issues 2017-07-16 12:18:14 +02:00
Defu
bf55ebb2c4 Core/Spells: Fixed Hunter's Arcane Shot and Multi-Shot focus generation
Closes #19872
2017-07-13 19:15:21 +02:00
joschiwald
edca8e03ea Scripts/Commands: Fixed typo in battlenet password command 2017-07-09 17:24:08 +02:00
Shauren
0b5c545e57 Core/LFG: Drop comment field, it no longer exists in packets 2017-07-07 21:24:02 +02:00
Aokromes
4cee412faf Fix another warning 2017-07-05 08:10:01 +02:00
Aokromes
0000334564 Fix warning 2017-07-05 07:50:31 +02:00
Aokromes
b7e20d520f Core/Script: Partial Redridge fixup
By Malcrom - Reviewed by Treeston and Keader
2017-07-04 17:57:11 +02:00
Keader
43882262e8 Core/Scripts: Little codestyle fixes in 55acfef7ad 2017-07-03 09:37:32 -03:00
vincent-michael
bdb0fae78c DB/Quests: Updated quest_template data for 7.2.5 part 2 2017-07-03 10:38:44 +02:00
Aokromes
55acfef7ad Core/Script: Fix quest Rescue the Survivors! 2017-07-02 23:23:31 +02:00
Aokromes
8fb42e5ce2 Update zone_durotar.cpp 2017-06-23 05:36:35 +02:00
Aokromes
c292bcb96f Fix warning. 2017-06-21 14:17:43 +02:00
Shauren
228620b9d7 Core/Spells: Updated existing Death Knight spell scripts 2017-06-20 23:45:58 +02:00
ariel-
12646fe4b3 Core/Scripts: fix undefined reference errors in Linux
Closes #19915
2017-06-19 14:34:00 -03:00
vincent-michael
5439ef6dfc Core: Fixed non pch build 2017-06-18 00:20:18 +02:00
Shauren
24b8aa1166 Build fix for VS 2015 2017-06-17 23:26:27 +02:00
vincent-michael
3d3ab29096 Core/Spells: Fixed warning 2017-06-17 16:40:01 +02:00
Shauren
6c9b5e4cf5 Core/Spells: Fixed Atonement 2017-06-17 15:31:52 +02:00
Defu
d8247a3b11 Core/Spells: Fixed Hunter spell Exhilaration rank 2
Closes #19858
2017-06-12 22:04:12 +02:00
Gacko
636c9c420a Fix non-PCH build. 2017-06-10 20:42:40 +02:00
Gacko
330bc69906 Fix build. 2017-06-10 20:30:03 +02:00
HannibalRoG
4d6d8c6ba8 Core/Spells: Implemented warrior spell Trauma
Closes #19350
2017-06-10 18:31:43 +02:00
Shauren
550c57a0df Buildsystem: Exclude ScriptPCH from all targets when building dynamic scripts (except MSVC) 2017-06-08 19:24:06 +02:00
Shauren
a9b64d737d Core/Scripts: Optimize PCH contents 2017-06-08 00:37:50 +02:00