Commit Graph

15493 Commits

Author SHA1 Message Date
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
ariel-
ed6cf717c8 Core/Spells: add Target Processing (SMSG_SPELLLOGEXECUTE) to LAUNCH_TARGET phase.
Move EffectInterruptCast to LAUNCH_TARGET Phase.

Closes #3718
Closes #6042

(cherry picked from commit d9e4c8e04f)

# Conflicts:
#	src/server/game/Spells/Spell.cpp
2017-08-13 12:57:27 +02:00
ariel-
cc82951ff0 Core/Spells: add proc cooldown on item equip.
(cherry picked from commit 016b31a1b6)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
2017-08-13 12:51:43 +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
joschiwald
cb4dd92629 Core/Spells: Defined SPELL_AURA_ALLOW_TALENT_SWAPPING 2017-08-10 20:58:35 +02:00
hondacrx
10e81a9933 Core/Guild: Fixed GuildAddRank structure (#20115) 2017-08-06 21:25:11 +02:00
joschiwald
16f2673343 Core/Packets: Fixed possible crash in SandboxScalingData::GenerateDataForUnits 2017-08-06 18:08:07 +02:00
Caydan
32bbdcae3f Handlers/Chat: Pass correct argument to CreatureAI::ReceiveEmote (#20109) 2017-08-04 02:26:50 +02:00
joschiwald
30d6a70f2d Core/Battleground: Fixed typo in be144b2fd8 2017-08-03 19:04:00 +02:00
Shauren
fac8ccf7e0 Core/Creatures: Trainer followup
* Drop unused columns
* Send proper spellid in packets for profession ranks
* Added missing rank check
2017-07-31 19:53:02 +02:00
vincent-michael
e7c22cbfb5 Core/Spells: SPELL_AURA_MOD_SPELL_CATEGORY_COOLDOWN are now scalable auras 2017-07-31 17:08:26 +02:00
joschiwald
43c3a78079 Core/LFG: Fixed role check cancel time 2017-07-30 14:58:42 +02:00
joschiwald
6f8b60101f Core/Misc: Fixed armor mitigation after 5675902485
* Also fixes gcc build with -Werror enabled
2017-07-30 13:11:43 +02:00
Seyden
5675902485 Core/Creatures: Implemented Basic Creature Scaling (#20026) 2017-07-29 21:40:28 +02:00
joschiwald
7e4f607851 Core/Spells: Renamed SPELL_EFFECT_CREATE_MANA_GEM to SPELL_EFFECT_RECHARGE_ITEM 2017-07-29 18:01:12 +02:00
joschiwald
19dcae0dd4 Core/Players: Fixed typo in appearance validation
Closes #20088
2017-07-28 00:31:26 +02:00
joschiwald
0c95c14938 Core/DataStores: Fixed SpellPowerEntry structure
* ManaCosts are signed
2017-07-27 22:46:13 +02:00
Rochet2
7c39123432 Core/Commands: Fix .modify mount (#20086) 2017-07-27 21:09:48 +02:00
Shauren
ac7b842ed0 Build fix 2017-07-27 18:23:42 +02:00
joschiwald
b9c3608259 Core/Spells: Defined TARGET_GAMEOBJECT_CONE_109
Also removed some wrong SpellInfoCorrections
2017-07-27 16:32:57 +02:00
joschiwald
be144b2fd8 Core/Battleground: Small BattlegroundScore refactoring 2017-07-27 01:19:12 +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
Shauren
3107dfe3e7 Core/Creatures: Allow talent reset gossip from level 15 instead of 10 since that is when first talent is available 2017-07-24 23:24:32 +02:00
Malcrom
acbc3f5a68 Core/Smartscripts: Add respawn timer to smartscript despawn (#20070) 2017-07-22 22:34:23 +02:00
joschiwald
ef5c5ed9d9 Core/Spells: Removed SpellInfoCorrections of removed spells 2017-07-22 20:00:42 +02:00
zori
289c546f17 Core/Instances: Fix typo from commit 358b33239a (#20068) 2017-07-22 15:49:52 +02:00
joschiwald
080db6c99c Core/AreaTrigger: Changed the way how AreaTriggers select enemies and friends 2017-07-22 11:17:46 +02:00
Rochet2
211b564894 Scripts/Commands: Fix trinity_string usage and enhance commands 2017-07-22 09:22:17 +02:00
Shauren
0feb56e2c7 Core/Bnet: Fixed login after gSOAP update 2017-07-21 00:36:03 +02:00
Shauren
120d2ebe4f Core/PacketIO: Initialize arrays of primitive types 2017-07-20 21:54:36 +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
Shauren
a6e46c1c2e Buildsystem: Fixed windows pch build with ninja 2017-07-19 21:37:42 +02:00
joschiwald
33478689bb Core/Spells: Defined SPELL_AURA_MOD_DAMAGE_PERCENT_DONE_BY_TARGET_AURA_MECHANIC 2017-07-18 18:19:07 +02:00
joschiwald
8e71051de5 Core/Spells: Allow TARGET_UNIT_CHANNEL_TARGET to target players
(broken in c0eb6c3130)
2017-07-18 17:00:55 +02:00
joschiwald
be7486fddb Core/Spells: Renamed TARGET_DEST_UNK_110 to TARGET_UNIT_CONE_ENTRY_110 2017-07-18 16:31:23 +02:00
joschiwald
2047a80dcc Core/Spells: Updated SpellFamilyNames enum 2017-07-18 16:24:56 +02:00
joschiwald
ae070a1b64 Core/Spells: Implemented ConeAngle from DB2 2017-07-18 15:16:32 +02:00
Shauren
ca9b0b029f Core/Misc: Fixed uninitialized values
CID 1254611 1377296 1377728 1377727
2017-07-17 19:10:32 +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
Shauren
57fcc9edcd Build fix for boost 1.55 2017-07-15 01:43:42 +02:00
Shauren
274c45e548 Core/Bnet: Changed login REST service to use async db queries instead of spawning a thread for each request 2017-07-14 19:18:42 +02:00
Gacko
5f514be398 Fix non-PCH build. 2017-07-13 19:49:00 +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
Golrag
9128b00f59 Core/Movement: Set CatmullRom only when flying when using MoveSmoothPath (#19903) 2017-07-13 17:50:13 +02:00
Shauren
ea54b5fa3d More warning fixes 2017-07-12 09:35:56 +02:00
Shauren
df66b903e3 Warning fixes 2017-07-12 01:23:59 +02:00