Commit Graph
28009 Commits
Author SHA1 Message Date
Vincent-Michael e518655b0f Scripts: Fixed warning
(cherry picked from commit 96cb26de285ad301a31254afb5de0aab7cb0f30a)
2016-04-02 19:40:41 +02:00
Kittnz b6b151fb1e Build fix
(cherry picked from commit add2179b75fb9944cf62b7dba8f120f5c8971ec7)
2016-04-02 19:40:30 +02:00
Kittnz b535d1e9f3 Pet/Misc: Implement Pandaran Monk followup
(cherry picked from commit 5650b9deb22365deb920f6d3aa8ac1bfc4da4168)
2016-04-02 19:40:15 +02:00
Kittnz c4b6e08829 Pet/Misc: Implement Pandaran Monk's pet abilitys
(cherry picked from commit 64d1addbbff1c7531295556164f4bba09182b9dc)
2016-04-02 19:39:23 +02:00
Rushor c3a2cbc844 Scripts/Northrend: Knockbackimmunity Cleanup
(cherry picked from commit c560cb0a0c8caa9c4337b1269039764207383f5d)
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 cc3ae640a48417aae31eac8828842ab50099069b)
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 5cf794b3797c5c8b911e335fc29ae1e88de3ffea)
2016-04-02 19:30:57 +02:00
treeston ca1239af9f Code style, urand -> urandms.
(cherry picked from commit e064000a355005f596557c2ad10d5d189996f426)
2016-04-02 19:26:59 +02:00
Kittnz 422c8a97f6 Fix build & tabs
(cherry picked from commit 57a5879070092cb10b7b94c99045cd51e2fd743c)
2016-04-02 19:26:46 +02:00
Kittnz a8504c6730 Pet/Misc: Implement Egbert's running around
Closes #16479

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

(cherry picked from commit 110e0fd0925a8d7c5b0db684207a1f0208ac33a5)
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 8c7cd03d08b70ca97ae9a524410ad5c9c99cce3d)
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 8b74038531ffec2d809083fa73ad29ec693d7c1a)
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 fe2a0fda4464effeb2fb655da84a0460328b1aeb)
2016-04-02 17:51:03 +02:00
Keader 0a8bab885a Fix cooldown check talent Rapture (Priest)
(cherry picked from commit 7093c0c769b7ff60627eb87851d57dcab14a051b)
2016-04-02 17:50:17 +02:00
treeston 02c9a66b88 fix crash
(cherry picked from commit bf31f26e8c467536456f5ce896274c9c20766eaf)
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 132be2d25a3766c1ef2099fb65ef3cbcdf9705ae)
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 bc03fedf6dd77409a22dca1647916d154e563245)
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 d240ccb38c05e394b181a09d42f5e55d3222603a)
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 627ec0e35e4cf33f027a66cd7a4bc09e9e003781)
2016-04-02 16:47:35 +02:00
treeston 677309743a Scripts/UtgardeKeep: Bonus Ingvar the Plunderer fixes to reset behavior. There should no longer be weirdness if a reset happens during the RP phase.
(cherry picked from commit 815f43be7a0e1b5086184fcd2a4a2c6f69faa9de)
2016-04-02 16:46:13 +02:00
treeston 61d216593c Scripts/UtgardeKeep: Ingvar updates:
- Roar at start of phase two
- Ingvar no longer does a weird move-jump towards his target when resurrecting
- Fixed a duplicate yell on phase one end

(cherry picked from commit c829fc7de406728f9f089d586d6bdccf7bf14748)
2016-04-02 16:46:01 +02:00
Killyana 31dbb6150d Spell/Script: Safirdrang's Chill
Updates #4841

(cherry picked from commit 789470ccf1bfc9da6187ad6e21b8febfb7861418)
2016-04-02 16:25:23 +02:00
treeston 9f237e745a Fix warning.
(cherry picked from commit f0b9ee157bf459f34d5b069046a17f39cb318fb8)
2016-04-02 15:37:10 +02:00
Shauren ddb0bc7b6a Scripts/Undercity: Removed obsolete script
Partial cherry pick of 7a101bcf00af2cb3b5af5926faea5533dc64099a
2016-04-02 15:35:49 +02:00
jackpoz 9e0491db48 Scripts/Deadmines: Fix issues reported by static analysis
Fix Coverity issue id 1022474

(cherry picked from commit d75469e31f03d45a72e3deff9ef97ffd5098e23b)
2016-04-02 15:32:10 +02:00
Keader 6005b3a5c5 Fix Kinetic Bomb stuck after knockback effect.
(cherry picked from commit 36648d1079d3ee69b51bda58a2d88594608d0c19)
2016-04-02 15:31:27 +02:00
treeston 76d15c906e Player/Quest: Credit group for gameobject activation if they are in proximity.
(cherry picked from commit cd625a12e21fdb8c5c9d172f901540c8744eedcd)
2016-04-02 15:31:00 +02:00
P-Kito cd435b1385 Unit/CalcAbsorbResist: Sanctified Wrath should pierce absorb effects
by P-Kito; retrieved from #15027

The paladin talent Sanctified Wrath should pierce absorb effects.

(cherry picked from commit b8762d8a9fdfad77f3c16c367cdd5cc69ff70fd1)
2016-04-02 15:30:09 +02:00
tkrokli 50ad1cca00 Core/Scripts/DB: remove hardcoded text from 'npcs_dithers_and_arbington'
- created DB gossip_menu_option entries for both NPCs
- added enum section instead of "magic numbers" in script
- replaced core text with pointers to DB text
- zone_western_plaguelands.cpp is now cleaned up

(cherry picked from commit 29c2a4232477836afbcbd71f8ff3443c268e02e8)
2016-04-02 15:18:47 +02:00
treeston 3211f639e8 Looting/Group: Do not display looter in tooltip when FFA loot is enabled.
(cherry picked from commit 10482419b79c1aeb546548f845645727d8bdbf6d)
2016-04-02 15:00:59 +02:00
Gabriele Gelardi 0d8a73e53c Scripts/Duel: prevent possible abuse in Duel Reset system
(cherry picked from commit c0ed819e0cb8082c4304cad08223c05d3a8b7131)
2016-04-02 15:00:32 +02:00
DDuarte 75ff256cc4 Core/SAI: Typo fix of 77087db79318443fff1b6fe3c91b55a315c5bf92
There's no %b, silly

(cherry picked from commit 7a252fc648168bdcaf55318b8d40c015498e9d0f)
2016-04-02 14:52:27 +02:00
DDuarte 252220ed6e Core/SAI: Code improvements to SMART_ACTION_RANDOM_SOUND
Warning fixes and extra sanity checks

Ref #16376

(cherry picked from commit 77087db79318443fff1b6fe3c91b55a315c5bf92)
2016-04-02 14:52:15 +02:00
Lopfest c457de1e80 Core/SAI: added SMART_ACTION_RANDOM_SOUND
Closes #16376

(cherry picked from commit e4af2baa7e5162b984172d54488137d4c5576d7d)
2016-04-02 14:51:13 +02:00
Nick 6e5a129d91 Core/Scripts: Change door ID in Blackwing Lair
as per 7d454c66f70c19c8ff402fd126392e27700398ba

Change the name as well.

(cherry picked from commit a35a6279fe08acd510a226a037b1e5a4b8410d05)
2016-04-02 14:38:48 +02:00
jackpoz f0bb02d8ee Scripts/Misc: Fix issues reported by static analysis
(cherry picked from commit 0e76d67e498fc659d25401f909ff1ebd5d45d529)
2016-04-02 14:38:29 +02:00
Carbenium 2e3686b7e7 Core/Util: Add a missing include
(cherry picked from commit 1038df8d5b522e1e959528c3b7c17c01a88e7759)
2016-04-02 14:33:25 +02:00
joschiwald 9a202dfd4a Scripts/ICC/Teleporter: moved gossips to db
(cherry picked from commit ea38a7d95bb7d67005c7de1a924d288561b0da13)
2016-04-02 14:10:19 +02:00
Saben65 12b7f330c6 Scripts/Zangarmarsh: Removes empty gossip_text that resulted in NPCs saying blank text to players after buffing them
Closes #12697
Closes #16300

(cherry picked from commit ccf3ed40e2ed5c320fe2f468f5ba0f2bff5e27fa)
2016-04-02 13:53:11 +02:00
Shauren 974703671e Core/Items: Fixed enchant visuals
Closes #16776
2016-04-01 22:43:18 +02:00
r00ty-tc 6cd7b58065 Adjustments to spell facing - Adjusted HaveAtClient to accept Object* (still accepts all subordinates) - Use grid searcher to find players in visibility range for unit - Use client cache instead of "See or Detect" to decide who to send updates to - Adjusted SendUpdateToPlayer to send createobject packet only if not known to client
(cherry picked from commit c0693a6ee52d31840ab2ee878c4881884b857638)
2016-04-01 12:43:10 +01:00
Aokromes 8ea8de42ea Core/Misc: Fix log 2016-04-01 04:37:20 +02:00
DDuarte 0afcefea27 Core/Config: Fix 3 more missing config warnings
Closes #16861

Thanks tkrokli
2016-03-31 03:31:21 +01:00
DDuarte 9431b94bff Core/Config: Error logging for ptree_bad_data
Ref https://github.com/TrinityCore/TrinityCore/commit/6487e2f2d6a1ddbeff77362219658376b8a3f9f0#commitcomment-16888976
2016-03-31 03:19:27 +01:00
treeston d9c99acebb Spell facing follow-up: Fix an issue with creatures' channeled spells not cancelling properly in certain conditions
(cherry picked from commit 17f924a031e5ebbbc07a54acd61e738bf234867a)
2016-03-29 20:08:01 +02:00
treeston 009cabb4b9 Merge branch '3.3.5-spellfacing' into 3.3.5-base (PR #15641)
(cherry picked from commit 233297c5c8619af96e2aab4fa5ef6d205b5dc18a)
2016-03-29 19:36:05 +02:00
Saben65 21371075ff Scripts/Shadowmoon Valley: Dragonmaw Peon
Fixes issue where NPC does not attack, even when aggro'd.
Fixes #16210
Closes #16204

(cherry picked from commit ad425f9f17502772289dd18ef6b74dc465556221)
2016-03-29 19:22:42 +02:00