Commit graph

4036 commits

Author SHA1 Message Date
AbraKabastard
be9e80434f Core/Gossip: Fix warning
explicitly assigning value of variable of type 'int32' (aka 'int') to itself
2019-05-28 10:46:59 -03:00
AbraKabastard
3cd1ed19c7 Core/Spells: Fix crash in EffectTeleportUnits 2019-05-27 09:25:50 -03:00
AbraKabastard
265390af5a Scripts/Deadmines: Correctly update the death encounter for creatures to open doors. 2019-05-27 09:12:53 -03:00
AbraKabastard
e930e114f3 Core/Grids: Correctly address Brazier crash issue
based on work done by talamortis

Co-Authored-By: Lee <talamortis@users.noreply.github.com>
2019-05-27 08:53:43 -03:00
AbraKabastard
284289007c Core/CreatureGroups: Fix formation following 2019-05-24 10:55:58 -03:00
AbraKabastard
2816d03796 DB: Old Hillsbrad
Fixes #1647

Co-Authored-By: Lee <talamortis@users.noreply.github.com>
2019-05-24 10:54:59 -03:00
AbraKabastard
c32638932f Core/Objects: Visibility improvements
based on commit by kittnz @ tc
2019-05-24 07:06:54 -03:00
AbraKabastard
0b6a55b9c8 Core/Loot: Fix an exploit with CMSG_LOOT using non-creature guids whi… …ch would allow you to loot despawned chests in some cases.
Co-Authored-By: crypticaz <crypticaz@users.noreply.github.com>
2019-05-22 10:27:10 -03:00
AbraKabastard
3bae650e8b Core/Opcodes: Implement CMSG_GROUP_SWAP_SUB_GROUP
Closes #1635

Co-Authored-By: Crypticaz <crypticaz@users.noreply.github.com>
2019-05-22 10:12:35 -03:00
AbraKabastard
14a7882f64 Core/DB: Fixed CastBarCaption localization data loading from DB
Co-Authored-By: Crypticaz <crypticaz@users.noreply.github.com>
2019-05-22 10:08:04 -03:00
AbraKabastard
768674dc54 Core/Spell: SPELL_AURA_DUMMY can have legitimate affect masks as well
author: killerwife
2019-05-22 10:03:16 -03:00
AbraKabastard
80751cf57c Core/OutdoorPvP: Fixed crash in capture point update when players leave the point
Closes #902
2019-05-20 23:12:02 -03:00
AbraKabastard
809af26fa1 Core/Spells: Add same mana check for Periodic mana leech auras 2019-05-20 22:55:05 -03:00
AbraKabastard
f5e1078417 Core/Spells: Don't allow mana drain on targets without mana
closes #1438
2019-05-20 22:30:11 -03:00
AbraKabastard
da5d47d913 DB/Spells: Remove instant cast spell for Magma Totem.
Closes #1440
2019-05-20 22:10:27 -03:00
AbraKabastard
97d3ce7a5c Core/Spells: Fix stacking rules
Closes #1653
2019-05-20 12:51:12 -03:00
AbraKabastard
95023dc0a5 Core/Spells: Some spell work
Fix SPELL_AURA_MOD_FLIGHT_SPEED_MOUNTED.
Implement SPELL_ATTR_EX5_DOT_IGNORE_RESILIENCE.
Implement SPELL_ATTR_CANT_TARGET_SELF.
Implement SPELL_ATTR_EX6_CANT_TARGET_CROWD_CONTROLLED.
Add helper functions to Unit.cpp HasBreakableByDamageAuraType and HasBreakableByDamageCrowdControlAura. Required for future PetAI update.

Co-Authored-By: Lee <talamortis@users.noreply.github.com>
2019-05-17 15:26:14 -03:00
AbraKabastard
a87eadee86 Core/Players: Move setDeathState call
Updates #1625 but does not close it. This fix should be temporary only!
2019-05-17 14:01:22 -03:00
AbraKabastard
61cd445ca0 Core/AI: Correctly check casting state of unit when casting
Fixes issues with ScriptedAI using DoCastVictim and interupting themselves.

You could see the Phase Hunter NPCs in Netherstorm for an example.
2019-05-17 13:56:40 -03:00
AbraKabastard
effe8d7f84 Core/Units: Move Combat checks to Unit, allow for player pet handling
Co-Authored-By: Lee <talamortis@users.noreply.github.com>
2019-05-17 13:45:15 -03:00
AbraKabastard
227daf48ad Core: Cleanup 2019-05-17 12:01:15 -03:00
AbraKabastard
92090053f0 DB/AI: Correctly assign AI type to some creatures missing it
Changes a lot of mob behaviour in game. Please let us know any bugs. Fixes many startup errors.
2019-05-17 11:57:51 -03:00
AbraKabastard
7ef81093ee Scripts/Quests: Fires over Skettis
Fixes #1650
2019-05-17 10:24:55 -03:00
AbraKabastard
7d64ec5eda Core/Spells: fix mistake with previous commit 2019-05-16 22:10:46 -03:00
AbraKabastard
07b636f185 DB/GameObjects: Fix data for brazier in shattrath
closes #1630
2019-05-15 13:35:33 -03:00
AbraKabastard
a6cde8f3ca Core/Spells: Fix various issues related to fishing
-Correctly show escaped, instead of not hooked for timer expire.
-Double down on failed LOS checks in GetNearPoint
-Prevent handling spell effects potentially multiple times per spell
2019-05-15 11:59:38 -03:00
AbraKabastard
1b56eed9cf Core/Spells: Fix stacking for some generic spells
Closes #1616
2019-05-15 11:34:23 -03:00
AbraKabastard
f627698ba0 Core/Spells: Fix spell stacking rules
This allows curse and immolate to stack correctly

Co-Authored-By: Lee <talamortis@users.noreply.github.com>
2019-05-15 09:33:25 -03:00
AbraKabastard
47fa3708b5 Core/Movement: Don't set falling flag on root 2019-05-13 08:26:41 -03:00
AbraKabastard
d04c41a306 Revert "Core/Taxis: Clear taxipath on arrival"
This reverts commit b8f8363849.
2019-05-11 23:48:32 -03:00
AbraKabastard
24c59fd7a5 Merge branch 'miraco-cmangos' 2019-05-10 12:52:36 -03:00
AbraKabastard
57a413d13f Update 2019-05-10 12:46:18 -03:00
AbraKabastard
3fe73feda0 Core/Units: Let client determine hit emotes 2019-05-10 10:12:34 -03:00
AbraKabastard
67537c1d0b Core/Players: Releasing spirit should set deathstate to dead, not corpse 2019-05-10 10:11:45 -03:00
AbraKabastard
2b7f8aac59 Core/Units: Corpses can no longer gain hp
author: treeston
2019-05-10 00:56:59 -03:00
AbraKabastard
b8f8363849 Core/Taxis: Clear taxipath on arrival 2019-05-10 00:54:35 -03:00
AbraKabastard
37aa2f8fa1 Core/SAI: Fix the respawn event for GameObjects
author: killyana @ tc
2019-05-09 23:56:53 -03:00
AbraKabastard
bb248202ff Core/Maps: Show individual requirements before grouping requirements on ...
attempted entrance of instance
2019-05-09 23:54:48 -03:00
AbraKabastard
04de85997b Core/Item: Item Signature
author: polarcookie @ tc
2019-05-09 23:46:54 -03:00
AbraKabastard
0cebc5bbba Core/Commands: Fix .cheat god command letting you die
author: jackpoz @ tc
2019-05-09 23:08:16 -03:00
AbraKabastard
fe908c6a20 Core/Taxis: Don't show flight path icon for flight paths your faction can't learn
Use mount models for the guesswork as to whether you should have that FP or not. If there's no mount for your faction, you shouldn't have it!
2019-05-09 00:17:34 -03:00
AbraKabastard
bf9f5f6700 Core/Spells: Cancel casters spells when using rogue vanish
Closes #1481

Co-Authored-By: Lee <talamortis@users.noreply.github.com>
2019-05-08 23:19:28 -03:00
AbraKabastard
45aae2c7b2 Core/Spells: Use pathfinding for charge
Co-Authored-By: Lee <talamortis@users.noreply.github.com>
2019-05-08 23:17:07 -03:00
AbraKabastard
ef24f7f8b9 Core/Spells: Ensure target is alive in SPELL_EFFECT_CHARGE
Co-Authored-By: Lee <talamortis@users.noreply.github.com>
2019-05-08 23:16:46 -03:00
AbraKabastard
c3bfc38d4d Core/Spells: Seal of Vengence
Closes #1624

Co-Authored-By: Lee <talamortis@users.noreply.github.com>
2019-05-08 23:06:42 -03:00
AbraKabastard
36e36e1b1e Core/Spells: Add additional hostility/combat checks for Sweeping Strikes and Blade Flurry
Closes #1636

Co-Authored-By: Lee <talamortis@users.noreply.github.com>
2019-05-08 22:16:44 -03:00
AbraKabastard
2c85acaaf9 DB: Misc DB updates
Includes lots of pathing, emoting and replaces some EventAI with SmartAI.
2019-05-08 12:36:10 -03:00
AbraKabastard
e091e785c7 Core/Custom: Restore ability to show quest level in titles 2019-05-08 12:21:52 -03:00
AbraKabastard
3e7d65b20d [Quest] Transfer Seers Relic to SAI. Solves crash. 2019-05-08 12:12:31 -03:00
AbraKabastard
eebe5f2d34 [SQL/Scripts] Hellfire Peninsula SmartAI Update 2019-05-08 11:56:45 -03:00