Commit Graph

13872 Commits

Author SHA1 Message Date
Aokromes
a16c5a2b2e Core/Movement: Properly clear UNIT_STATE_MOVING when reaching chase target 2016-08-24 19:24:15 +02:00
Aokromes
99a5df07e3 Missing overrides 2016-08-24 19:23:13 +02:00
Aokromes
785bf03551 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2016-08-24 19:21:11 +02:00
Aokromes
332feace2c Scripts/Naxxramas: Full Kel'thuzad rework.
- Sniffed timers
- Sniffed spawn behavior
- Sniffed everything else
- Sniffed sniff. Mmmm
 - In all seriousness though:
    - Fixed P2 cast behavior, now obeys category cooldowns as intended
    - Fixed P1 pathing and abomination behavior
    - Fixed P1 passive minion aggro logic
    - Fixed P1->P2 transition logic
    - Fixed P3 guardian spawn/despawn logic
    - Fixed all minions' cast behavior
    - Fixed melee hitbox for Kel'thuzad, abominations, banshees and guardians
    - Fixed reset behavior
    - Fixed post-Sapphiron event to no longer open the KT door for a few seconds before slamming it closed again by treeston
2016-08-24 19:20:37 +02:00
roc13x
62e30175d8 whitespaces 2016-08-24 11:49:47 +01:00
roc13x
65ec46c890 Core/TB: Fix build
Moved statics to cpp
Added gameobject rotations
2016-08-24 11:35:04 +01:00
Aokromes
0448f4e64f Core/Datastore: Disable unused values to fix warnings 2016-08-24 11:41:31 +02:00
ariel-
9203ab1004 Core/SmartAI: fix warning reported by VS2015 2016-08-24 10:26:03 +02:00
treeston
a7c88b1d6b Scripts/HallsOfLightning: Fix Volkhan healing. 2016-08-24 10:25:30 +02:00
tkrokli
5301e4578e Core/Scripts: set correct unit_flags on Scarlet Mine Car (#17844)
Closes #17816
2016-08-24 10:25:08 +02:00
SnapperRy
ac4ceed1da Core/SmartAI: allow SMART_TARGET_OWNER_OR_SUMMONER to target a temporary summon's summoner, too (#17851)
Core/SmartAI: allow SMART_TARGET_OWNER_OR_SUMMONER to target a temporary summon's summoner, too
2016-08-24 10:24:18 +02:00
SnapperRy
55757c0d68 Core/SmartAI: add param2 to SMART_ACTION_UPDATE_TEMPLATE, allowing to specify if creature's level should remain the same between entry updates.
A value of 0 (default) forces the creature to keep its current level between entry updates.

Fixes #16371
2016-08-24 10:23:34 +02:00
SnapperRy
2d7dc9c9eb Core/Event: prevent seasonal quests from resetting at server restart (#17455)
Closes #16015.
Closes #16413.
2016-08-24 10:23:17 +02:00
SnapperRy
506b2a4f2a Event/Brewfest: implement relay race (#17603) 2016-08-23 13:54:57 +02:00
tkrokli
efa7a0639c Core/Scripts: npc_wormhole #define text moved to DB (#17805)
Another core script hardcoded text removal:
- removed #define text from script
- added the text to gossip_menu_option
- added and renamed enum to match DB entries
- minor additional adjustments and comments

Closes #6841
2016-08-23 13:54:38 +02:00
Gustavo
83de75e31b Improve scripts for quests Breakfast Of Champions and A Bear of an Appetite (#17780)
Properly despawn the related GameObjects after use of the quest item, avoiding multiple use and summon
2016-08-23 13:54:24 +02:00
SnapperRy
1cd71ca5cd Scripts/ArgentTournament: improve training dummy script
Now the ranged and charge target dummies will cast their spells and behave correctly for the related quests
2016-08-23 13:54:10 +02:00
Aokromes
7bf600013b Core/TolBarad: Remove whitespaces 2016-08-22 21:40:17 +02:00
Shauren
b1f20ced7a Core/Creatures: Exclude despawned creatures from being found by "nearest entry" searchers
Updates #11418
Closes #17706
2016-08-22 21:11:14 +02:00
Shauren
a3d4957150 Typo fix 2016-08-22 20:54:59 +02:00
Shauren
89a630b1e4 Dynamic linking build fix 2016-08-22 20:53:56 +02:00
ariel-
36d08ecd18 Core/Unit: removed ancient workaround changing spell caster based on triggering aura.
Keep an eye out for those broken scripts!

Closes #17739
2016-08-22 20:53:34 +02:00
Aokromes
4433501213 Core/Misc: Fix static analysis issues 2016-08-22 14:22:56 +02:00
ariel-
a97152d592 Core/Battlefield: Cleanup of Wintergrasp script and battlefield system:
- Standards: Moved all statics to cpps where they belong.
- Changed spawn position container from fixed size array to std::vector (not all positions were used in every case)
- Removed unused parameter teamId from Battlefield::SpawnCreature
- Removed workaround for GO rotation, added in a69cbeb
- Added rotation parameter to Battlefield:SpawnGameObject
- Added sniffed rotation to existing script spawns.
- Implemented Archavon's Log
2016-08-21 20:11:20 +02:00
mik1893
cea753e4e6 Core/Spells: Fixed spells like Shadowform, Tricks of the Trade, Misdirection getting stuck in unusable state clientside if they failed earlier because of GCD
Closes #657
Closes #12913
Closes #17376
2016-08-21 13:16:52 +02:00
Treeston
a29913187b Core/Spells: Fix orientation- and targeting-related issues if the creature isn't currently engaged in combat. (#17120)
Also disable spell focus system for vehicle control auras.

Closes #16572
Closes #17016
2016-08-21 13:16:30 +02:00
Alan Deutscher
372ef5e5a2 Scripts: UNIT_FLAG_REMOVE_CLIENT_CONTROL no longer used as a method for preventing a unit from moving
UNIT_FLAG_REMOVE_CLIENT_CONTROL (formerly UNIT_FLAG_DISABLE_MOVE) is a client-only feature that should not be used for NPC scripting. All applications of this flag in scripts/ have been replaced with applications/removals of the UNIT_STATE_ROOT state.

Closes #17311
2016-08-21 13:16:10 +02:00
ariel-
716ad14257 Core/Entities: fix a crash that would happen whenever a player logged back in to an ended arena battle. Thanks Nawuko for the input
Closes #17825
2016-08-21 13:15:52 +02:00
jackpoz
58e4568c36 Core/Commands: Code cleanup
Remove commented out code
2016-08-21 13:14:27 +02:00
Aokromes
b835800a4b fix startup 2016-08-21 09:10:26 +02:00
Aokromes
5cbd6cfecf compile fix, now yes.
Never leave aokromes to try to code c++
2016-08-21 03:05:02 +02:00
Aokromes
d297f013f1 warning fixes and partial revert 2016-08-21 02:28:29 +02:00
Aokromes
3792e4ea75 missing part 2016-08-21 01:51:05 +02:00
Aokromes
32d3f380bb more picks 2016-08-21 01:33:04 +02:00
Aokromes
faaa88a483 missing part 2016-08-21 00:55:17 +02:00
Aokromes
c68f48c9b3 Partial pick of 735606bc73 to fix compile 2016-08-21 00:52:39 +02:00
Malcrom
cadaf222e7 Core/Creatures: Implemented loading animkits from creature_addon (#17834) 2016-08-21 00:14:15 +02:00
SnapperRy
c2f65d822b Core/SpellArea: only check against spell_area entries for the current quest when updating quest status
Closes #17804
2016-08-20 18:26:31 +02:00
Shauren
a778c8033f Core/Spells: Fixed possible null pointer dereference
Coverity CID 1357406

(cherry picked from commit cc07a491f6)
2016-08-20 15:54:14 +02:00
Aokromes
7ea03a2e47 Core/Conditions: Add new CONDITION_TAXI (46). Does what it says on the tin. Tagging issue #15560. 2016-08-20 14:48:34 +02:00
jackpoz
8fcb5ace9d Core/Battleground: Fix crash happening when reporting afk a nonexistent player 2016-08-20 14:43:15 +02:00
treeston
cd53178361 Core/Spells: Fix Spell::EffectJumpDest not to turn caster to zero orientation when ground targeting. 2016-08-20 13:15:23 +02:00
Aokromes
5023384dab Update boss_jedoga_shadowseeker.cpp 2016-08-20 12:33:28 +02:00
Aokromes
56b3f461fe Core/Scripts: move Pet Trainer gossip to DB
SQL content based  on issue 14719 by Killyana,
conditions output from Malcrom's Condition Creator

- remove hardcoded #define gossip options
- enum gossip menu IDs from DB
- remove outdated SD comments at the top of the file
2016-08-20 12:22:58 +02:00
treeston
3755efcb8e Core/ObjectMgr: I knew I missed something. 2016-08-20 11:10:02 +02:00
treeston
3d9a11d744 Core/ObjectMgr: Follow up on 628792f to remove some superfluous warnings. 2016-08-20 11:03:12 +02:00
Chaouki Dhib
c152bbe17d Core/Spells: Fixed extended spell range while moving Closes #17818 (#17824)
Cherry pick of 10e0f4ff8f
Closes https://github.com/TrinityCore/TrinityCore/issues/17818
2016-08-20 06:23:00 +02:00
treeston
190ef9fc54 Pet/DK: Make Risen Ghoul and Bloodworms no longer suicidally charge into not-yet-engaged mob packs. 2016-08-20 06:22:42 +02:00
treeston
5b819fa0f1 AI/SmartScripts: SMART_ACTION_ADD_QUEST -> SMART_ACTION_OFFER_QUEST. Open quest offer instead of adding straight to log - old behavior can be requested using action_param2. Closes #17735. 2016-08-20 06:22:19 +02:00
ariel-
dbe992b25b Core/ObjectMgr: added some more sanity checks to creature templates
- Extra: throwed semicolons around
- Clarified meaning for a vehicleId check (what it said didn't correspond to what was actually checked)
2016-08-20 06:20:11 +02:00