Commit Graph

14055 Commits

Author SHA1 Message Date
Shauren
1d45b2c384 Core/Items: Fixed transmog not saving item to db 2016-04-08 16:47:56 +02:00
Shauren
f4029faece Core/Spells: Implemented spell effect 243 - SPELL_EFFECT_APPLY_ENCHANT_ILLUSION (and fixed enchant visuals, for real this time) 2016-04-07 21:36:36 +02:00
MitchesD
8b1428cca6 Core/BattlePets: updated enums to 6.2.4 2016-04-07 16:16:26 +02:00
Shauren
08c27d3205 Core/Misc: MSVC /W4 warning fixes 2016-04-06 18:40:41 +02:00
Shauren
4a3a178d7f Buildsystem: Initial changes to support building with vs clang toolset 2016-04-05 22:43:41 +02:00
Kittnz
b33afb6958 Pet/Misc: Improve Egbert's AI even more
(cherry picked from commit af5f4ae85b)
2016-04-05 22:15:54 +02:00
Kittnz
a6a8b5b3d4 Pet/Misc: Improve Egbert's AI
(cherry picked from commit 2322ef3f50)
2016-04-05 22:15:06 +02:00
treeston
0654b3b816 Check to make sure we aren't dispelling a buff for _all_ dispel types, not just magic. Closes #15321.
(cherry picked from commit 98860911e2)
2016-04-05 22:14:45 +02:00
treeston
60b98ecc27 Revert "Merge pull request #16483 from Treeston/3.3.5-debuffimmunity" to fix #16589 while I investigate the retail behavior of SPELL_ATTR_0_UNAFFECTED_BY_INVULERABILITY further.
This reverts commit d67e87733b, reversing
changes made to cfed2d7a3d.

(cherry picked from commit 26bbba4b8d)
2016-04-05 22:12:11 +02:00
Keader
f63db31c42 Fix multiple summon of Omen (Lunar Festival)
(cherry picked from commit 8130de1b9a)
2016-04-05 22:11:33 +02:00
treeston
845f81daa5 Core/AI: Fully move react state check from CreatureUnitRelocationWorker to CreatureAI::MoveInLineOfSight. This means that AI for passive/defensive creatures can now once again use MoveInLineOfSight (and fixes that weird thing where triggers decided it would be funny to attack players).
(cherry picked from commit 8e6fb3b1c5)
2016-04-05 21:51:17 +02:00
joschiwald
d729fc31c6 Core/Spells: spells with SPELL_ATTR1_NO_THREAT also causes no initial aggro
(cherry picked from commit b4b43d03b3)
2016-04-05 20:55:08 +02:00
Shauren
4e67383621 Merge branch '3.3.5-instanceextend' into 3.3.5 (PR #16392)
(cherry picked from commit 62aff401f6)
2016-04-05 20:35:59 +02:00
Treeston
ac034a51da Merge pull request #16483 from Treeston/3.3.5-debuffimmunity
[3.3.5] Make Web Wrap / Mutating Injection (and others) properly cancel on immunity (Divine Shield/Ice Block)
(cherry picked from commit d67e87733b)
2016-04-05 19:56:26 +02:00
treeston
73b917e122 Merge remote-tracking branch 'Eliminationzx/FixJumpDestOrientation' into 3.3.5 (PR #16450) with some minor CS adjustments
(cherry picked from commit cfed2d7a3d)
2016-04-05 19:02:11 +02:00
treeston
53722a81a2 AI/BossAI: Make creature never chase targets that are out of bounds
- Add missing const attribute on CheckBoundary arg.
- Prevent AI from attacking a target that is out of bounds. This prevents exploids such as killing Gluth/Deathbringer from out of bounds.

(cherry picked from commit 19ed18c881)
2016-04-05 18:37:20 +02:00
ccrs
7672ca1945 Core/Spells: Rogue Honor Among Thieves
(cherry picked from commit 983bbe4a4c)
2016-04-05 18:36:57 +02:00
treeston
92381950ee Merge remote-tracking branch 'sirikfoll/npcMyranda' into 3.3.5 (PR #16438)
(cherry picked from commit e5e97bedc0)
2016-04-05 18:08:34 +02:00
treeston
2bde6e2a10 Grids/Notifiers: Notify triggers of units moving within their LoS.
(cherry picked from commit e31743f682)
2016-04-05 18:03:20 +02:00
Treeston
7135a23d33 Merge pull request #16467 from Treeston/3.3.5-FixEvadeMode
[3.3.5] Creature/AI: Fix incorrect evade logic
(cherry picked from commit 8eabbb0427)
2016-04-05 18:02:46 +02:00
Shauren
3c41584bbb Core/Misc: Use correct field type for guids in prepared statements 2016-04-05 00:16:36 +02:00
Shauren
70412e7e25 Core/Misc: MSVC warning fixes 2016-04-05 00:15:56 +02:00
Shocker
e3acb2ecc7 Core/Mail: Fix integer size for Player::_SaveMail() fields 2016-04-04 11:56:52 +03:00
Shauren
2babb00143 Core/Bnet: Add return LoginREST.ExternalAddress when LoginREST.LocalAddress is configured to localhost but client connects from a different machine in the network 2016-04-04 10:01:07 +02:00
Rushor
1bf8e32b40 Merge pull request #16486 from Rushor/spiderman
[3.3.5][6.x]Scripts/Karazhan: Implement Optional Boss Spawn
(cherry picked from commit c8f34656ef)
2016-04-03 20:18:33 +01:00
Vincent-Michael
2a0582c3f2 Core/PacketIO: Updated SMSG_ACCOUNT_HEIRLOOM_UPDATE opcode 2016-04-03 17:12:57 +02:00
Rushor
41385ce633 DB/Quest: King of the Foulweald - Improve Questevent
* closes #2381

(cherry picked from commit 644b9dcd59)
2016-04-02 20:44:51 +02:00
Shauren
3e59899f56 Build fix 2016-04-02 20:06:54 +02:00
Vincent-Michael
e518655b0f Scripts: Fixed warning
(cherry picked from commit 96cb26de28)
2016-04-02 19:40:41 +02:00
Kittnz
b6b151fb1e Build fix
(cherry picked from commit add2179b75)
2016-04-02 19:40:30 +02:00
Kittnz
b535d1e9f3 Pet/Misc: Implement Pandaran Monk followup
(cherry picked from commit 5650b9deb2)
2016-04-02 19:40:15 +02:00
Kittnz
c4b6e08829 Pet/Misc: Implement Pandaran Monk's pet abilitys
(cherry picked from commit 64d1addbbf)
2016-04-02 19:39:23 +02:00
Rushor
c3a2cbc844 Scripts/Northrend: Knockbackimmunity Cleanup
(cherry picked from commit c560cb0a0c)
2016-04-02 19:33:43 +02:00
Incorrect
f8d5031fca Core/Creature: Do not load equipment with id = 1 when creature.equipment_id is 0
Closes #16416

(cherry picked from commit cc3ae640a4)
2016-04-02 19:32:03 +02:00
sirikfoll
7031090dc3 Fix Achievement Defense of the Ancients
The spell that trigger the achievement check, needs to be cast before setting up the variables used for the second round, otherwise the achievement will be granted to the wrong team.
Also, SPELL_END_OF_ROUND needs to be casted on the end of the second round too, this was confirmed in retail.

(cherry picked from commit 5cf794b379)
2016-04-02 19:30:57 +02:00
treeston
ca1239af9f Code style, urand -> urandms.
(cherry picked from commit e064000a35)
2016-04-02 19:26:59 +02:00
Kittnz
422c8a97f6 Fix build & tabs
(cherry picked from commit 57a5879070)
2016-04-02 19:26:46 +02:00
Kittnz
a8504c6730 Pet/Misc: Implement Egbert's running around
Closes #16479

(cherry picked from commit 859b617613)
2016-04-02 19:26:35 +02:00
Vincent-Michael
33593ce0d5 Scripts: Added missing override
(cherry picked from commit d1a185e3d5)
2016-04-02 19:25:43 +02:00
Rushor
92a80979dd Game/Creature: Implement CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK
* updates #16423

(cherry picked from commit 110e0fd092)
2016-04-02 19:24:13 +02:00
Shauren
e6e3e799d0 Build fixes 2016-04-02 19:22:30 +02:00
treeston
9873800207 Item/Misc: Implement Toy Train Set and Wind-Up Train Wrecker.
(cherry picked from commit 8c7cd03d08)
2016-04-02 19:20:17 +02:00
sirikfoll
a962db8b3c Core/Scripts Script npc needed for Quest Torch Tossing part2
Script for Npc Torch Tossing Target_Bunny_Controller, responsable for handle the targets rotation for Midsummer Fire Festival quest, Torch Tossing.

(cherry picked from commit 8b74038531)
2016-04-02 18:32:38 +02:00
pete318
2fe84d7471 Prevent duplicate spawns for same spawn ID
If there is an alive instance of the creature upon creature spawn, skip
spawn entirely. If there are only dead instances, despawn them. A new dead
corpse in the creatures home position will be respawned.

Closes: #16462
(cherry picked from commit fe2a0fda44)
2016-04-02 17:51:03 +02:00
Keader
0a8bab885a Fix cooldown check talent Rapture (Priest)
(cherry picked from commit 7093c0c769)
2016-04-02 17:50:17 +02:00
treeston
02c9a66b88 fix crash
(cherry picked from commit bf31f26e8c)
2016-04-02 17:49:38 +02:00
Trisjdc
a51ec98044 Core/Creatures: Reset unit flags/dynamic flags on Creature::SetDeathState(JUST_RESPAWNED)
(cherry picked from commit 132be2d25a)
2016-04-02 17:49:20 +02:00
tkrokli
0466de43cc Core/Scripts/DB: remove hardcoded text from 'npc_disciple_of_naralex'
- moved 2 #define text lines to enum, already in npc_text
- new gossip_menu_option for NPC 3678 Disciple of Naralex
- using `ADD_GOSSIP_ITEM_DB` instead of `ADD_GOSSIP_ITEM`

Tested on both alliance and horde characters, works just like before.

(cherry picked from commit bc03fedf6d)
2016-04-02 17:36:48 +02:00
treeston
870a76ad10 DB/Creature: Add a new extra_flag CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ (0x00200000) that awards players credit for killing the creature even if less than 50% of damage was dealt by players.
This can be used to fix quests such as "Heated Battle" or "If Valgarde Falls..." that are currently very hard to complete at the appropriate level due to "friendly" NPCs killing off the required targets too quickly for players to get 50% of damage in.

(cherry picked from commit d240ccb38c)
2016-04-02 17:33:31 +02:00
tkrokli
97b70abe54 Core/Scripts/Uldaman: change hardcoded text to enum
Change #define to enum {with brackets}

Possibly the smallest change so far in this series of core script changes.

(cherry picked from commit 627ec0e35e)
2016-04-02 16:47:35 +02:00