Commit Graph

29138 Commits

Author SHA1 Message Date
ariel-
fa3eb754cb Core/Unit: fixed Lava Burst crit when Flame Shock is present on target
Closes #21268
2018-01-20 00:15:48 -03:00
Keader
96983fc6bb Scripts/Utgarde Keep: Fixed Ingvar evade in phase 2 (again)
Closes #21264
2018-01-19 20:56:27 -02:00
ariel-
f1896144c0 Core/Auras: fixed EquippedItemClass check
follow-up to 29c3b7d8f6
2018-01-18 19:14:38 -03:00
ariel-
4fca3bfc04 DB/Spell: Magma Totem shouldn't generate threat
By Jildor, closes #21178
2018-01-18 18:34:37 -03:00
ariel-
7167edf27c Core/Scripts: fix Roar of Sacrifice 2018-01-18 18:13:38 -03:00
ariel-
b8c281f497 Core/Auras: Don't remove shield only dependant auras on disarm
Closes #19782
2018-01-18 16:29:21 -03:00
ariel-
29c3b7d8f6 Core/Auras: define and implement attribute SPELL_ATTR3_IGNORE_PROC_SUBCLASS_MASK
Closes #20148
2018-01-18 16:08:24 -03:00
ariel-
0db5c2df3f Core/Scripts: added nullptr checks to DamageTaken hooks
Since cb9e72e521 attacker may not be in world when hook is called
2018-01-18 13:58:40 -03:00
Treeston
d9d26200f7 Scripts/AzjolNerub: Missing nullptr check in Hadronox. Closes #21258. 2018-01-18 16:47:31 +01:00
Treeston
666bc16325 DB/Quest: Allow starting Amphitheater of Anguish (12932) without having completed The Champion's Call (12974) 2018-01-18 16:29:50 +01:00
Treeston
0319c713a4 DB/SpawnGroup: instance_spawn_group data for map 576 (The Nexus) 2018-01-18 16:06:08 +01:00
ariel-
b75ff7d4bf Core/Globals: revert back to unordered_map for templates
Partial revert of commit b64c504314
See discussion on b64c504314
2018-01-18 01:07:29 -03:00
Moein
e519e14df8 Scripts/Spells: quest "That's Abominable" (#21253)
- scripted spell "Burst At The Seams" (59576)
- added Pet Bar

Closes #10876
2018-01-17 23:55:05 +01:00
sirikfoll
e12e0ad582 Core/CombatAI: Npcs with TurretAI will be able to attack again
Needed after the new Threat system
2018-01-17 19:01:09 -02:00
sirikfoll
ed9e220991 Core/Player: Pass correct Zone ID to HandlePlayerLeaveZone
This will fix some issues with Wintergrasp, like phasing auras getting stuck and missing group invites for the battle, among others
2018-01-17 18:59:20 -02:00
ariel-
fb8885fabc Core/Scripts: fix warning 2018-01-17 13:07:44 -03:00
ariel-
ab3307fc23 Core/Scripts: fix some spells double dipping from done/taken bonuses
Closes #21007
2018-01-17 13:01:18 -03:00
ariel-
b64c504314 Core/Globals: throw some RAII into ObjectMgr, and load templates into vectors
Ref #14274
2018-01-17 02:17:49 -03:00
sirikfoll
72ff2e30c3 Scripts/Scarlet Enclave: Quest The Endless Hunger will work correctly after Unworthy Initiate Respawn
Due to dynamic spawns, we need to be able to update the Npc GUID after the respawn, otherwise the quest can only be completed by the first player
2018-01-17 00:12:41 -02:00
ariel-
ccf0807be0 Core/Unit: check remaining instead of full duration for Bounced by DR auras 2018-01-16 20:51:07 -03:00
Keader
0b09e9ee4e Scripts/Pit of Saron: Tyrannus followup
fix new issue caused by 947cb6a453
2018-01-16 20:38:38 -02:00
Keader
947cb6a453 Scripts/Pit of Saron: Fixed Tyrannus not working after evade 2018-01-16 18:32:17 -02:00
Moein
891bca934e Core/SAI: Extended SMART_TARGET_VEHICLE_PASSENGER to allow specifying seat mask instead of single seat index (can now target all passengers) (#21245) 2018-01-16 21:28:41 +01:00
ariel-
3d7166c1c7 Core/Creatures: creatures only have one damage
Closes #21236
2018-01-16 14:44:04 -03:00
Aokromes
d4e64950a1 Rename 2018_01_15_00_world.sql.sql to 2018_01_15_00_world.sql 2018-01-16 07:38:54 +01:00
Keader
a41cd41695 Scripts/Trial Of The Crusader: Lord Jaraxxus rework (#21216) 2018-01-15 19:47:15 -03:00
Treeston
1847555c8c Core/Threat: Fix a potential crash that would occur in specific edge cases of AI being a bit naughty. 2018-01-15 15:42:41 +01:00
ariel-
50a84f0b2b Core/Scripts: fix static analysis issue
CID 1384439
2018-01-14 17:28:10 -03:00
ariel-
5153f464d8 Core/Auras: fix static analysis issues
CID 1384433
CID 1384436
2018-01-14 17:23:48 -03:00
ariel-
01537e1dfb Core/Unit: fix mess-up with CalcArmorReducedDamage parameter order 2018-01-14 17:19:26 -03:00
ariel-
46fcbb42d2 Core/Unit: fix typo 2018-01-14 09:30:42 -03:00
ariel-
f1986c6aaf Core/Entities: implement secondary damage for some weapons and removal of old voodoo
- Fixed correct Retaliation damage spell according to sniffs is 20240
- CalcArmorReducedDamage insisted on dealing a minimum of 1 damage even if damage was 0
- CalculateDamage was zero-phobic too: it defaulted to arbitrary max 5 damage

Closes #19081
2018-01-14 09:23:34 -03:00
Aokromes
24cf532557 Rename 2018_01_12_03.sql to 2018_01_12_03_world.sql 2018-01-14 08:31:02 +01:00
ariel-
688e96fb4f Core/Unit: allow miss chance to exceed 60% cap with certain auras 2018-01-13 23:33:40 -03:00
ariel-
0e9b1635e0 Core/Unit: fix Sanctified Wrath (again)
- Actually only rank 1 was affected because of 50% reduction on rank 2
2018-01-13 21:59:20 -03:00
ariel-
22b24d8dae Core/Unit: fixed crash
Closes #21231
2018-01-13 21:36:06 -03:00
ariel-
d570e2af3e Core/Unit: simplified and arranged spell bonus calculation
- Remove duplicated SPELLMOD_BONUS_MULTIPLIER handling (both on done and taken)
- Handle properly bonus data, don't apply bonus by default, only player spells should take into account spell power
- Moved Earthliving Weapon coefficient to DB
- Refactored Avenging Wrath handling

Closes #13287
Closes #21230
2018-01-13 20:49:44 -03:00
ariel-
a305661785 Core/Scripts: fix Sanctified Wrath 2018-01-13 20:49:43 -03:00
ariel-
3b01cccd7e Core/Spell: SpellValueOverrides encapsulation
- No sense to let scripts use SpellValueOverrides, we already have modifiers in CastSpellExtraArgs struct
2018-01-13 20:49:43 -03:00
ariel-
31a3a6f0c5 Core: fix non pch build, redux 2018-01-13 17:07:25 -03:00
Kittnz
46e1e35a88 fix non pch 2018-01-13 13:02:44 +01:00
Kittnz
a9c853ee3f Scripts/EasternKingdoms: implement Children of Goldshire event (#20745)
* Script: Implement Childeren of Goldshire

Notes: Need to update waypoints and default location of the childeren
http://wowwiki.wikia.com/wiki/Children_of_Goldshire
2018-01-13 12:22:36 +01:00
vincent-michael
5029a83962 Core: Fixed non pch build 2018-01-13 12:15:17 +01:00
ariel-
cb9e72e521 Core/Auras: removed caster dependency from core
- Decoupled Unit logic: split of spell critical chance into done (caster bonuses) and taken (target bonuses), this allows to precalculate caster bonuses on aura apply and then check victim's auras on damage/healing calc
- Made static a bunch of methods (they no longer have this pointer because they are now called from periodic handlers which may or may not have an active caster in world)
- Simplified all AuraEffect bonuses into AuraEffect::_amount, no more duplicated code
- Critical chance and whether or not caster is player owned unit (for resilience calcs) is now saved one level upper, on Aura itself (it's impossible as of 3.3.5 to have different effects with different critical chances)
- Minor cleanup of SPELL_DAMAGE_CLASS_NONE and Arcane Potency (#18813) crit handling

Closes #19876
2018-01-13 06:45:21 -03:00
jackpoz
1c60af6328 Core/SAI: Add a 5th parameter to SAI events 2018-01-12 20:17:53 +01:00
Kittnz
acc73d4693 Scripts/Outland: Implement Hellfire event in Honor Hold (#21110)
* Script/Outland: Implement Hellfire event in Honor Hold

This is hourly, event is only 60 seconds long.
2018-01-12 19:27:56 +01:00
Killyana
bb228f7dda DB: Fix Some errors from the previous commit 2018-01-12 19:20:57 +01:00
Serpaa
ee52d2f0f4 DB/Spawns: Deatholme overhaul
Closes #21222
2018-01-12 19:10:06 +01:00
ariel-
f50a333418 Core/Misc: kill whitespace 2018-01-12 00:07:29 -03:00
lachtanek
c50aefac96 Core/Pools: Fixed spawning in pools with both explicitly and equally chanced entries (#21170) 2018-01-11 12:22:56 +01:00