Commit Graph

10159 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
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
Shauren
6c60dddbc6 Core: Updated allowed build to 7.2.5.24742 2017-08-04 23:48:02 +02:00
Aokromes
db9576beff DB/Gameobject: Fix Page 9 values
Closes #19947 by Luchass
2017-08-04 13:36:20 +02:00
Aokromes
02b4bc260c DB/Misc: Fix some startup errors
Closes #19951 by codeman8214
2017-08-04 13:28:46 +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
Seyden
5675902485 Core/Creatures: Implemented Basic Creature Scaling (#20026) 2017-07-29 21:40:28 +02:00
joschiwald
0c95c14938 Core/DataStores: Fixed SpellPowerEntry structure
* ManaCosts are signed
2017-07-27 22:46:13 +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
tkrokli
734fab01bb DB/Quest: stay mounted on Infected Kodo Beast in 4 Borean Tundra zones
- Add conditions to allow player to stay mounted in the quest zones.
- Update comment text for existing condition, adding zone name.

By Foereaper
Closes issue #20078
2017-07-25 21:58:51 +02:00
joschiwald
67796304fe SQL: Fixed import issues 2017-07-24 11:39:32 +02:00
Aokromes
40a45540af DB/Misc: Fixes for gnome start zone
By Malcrom Cherry pick from cf7f5cf902
2017-07-23 20:10:30 +02:00
Aokromes
6f00f50b6d DB/Quest: Fix for quest 24960 "The wakening"
By Malcrom
2017-07-23 17:49:14 +02:00
Aokromes
655a0b53d5 Rename 2017_99_99_18863_world.sql to 2017_07_22_00_world.sql 2017-07-22 09:23:02 +02:00
Rochet2
211b564894 Scripts/Commands: Fix trinity_string usage and enhance commands 2017-07-22 09:22:17 +02:00
joschiwald
ae070a1b64 Core/Spells: Implemented ConeAngle from DB2 2017-07-18 15:16:32 +02:00
vincent-michael
3a1f666e76 DB/Quests: Updated quest_template data for 7.2.5 part 10 2017-07-15 21:25:52 +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
vincent-michael
e5648c8d68 DB/Quests: Updated quest_template data for 7.2.5 part 9 2017-07-12 21:19:27 +02:00
vincent-michael
e90373eb00 DB/Quests: Updated quest_template data for 7.2.5 part 8 2017-07-10 21:52:14 +02:00
Aokromes
ea65d90231 DB/Creature: Spawn Muffinus Chromebrew and pet
By Malcrom
2017-07-10 05:32:42 +02:00
Aokromes
13f90c05bf adjust CreatureGroups to use cmangos flags (for already-supported values, no functionality changed)
cherry pick from 0d27fee6f4
2017-07-09 20:38:42 +02:00
vincent-michael
63d2b057b1 DB/Quests: Updated quest_template data for 7.2.5 part 7 2017-07-09 20:29:25 +02:00
Aokromes
d034c74334 DB/Creature: Fix impaled Blackrock Orc
By Malcrom
2017-07-09 19:42:12 +02:00
Aokromes
e12396cd20 DB/Misc: Misc Redridge fixes
By Malcrom
2017-07-09 18:42:17 +02:00
funjoker
48f941e80a Correct ingame display order of Objectives (#19986) 2017-07-09 17:58:11 +02:00
vincent-michael
fc8f0fbc2d DB/Quests: Updated quest_template data for 7.2.5 part 6 2017-07-08 20:31:51 +02:00
Shauren
0b5c545e57 Core/LFG: Drop comment field, it no longer exists in packets 2017-07-07 21:24:02 +02:00
vincent-michael
2ce163c739 DB/Quests: Updated quest_template data for 7.2.5 part 5 2017-07-06 21:14:50 +02:00
Aokromes
7e643eaa11 DB/Quest: Fix Fear no evil
By Malcrom
2017-07-05 23:06:41 +02:00
vincent-michael
d1b77e7561 DB/Quests: Updated quest_template data for 7.2.5 part 4 2017-07-05 20:47:47 +02:00
Aokromes
b7e20d520f Core/Script: Partial Redridge fixup
By Malcrom - Reviewed by Treeston and Keader
2017-07-04 17:57:11 +02:00
vincent-michael
a28a366e96 DB/Hotfixes: Updated tact key for 7.2.5 2017-07-04 00:09:25 +02:00
vincent-michael
6d50b43880 DB/Quests: Updated quest_template data for 7.2.5 part 3 2017-07-03 19:17:42 +02:00
vincent-michael
bdb0fae78c DB/Quests: Updated quest_template data for 7.2.5 part 2 2017-07-03 10:38:44 +02:00
vincent-michael
00c2711b02 DB/Quests: Updated quest_template data for 7.2.5 part 1 2017-07-02 22:30:38 +02:00
Aokromes
ce14a6ea89 DB/Misc: Fix start spell for shaman
By Malcrom
2017-07-02 17:44:58 +02:00
Shauren
71a4021f4d Core/Quests: Fixed selecting quest package rewards
* Also revert 7e9a041470
2017-07-02 16:30:02 +02:00
vincent-michael
4e6ca8c21b DB/Quests: Updated quest_poi / quest_poi_points data for 7.2.5 2017-07-02 16:15:18 +02:00
vincent-michael
d737bf7d93 DB/Hotfixes: Updated broadcast_text data from 7.2.5 2017-07-02 00:17:03 +02:00
vincent-michael
77d20127cf DB/Creatures: Updated creature_template wdb data from 7.2.5 2017-07-01 00:02:53 +02:00
vincent-michael
b84d4516c3 Core: Updated allowed build to 7.2.5.24461 2017-06-30 16:20:57 +02:00
Killyana
346e498707 DB/Quest: Fix Valley of Trials Quest chaining
Closes #19944
By Taaboy
2017-06-28 19:30:13 +02:00
vincent-michael
917500c2d5 Core: Updated allowed build to 7.2.5.24430 2017-06-28 19:13:01 +02:00
Killyana
17a2ae64b6 DB: Restore deleted spawn and fix some phases 2017-06-28 19:00:22 +02:00
Killyana
cdda3e4c71 DB/Misc: Valley of Trials
Closes #15921
By MeliodasLIVE
2017-06-27 14:14:57 +02:00
Aokromes
0d4c19b33e Rename file 2017-06-25 18:06:15 +02:00
Rushor
ee253e0533 Core/Creature: Implement Mangos GroupAI flags (allows formation without following) (#18733) 2017-06-25 18:05:26 +02:00
vincent-michael
ff46a8fe62 Core: Updated allowed build to 7.2.5.24415 2017-06-25 00:56:58 +02:00