Commit Graph

11949 Commits

Author SHA1 Message Date
ariel-
0f649d51e9 Core/Scripts: fix a failed assertion crash in Master's Call script
Closes #18316
Closes #18318
2016-11-29 03:45:05 -03:00
Aokromes
b049caf62f typo fix
by ccrs
2016-11-28 01:30:34 +01:00
ccrs
2d1ef6b5b0 Core/Pets: Pet Attack Distance 2016-11-28 01:22:46 +01:00
Keader
cd687fb36d Core/Scripts: Partial Revert in 87977b00d3 misunderstand concept. (#18334)
Sorry for the mess
2016-11-28 00:25:34 +01:00
Keader
87977b00d3 Core/Scripts: Black Temple misc codestyle and unit state casting check (#18333) 2016-11-28 00:02:45 +01:00
Keader
e7024f8a4c Core/AI: Added new method for search friendly targets with certain entry and hp pct below a value (#18310) 2016-11-27 23:28:06 +01:00
Aokromes
46ee3881e6 Core/DungeonFinder: disable map only for LFG (#17784)
Core/DungeonFinder: disable map only from looking for dungeon
2016-11-26 02:50:17 +01:00
Keader
109174146c Core/Scripts: Teron Gorefiend encounter rewrite (#18263)
Core/Scripts: Rewrite Teron Gorefiend Encounter
2016-11-26 02:41:15 +01:00
Keader
bced796414 Core/Scripts: Minor Fixes in Black Temple (#18293)
Core/Scripts: Minor Fixes in Black Temple
2016-11-26 02:34:01 +01:00
Keader
eb41194dbb Core/Scripts: Gurtogg Bloodboil Rewrite (#18279)
Core/Scripts: Gurtogg Bloodboil Rewrite
2016-11-26 02:31:17 +01:00
Keader
51507efd01 Core/Scripts: Fixed Supremus encounter (#18234)
Core/Scripts: Fixed Supremus encounter
2016-11-26 01:42:56 +01:00
Keader
571b3b6a76 Core/Scripts: Improved High Warlord Naj'entus fight - Black Temple (#18229)
Core/Scripts: Improved High Warlord Naj'entus fight
2016-11-26 01:42:04 +01:00
Andrew Blakely
60ac53ff07 Core/Scripts: Fixed Vaelastrasz bomb mechanic (#18260)
* Core/Scripts: Fixed Vaelastrasz bomb mechanic

Vaelstraz was suppose to bomb raid members that are mana users every 15
seconds. He was not doing that with the current implementation.

This implementation allows him to bomb the raid and to select the proper
targets. This is also done in a cleaner way.

* Added AuraScript for SPELL_BURNINGADRENALINE

Needed to define an AuraScript for custom behavior that would denatonate
the damaging aura when the debuff falls off.

SpellId - 18173

* Added SQL for Burning Adrenaline Script Ref

* Fixed Multiple Application of BA

* Add unit null check in lambda

* Remove DB name from sql query

* Added Newline in SQL update file.

* Added SQL delete query for potential existing spell

* Fix SQL newline again.

* As suggested a simpler SpellCast overload works

I don't know if there are any consequences but it seems to function fine
in in-game.

I'd like more information on the overload that involves an AuraEffect.

* Remove duplicate Unit null check in lambda

* Update boss_vaelastrasz.cpp
2016-11-25 11:54:38 -02:00
Riztazz
28050f338d [3.3.5][master] Core/Movement: Smooth movement #13467 (#18020)
Implement smooth movement for all waypoint pathing and escortai
2016-11-24 23:31:10 +00:00
Shauren
90a5811701 Core/Spells: Fixed logic related to movement while channeling
Closes #18289
2016-11-24 20:22:47 +01:00
Keader
ab4ec5bd01 Core/Scripts: Added Boundary in Forge of Souls (#18226)
Core/Scripts: Added Boundary in Forge of Souls
2016-11-23 15:45:21 +01:00
Aokromes
8a864fc085 Merge pull request #18094 from Staleness89/3.3.5
Script/Quest: Rivenwood Captives
2016-11-23 02:31:48 +01:00
Aokromes
fe68b2e998 Merge pull request #18053 from ccrs/motion
Core/MotionMaster: cleanup, reordering and renaming
2016-11-23 02:28:40 +01:00
Aokromes
24105ec158 Merge pull request #17983 from Ghost-R/3.3.5-wgbuff
Core/Battlefield: Wintergrasp 'Tenacity' buff
2016-11-23 02:25:42 +01:00
Killyana
3cc89c32d5 Creature/script: Add area restriction for Freed Proto Drake
Closes #11754
Thanks to ariel-
2016-11-20 20:01:54 +01:00
ariel-
7ce1cb295d Core/Unit: add impurity attack power bonus to healing too (for Death Coil for example) 2016-11-20 04:13:53 -03:00
ariel-
858d45885b Core/Player: fix regression with EquippedItemClass requiring spells 2016-11-20 03:48:36 -03:00
ariel-
61a4e08e1e Revert "Core/Spell: add EquipedItemClass/EquippedItemSubClass check to passive spell casts"
This reverts commit f188ff1ce4.

Was breaking Titan's Grip.
Spells are loaded before items, and they CAST the spell on the player.
When items are then loaded, Player::ApplyItemDependentAuras only has AddAura on it. Titan's Grip is an effect, no auras involved.

In turn reverting this commit will now allow Two-handed weapon specialization and similar from spells load. Which is the lesser of two evils.
2016-11-20 03:34:20 -03:00
ariel-
ce0680200b Core/Player: fix build pt. 2 2016-11-20 03:19:46 -03:00
ariel-
2e820004a0 Core/Player: fix build 2016-11-20 03:04:47 -03:00
ariel-
f188ff1ce4 Core/Spell: add EquipedItemClass/EquippedItemSubClass check to passive spell casts
- Was adding auras on login that didn't satisfy requirements (like Two-Handed Weapon Specialization)
2016-11-20 02:39:14 -03:00
Shauren
6dc37a9add Core/Auras: Rewritten conditionally applying SPELL_AURA_MOD_WEAPON_CRIT_PERCENT, SPELL_AURA_MOD_DAMAGE_DONE and SPELL_AURA_MOD_DAMAGE_PERCENT_DONE auras
* Now the entire aura is removed when changing equipment
* All aura types can now depend on equipped items

(cherry picked from commit b9f7b500a3)
2016-11-20 01:46:47 -03:00
Shauren
5237eda340 Core/Spells: Updated spell required items check, EquippedItemInventoryTypeMask should only be used for enchantments
(cherry picked from commit 28fd8a424d)
2016-11-19 23:41:38 -03:00
ariel-
25281ecb31 Core/Guild: avoid data integrity problems wrapping delete+insert statements in a transaction 2016-11-19 23:28:52 -03:00
ariel-
d2bf7237a3 Core/Guild: fix indentation and codestyle 2016-11-19 21:13:05 -03:00
ariel-
c5d1b46569 Core/Unit: do not allow judgement spells to bypass damage immunity
3f19eea5e4 follow-up. Without the #16658 regression
2016-11-19 20:17:17 -03:00
ariel-
9b00fd8d7b Core/Scripts: fixed Imp. Leader of the Pack
Closes #12830
2016-11-19 19:56:46 -03:00
ariel-
16c14593dc Core/Player: recheck shapeshift bonus auras when switching spec.
- Fixes Leader of the Pack stuck when switching specs while shapeshifted
2016-11-19 18:39:29 -03:00
ariel-
f30778c998 Core/Scripts: Seal of Corruption/Vengeance shouldn't reset periodic timer on reapply 2016-11-19 15:46:55 -03:00
ariel-
ef227d7e64 Core/Entities: fix interaction of traps with ffa pvp and sanctuary flags
- Traps should select ATTACKABLE not UNFRIENDLY targets (it shouldn't attack unfriendly targets on sanctuary zones for example)
- Made more readable the nasty oneliner in Unit::_IsValidAttackTarget

Closes #6464
Closes #18271
2016-11-19 15:43:22 -03:00
ariel-
5db308b686 Core/Entities: better support of absorb, resist and block procs
2e457b3be4 followup

Closes #18275
2016-11-19 13:56:19 -03:00
ariel-
5b56c94e6d Core/Spell: restore old proc system behaviour on auras self proc.
- Use Spell::m_triggeredByAuraSpell and compare against trigger aura, it requires scripts to set triggeredByAura parameter.
- Fixed existing scripts lacking it

DB/Spell: Anger Capacitor (Tiny Abomination in a Jar) proc

Closes #18269
2016-11-19 03:05:44 -03:00
ariel-
503259e6fe Core/Spell: register items received through SPELL_EFFECT_SUMMON_CHANGE_ITEM for quest credit
- Also sends proper SMSG_ITEM_PUSH_RESULT packet

Closes #3505
2016-11-18 03:42:01 -03:00
ariel-
2c8a6fb771 Core/Spell: Fixed Drain Soul incorrectly downscaling ranks when targetting lower level enemies 2016-11-18 03:11:35 -03:00
ariel-
e7ccd8ea3f Core/Spell: Added the possibility to explicitly disable auraEffect procs using attributes
- Renamed IsProcTriggeredOnEvent to GetProcEffectMask, since long ago this function returned bool, new name should better reflect its use
2016-11-18 02:15:45 -03:00
ariel-
3f19eea5e4 Core/Spell: spells with ignore hit result should pierce damage immunities 2016-11-16 23:04:19 -03:00
ariel-
400a69bf9e Core/Gameobject: fixed sometimes not found linked trap
Closes #18256
2016-11-16 04:59:43 -03:00
ariel-
56beec8aaf Core/Spell: Fixed irregular handling of SPELLMOD_DOT
- Applied twice for some dots
- Missing for Health Leech Periodic
- Missing in a few scripts

Closes #17463
2016-11-16 04:06:32 -03:00
ariel-
b6a8045adc Core/Unit: fix some SPELL_AURA_MOD_DAMAGE_PERCENT_DONE effects being applied more than once
No more overpowered dps for you

Closes #16755
2016-11-16 02:26:18 -03:00
ariel-
f3bdd705c0 Core/Unit: fix build
Ctrl-S failure
2016-11-15 22:50:28 -03:00
ariel-
ca1c4525c7 Core/Unit: damage immune improvements (9f5df023b7 follow up)
- Handling checked in sniffs: Spell 63710 Void Barrier vs 49143 Frost Strike
  * Send spell miss immune only if spell consists of damage effects
- Checked with 348 Immolate:
  * No packets sent if damage immune, aura is applied normally

Also... who the fuck uses 0 to compare against pointers
2016-11-15 22:39:15 -03:00
ariel-
64304d8b2b Core/Spell: fix a potential null dereference crash 2016-11-15 12:02:31 -03:00
ariel-
9f5df023b7 Core/Unit: don't use damage immunity to calculate hit result for the whole spell. Should be used only for damage 2016-11-14 20:40:17 -03:00
ariel-
425f6c3c34 Core/Spell: perform charmer check against player controlling unit. Fixes spellcasts while charmed 2016-11-14 15:22:41 -03:00
ariel-
1ad9c7d3fd Core/Spell: fix typo
Closes #18248
2016-11-14 13:59:32 -03:00