Commit Graph

21959 Commits

Author SHA1 Message Date
Keader
ed99854fe1 Core/Scripts: Teron Gorefiend encounter rewrite (#18263)
Core/Scripts: Rewrite Teron Gorefiend Encounter
2016-11-27 17:06:58 +01:00
Keader
34e311fdfa Core/Scripts: Minor Fixes in Black Temple (#18293)
Core/Scripts: Minor Fixes in Black Temple
2016-11-27 17:06:49 +01:00
Keader
e86c4f9a6c Core/Scripts: Gurtogg Bloodboil Rewrite (#18279)
Core/Scripts: Gurtogg Bloodboil Rewrite
2016-11-27 17:06:17 +01:00
Keader
73512f16d4 Core/Scripts: Fixed Supremus encounter (#18234)
Core/Scripts: Fixed Supremus encounter
2016-11-27 17:05:51 +01:00
Keader
0976ec541b Core/Scripts: Improved High Warlord Naj'entus fight - Black Temple (#18229)
Core/Scripts: Improved High Warlord Naj'entus fight
2016-11-27 17:05:26 +01:00
Andrew Blakely
70a2ae105d 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-27 17:04:56 +01:00
Aokromes
f6160d4d0b Core/Movement: Smooth movement
Implement smooth movement for all waypoint pathing and escortai
2016-11-27 16:59:31 +01:00
Aokromes
0737ea9b6e Core/Spells: Fixed logic related to movement while channeling 2016-11-27 15:47:21 +01:00
Keader
16d6690d01 Core/Scripts: Added Boundary in Forge of Souls (#18226)
Core/Scripts: Added Boundary in Forge of Souls
2016-11-27 15:41:44 +01:00
Aokromes
550af234f0 Script/Quest: Rivenwood Captives 2016-11-27 15:40:33 +01:00
Aokromes
296bd71c79 build fix 2016-11-27 05:34:51 +01:00
Aokromes
7904cf0191 typo fix 2016-11-27 05:18:54 +01:00
Aokromes
eb424215fe more build fix try 2016-11-27 05:10:27 +01:00
Aokromes
e07b020fd8 more build fix try 2016-11-27 05:08:09 +01:00
Aokromes
cdf17ac5e5 another build fix try 2016-11-27 05:04:00 +01:00
Aokromes
1160efe59e fix build try 2016-11-27 04:58:07 +01:00
Aokromes
12068f4cc1 typo fix 2016-11-27 04:50:47 +01:00
Aokromes
b4f82f183e Missing part 2016-11-27 04:44:33 +01:00
Aokromes
d8d165241d Core/MotionMaster: cleanup, reordering and renaming 2016-11-27 03:56:15 +01:00
Aokromes
cadaba4082 Core/Battlefield: Wintergrasp 'Tenacity' buff 2016-11-27 03:26:00 +01:00
Killyana
4bf2a6d008 Creature/script: Add area restriction for Freed Proto Drake
Closes #11754
Thanks to ariel-
2016-11-27 03:21:33 +01:00
Aokromes
be8cb29c93 Core/Unit: add impurity attack power bonus to healing too (for Death …
…Coil for example)
2016-11-27 03:21:03 +01:00
Aokromes
90dc4159b2 Core/Player: fix regression with EquippedItemClass requiring spells 2016-11-27 03:15:05 +01:00
Aokromes
f2fdbd81d6 fix build 2016-11-27 03:12:08 +01:00
ariel-
009adc4324 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-27 03:11:27 +01:00
ariel-
6283cce52f Core/Player: fix build 2016-11-27 03:10:07 +01:00
ariel-
f348c015c0 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-27 03:09:47 +01:00
Aokromes
c0ba6c2dfe Core/Auras: Rewritten conditionally applying SPELL_AURA_MOD_WEAPON_CR…
…IT_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
2016-11-27 03:09:29 +01:00
Aokromes
0ca62b97e0 Core/Spells: Updated spell required items check, EquippedItemInventor…
…yTypeMask should only be used for enchantments
2016-11-27 02:45:32 +01:00
Aokromes
b2c17b4881 Core/Guild: avoid data integrity problems wrapping delete+insert statements in a transaction 2016-11-27 02:41:25 +01:00
Aokromes
ba8791ddcd Core/Player: recheck shapeshift bonus auras when switching spec.
- Fixes Leader of the Pack stuck when switching specs while shapeshifted
2016-11-27 01:53:19 +01:00
ariel-
bc25bbcd42 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-27 01:42:18 +01:00
ariel-
331a88ef8f Core/Spell: Fixed Drain Soul incorrectly downscaling ranks when targetting lower level enemies 2016-11-27 01:41:58 +01:00
ariel-
b1b31fd685 Core/Gameobject: fixed sometimes not found linked trap
Closes #18256
2016-11-27 01:39:22 +01:00
Aokromes
6c76eff031 Core/Unit: fix some SPELL_AURA_MOD_DAMAGE_PERCENT_DONE effects being …
…applied more than once

No more overpowered dps for you
2016-11-27 01:36:22 +01:00
ariel-
227dc4d907 Core/Unit: fix build
Ctrl-S failure
2016-11-27 01:24:19 +01:00
ariel-
de4aec3204 Core/Spell: fix a potential null dereference crash 2016-11-27 01:09:37 +01:00
Krudor
64763f86de Core/Creatures: Enable swimming creatures to chase targets in 3d (#18298)
Closes #11060
2016-11-23 11:18:06 +01:00
ariel-
2f1910476e Core/Spell: fix warning 2016-11-19 07:40:32 +01:00
Aokromes
abea2d8d3f Core/Misc: Missing part 2016-11-19 07:27:22 +01:00
Aokromes
66b91e07fa Core/Misc: Compile fix try 2016-11-19 07:19:38 +01:00
Aokromes
d9e8c7a285 Core/Spell: Missing change, partialy revert change 2016-11-19 06:59:05 +01:00
Aokromes
dbd4fc3eca Core/Spell: Compile fix try 2016-11-19 06:35:33 +01:00
Aokromes
b1d4f802ef Core/Spell: move attribute helpers to spellInfo
- Renamed CheckEffectExecuteData to AssertEffectExecuteData and made const, better reflects its purpose
- Added missing attribute check to IsNextMeleeSwingSpell
- Reworked SPELL_ATTR4_CAST_ONLY_IN_OUTLAND attr check (researched behavior)
2016-11-19 06:23:06 +01:00
Aokromes
e4dd97765e Core/Spell: revamp of immunities system
- Spell attributes research
- Container optimization
- Do not skip damage immunity checks on SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY present
- Added additonal arguments support to SendCastResult / CheckCast, spells can now send proper error messages
- Loads spell immune masks/states/effects at startup.
- This cached info is used whenever a spell cast requires immunities to be known beforehand (to see if an aura could be applied for example)
2016-11-19 06:10:14 +01:00
ariel-
b6f8ecbefc Core/GameObject: use a friendly trigger for positive spells.
Fixes an issue with Skadi Harpoons.

Note to self: should actually implement GameObject casting already :/
2016-11-15 05:48:22 +01:00
ariel-
ad927acae4 Core/Spell: do not fail triggered Charge effects in case a root is present.
Fixes Master's call when pet is rooted
2016-11-15 05:47:59 +01:00
ariel-
66fb271921 Core/Spell: use SpellEntry to select implicit targets in case RadiusEntry wasn't set for the current effect.
Closes #15388
2016-11-15 05:46:42 +01:00
ariel-
1fcb8e0b4e Core/Unit: consider creatures with same faction to be on the same party/raid for the purposes of spell/aura targets
Ref #18233
2016-11-15 05:46:05 +01:00
ariel-
760bef2453 Core/SpellScript: allow optional parameters to be passed to FinishCast
followup of 50a3ce5703
2016-11-15 05:45:56 +01:00