Commit Graph

21847 Commits

Author SHA1 Message Date
Shauren
417c19bdad Core/Spells: Don't report spell errors to client when spell was triggered and failed some internal condition
(cherry picked from commit a9b4375bb7)
2016-04-09 17:58:24 +02:00
treeston
181da2a65c - Clean up spell facing behavior a bit. Visual target behavior should now be a lot smoother.
- Clean up Creature.cpp. NULL -> nullptr, gotta love it.
- Renamed some recently added members of Creature to match code style.

(cherry picked from commit 1cf1d4a1ea)
2016-04-09 17:47:45 +02:00
Kittnz
a4c223a300 Pet/Misc: Implement Baby Blizzard Bear
(cherry picked from commit 8d992a888c)
2016-04-09 17:42:50 +02:00
Shauren
07a0a57ffb Merge pull request #16848 from P-Kito/debuff_remove
[3.3.5/6.x] Scripts/Spells: Add generic spell to handle ClearDebuffs spell
(cherry picked from commit b2bd181a5f)
2016-04-09 17:40:20 +02:00
treeston
d25ba64b4c Scripts/Karazhan: Hackfix the Opera event script to make Wizard of Oz actually completable.
Doing it in script instead of removing the flags from DB because I'm pretty sure that the DB flags are correct and there's some RP event missing before she becomes attackable.

(cherry picked from commit dc39de0141)
2016-04-09 17:35:45 +02:00
treeston
f1b3c9f40c No, Travis, I do not intend to handle SPELL_GROUP_STACK_RULE_MAX. It is not a value that should ever be actually used. Go away.
(cherry picked from commit f8a6ab8ac5)
2016-04-09 17:32:37 +02:00
treeston
7d8bab240b Entities/Pet: Finally fix pets spamming Blood Pact/Fel Intelligence in some scenarios. Your eardrums will thank me.
(cherry picked from commit 21cfacfba7)
2016-04-09 17:32:24 +02:00
Aokromes
b359eda9b9 Core/Misc: Remove no longer used code
(cherry picked from commit 00aeec820a)
2016-04-09 17:29:10 +02:00
treeston
d5ec4ce97b Entities/Creature: Fix bugs with pets not properly reacquiring target after spell cast. Closes #16824.
(cherry picked from commit accad00567)
2016-04-09 17:28:11 +02:00
Vincent-Michael
179b521dce Core: Remove whitespaces
(cherry picked from commit 5e74c2223b)
2016-04-09 17:14:08 +02:00
jackpoz
307a93839b Core/Creatures: Fix dead creatures spawn position on restart
Fix dead flying creatures ignoring being spawned below the floor in instances on server restart because of not taking into account vmap height.
Fix #16777

(cherry picked from commit 912514c198)
2016-04-09 17:10:24 +02:00
joschiwald
94c33ea43c Merge pull request #16785 from Keader/AlgalonStars
[3.3.5/Core/Scripts] Fix Living Constellation not activating during Algalon encounter
(cherry picked from commit 3e7b7e415e)
2016-04-09 17:09:27 +02:00
r00ty-tc
0bf70423f8 Core/Maps: Implement optional pre-loading of maps.
- Option to preload basemaps upon server load (BaseMapLoadAllGrids)
- Option to preload instance maps upon map load (InstanceMapLoadAllGrids)
- Change default logging to only log mmap errors to server log
- Add new public to map to load all cells in map
- change debug loadcells to use new function instead

(cherry picked from commit 971f4ccab8)
2016-04-09 17:08:41 +02:00
ForesterDev
1ef3b52433 Scripts/Commands: Modify ".debug anim" command to target any selected unit
(cherry picked from commit f719338a9c)
2016-04-09 17:06:41 +02:00
Shauren
5c0517c6ef Merge branch 'Golrag-sindragosa_ice_tomb_target' into 3.3.5
(cherry picked from commit 895878010e)
2016-04-09 17:05:24 +02:00
Dr-J
7cf6eca425 Remove Lady Jaina Proudmores CPP script from zone_dustwallow_marsh.cpp
(cherry picked from commit c9f9e93c22)
2016-04-09 17:04:02 +02:00
Shauren
2a7a2a1b65 Core/Misc: gcc 5.3 nopch build fix
Closes #16878
2016-04-09 12:42:57 +02:00
jackpoz
76bbf5fc0c Scripts/Misc: Fix issues reported by static analysis
(cherry picked from commit 510bb30b2c)
2016-04-09 00:26:41 +02:00
Shauren
911e81ed9e Warning fix
(cherry picked from commit 7fe5a77f5e)
2016-04-09 00:25:40 +02:00
Shauren
593bbb0c99 Core/Commands: Fixed a crash in .wp mod by @Magnifikator
Closes #16732

(cherry picked from commit 3d0b065135)
2016-04-09 00:23:38 +02:00
Shauren
d92cad6973 Core/Commands: Fixed incorrect use of GetGUID instead of GetSpawnId in waypoint commands
Updates #16732

(cherry picked from commit e73d5a7bf4)
2016-04-09 00:23:35 +02:00
treeston
6eb49e4bb2 Unit/PlayerAI: Yeah, we allow charmer to be null now, should probably check for that.
Fixes and closes #16728.

(cherry picked from commit 49de12b1cf)
2016-04-08 23:58:45 +02:00
sirikfoll
c66d3714f1 Core/Scripts: Fixed Yogg-Saron Portals
Closes #16390
Closes #16708

(cherry picked from commit c4e4ee3ae1)
2016-04-08 23:57:12 +02:00
MitchesD
92b74d6bdc Merge pull request #16523 from tkrokli/smart_action_set_corpse_delay
[3.3.5][6.x]Core/SmartScript: create SMART_ACTION_SET_CORPSE_DELAY
(cherry picked from commit 8e152e0d4a)
2016-04-08 23:51:18 +02:00
treeston
c23a6085c3 Core/AI: Fix an edge case crash with PlayerAI. Again. Sheesh.
(cherry picked from commit fe707db96f)
2016-04-08 23:38:49 +02:00
Treeston
9476726edc Merge pull request #16676 from ccrs/summonsinit
Core/TempSummons: avoid use MoveInLineOfSight before InitSummon
(cherry picked from commit 472e78d682)
2016-04-08 22:58:28 +02:00
treeston
cf7436b644 Util/Random: Add randtime(Milliseconds const&, Milliseconds const&) to supersede urandms(uint32,uint32) for scripts being ported to std::chrono.
(cherry picked from commit 224b42c53a)
2016-04-08 22:57:01 +02:00
treeston
3b67e57e0e Core/Creature: Prevent friendly vehicles from trying to attack their rider after dismounting.
(cherry picked from commit 89e2afb8f9)
2016-04-08 22:48:06 +02:00
Nyeriah
bedd2f4236 Scripts/Karazhan: Use the correct method to access Opera's side entrance door
(cherry picked from commit ecd9dec384)
2016-04-08 22:47:50 +02:00
Nyeriah
39c6f1ce3b Scripts/Karazhan: Clean up instance script
Closes: #16533
(cherry picked from commit f9eff81388)
2016-04-08 22:22:32 +02:00
Shauren
a168a2d442 Build fix 2016-04-08 22:08:23 +02:00
Aokromes
8adf24605d Merge pull request #16692 from tkrokli/headless_horseman_emote
Core/Scripts/boss_headless_horseman: remove hardcoded text
(cherry picked from commit 5accd69863)
2016-04-08 22:02:11 +02:00
Aokromes
9bf507e592 Merge pull request #16699 from tkrokli/triple_zone_cleanup
Core/Scripts: triple zone cleanup
(cherry picked from commit 2387dbdda9)
2016-04-08 22:01:40 +02:00
treeston
caa1b82b88 Unit/AI: Making Nayd happy.
(cherry picked from commit 59d02322a7)
2016-04-08 20:39:53 +02:00
treeston
3f6b215fca Fix some behavioral weirdness resulting from 79a945d5 - thanks ccrs.
(cherry picked from commit bfac62c5c9)
2016-04-08 20:39:42 +02:00
treeston
f4baf7c180 Unit/AI: Move CharmedPlayerAI logic from the SetCharmedBy/RemoveCharmedBy hooks to Player::Update -> Unit::UpdateCharmAI to guarantee thread safety and prevent race condition crashes.
(cherry picked from commit 5354b585e3)
2016-04-08 20:39:30 +02:00
treeston
4726116dbc Core/Threat: Prevent bosses (and other stuff using DoZoneInCombat) from switching off of the person pulling if they are pulled without generating threat.
(cherry picked from commit b5b7ce44cf)
2016-04-08 20:38:22 +02:00
jackpoz
8046d5a94f Scripts/Ulduar: Fix crash
Change an assert to a NULL check on Flame Leviathan vehicle kit, it can be NULL on map unload.
Close #16662

(cherry picked from commit 31cd082833)
2016-04-08 20:38:09 +02:00
treeston
c25222c428 Merge remote-tracking branch 'tkrokli/redemption_tirions_tale' into 3.3.5 (PR #16680)
(cherry picked from commit d1a9d7765c)
2016-04-08 20:32:01 +02:00
MitchesD
50ffea4d8f Merge pull request #16671 from tkrokli/zone_terokkar_forest
Core/Scripts: zone_terokkar_forest cleanup
(cherry picked from commit b7e93f68c3)
2016-04-08 20:30:10 +02:00
Treeston
42a01d62e6 Merge pull request #16457 from Treeston/3.3.5-standstatecondition
[3.3.5] Add condition for unit sitting/standing
(cherry picked from commit b6720af4cb)
2016-04-08 20:28:55 +02:00
Aokromes
7c51859214 Core/Misc: Fix header
(cherry picked from commit 2eb9621f19)
2016-04-08 20:24:52 +02:00
Shauren
cc2a683193 Core/PlayerAI: 6.x specific spec checks 2016-04-08 20:21:44 +02:00
treeston
604d08db52 build fix
(cherry picked from commit d10c698430)
2016-04-08 20:18:07 +02:00
treeston
e394cd298b Core/PlayerAI: Some more helper methods added. Also, charmed players no longer break crowd control.
(cherry picked from commit a8f760b692)
2016-04-08 20:17:56 +02:00
treeston
f5a1b75fbd Core/PlayerAI: More follow-up. Helper functions and some internal cleanup.
(cherry picked from commit 5a3a21c2d0)
2016-04-08 20:17:40 +02:00
Treeston
adc7ee0c51 Merge pull request #16644 from Treeston/3.3.5-customcharmai
Core/UnitAI: Rework creature-controlled player behavior.
(cherry picked from commit 4e4b2b9a13)
2016-04-08 20:16:15 +02:00
joschiwald
e06d4d424c Merge pull request #16651 from ariel-/movespeedfix
Core/Unit: Fix typo
(cherry picked from commit 31b1da4a14)
2016-04-08 20:01:21 +02:00
Shauren
06734ebce9 Build fix 2016-04-08 19:49:06 +02:00
Aokromes
d4146a23ac Merge pull request #16038 from tkrokli/grammar_and_spelling_corrections_335
[3.3.5] Core/Logs: English text corrections
(cherry picked from commit 4cd937140b)
2016-04-08 19:48:58 +02:00