Commit Graph

20272 Commits

Author SHA1 Message Date
Treeston
49aa8a2e59 Scripts/Spell: Port spell_generic.cpp to new script registration syntax wherever possible. No actual changes in functionality. (fb87ac8 follow-up) 2017-07-20 16:43:45 +02:00
Treeston
37f59f8850 Scripts/Item: Port spell_item.cpp scripts to new script registration syntax wherever possible. No actual changes in functionality. (fb87ac8 follow-up) 2017-07-20 01:26:15 +02:00
treeston
fb87ac8e8d Core/Scripts: Implement generic script loaders (and script registry macros) to greatly reduce code duplication (#19526) (cherry-picked from commit a9174d5). 2017-07-20 00:27:20 +02:00
ariel-
f0357a861d Core/Tools: fix whitespace 2017-07-19 12:40:01 -03:00
treeston
02b1d8bb48 Scripts/Item: Change Nitro -> Boosts <- to use the correct knockup effect for their backfire. Also, script that knockup effect to work properly ("usually" deploy a rescue parachute). 2017-07-18 18:32:56 +02:00
Aokromes
edb82fcfbf Core/Spells: Renamed TARGET_DEST_UNK_110 to TARGET_UNIT_CONE_ENTRY_110
cherry pick from be7486f
2017-07-18 17:04:39 +02:00
treeston
24ec3ad340 Core/Taxi: Properly send taxi node status on login, as well as if the taxi master is out of range. Closes #20035. 2017-07-18 15:55:31 +02:00
treeston
125127ea73 Scripits/Item: Nitro. BOOSTS. 2017-07-18 14:11:12 +02:00
treeston
f953d85960 Scripts/Item: Fix Nitro Boosts to only fail in flyable areas. Also, it's called nitro _boosts_. Not _boots_. Nitro _boosts_. 2017-07-18 14:08:10 +02:00
treeston
e0194e4a2c Revert "Scripts/Commands: Fix a potential crash when summoning players that are just logging on." - the check was unnecessary (already done in extractPlayerTarget).
This reverts commit 05cdcdb230.
2017-07-17 23:23:54 +02:00
treeston
05cdcdb230 Scripts/Commands: Fix a potential crash when summoning players that are just logging on. 2017-07-17 23:00:46 +02:00
jackpoz
832a114196 Core/Misc: Fix static analysis issues 2017-07-17 18:48:07 +02:00
keke222
15f6a02b72 Tools: Automatically create directories for tools (#17971) 2017-07-17 10:18:35 +02:00
Gustavo
551d0559aa Core/Vehicles: Do not call InstallAllAccessories for dead Vehicles (#20033) 2017-07-16 23:39:55 +02:00
jackpoz
348b02155b Core/Misc: Build fix
Fix build broken in 9cf4dd7345
2017-07-16 18:26:05 +02:00
jackpoz
9cf4dd7345 Core/Misc: Fix static analysis issues 2017-07-16 18:20:29 +02:00
Treeston
f44956b051 Core/Quest: Prevent an issue causing quests to become invisible upon relog. (#20030)
Closes #20012
2017-07-16 14:36:42 +02:00
jackpoz
41f4a80f30 Core/Misc: Fix static analysis issues 2017-07-15 16:41:59 +02:00
jackpoz
7d3291e804 Core/Misc: Fix static analysis issues 2017-07-15 16:31:07 +02:00
jackpoz
b2a341df6e Core/Misc: Fix static analysis issues 2017-07-15 16:22:32 +02:00
Regigicas
d9c83a6c01 Scripts/Commands: Fix a crash on summon when no group is avaible (#20029)
Closes #20027
2017-07-15 12:43:03 +01:00
Weyrath
8b2bd9a5f2 Core/Quests: Fixed order of RewardChoiceItems and reputation reward. (#19904) 2017-07-13 17:52:26 +02:00
Treeston
8d0633c842 Core/AI: UnitAI::SelectTarget now applies offset BEFORE filtering by predicate (to match expected behavior). (#19975)
* Also some major code deduplication (SelectTarget now calls SelectTargetList).
2017-07-13 17:49:48 +02:00
Rochet2
b9f276f0a0 Tools/MMapsGenerator: Get all tiles in beginning and calulate proper total tile count (#20013) 2017-07-13 17:31:24 +02:00
Shauren
fba87d3f33 Core/Auth: Prevent queueing more than one realmlist query at the same time 2017-07-12 19:22:53 +02:00
treeston
3f8c0cb446 Some more script adjustments ported from #19930. 2017-07-11 12:52:53 +02:00
Treeston
ed241a2fd6 Prevent an issue that stopped Aura AfterEffect handlers being called on default handler prevention. (#20001)
Fixes #19996.
2017-07-09 13:58:59 +02:00
treeston
9bacaf15b6 Woopsie. Fix an oversight causing the main tank flag in SelectTarget to be inverted. 2017-07-09 02:53:00 +02:00
treeston
74af880217 Hi, I'm Treeston, and welcome to Combat PR Prep Refactors.
Today, we're moving UNIT_FLAG_IMMUNE_TO_PC and UNIT_FLAG_IMMUNE_TO_NPC to higher-level abstraction so combat manager can react to it.
New methods on Unit:
- void SetImmuneTo<All/PC/NPC>(apply, keepCombat = false);
- bool IsImmuneTo<All/PC/NPC>() const;
2017-07-09 02:07:29 +02:00
Keader
3aadb72eaa Build fix 2017-07-08 13:13:01 -03:00
Keader
e254ebebbe Core/Custom: Fixed SPELLMOD_COOLDOWN exploit on Duel Reset system
Followup 0048d4b618
Closes #17419
2017-07-08 13:08:50 -03:00
Nyeriah
746fce30d9 Scripts/Karazhan: Fix Attumen and Midnight not moving towards each other on phase transition after latest changes 2017-07-08 12:37:03 -03:00
Gustavo
a27a3e0457 Core/Auras: Implement SPELL_AURA_DETECT_AMORE (#19955)
Based on b58b29c958
2017-07-06 21:32:10 +02:00
treeston
88543c0eaa Formation idle: Remove more shitty code. Fixes #19995 for real this time. 2017-07-06 20:43:30 +02:00
Treeston
ac50034df7 Utilities/Containers: New RandomResize implementation with guaranteed asymptotic linear time for all container types (#19974) 2017-07-06 19:51:16 +02:00
treeston
2dd658cacc Fix formation follow. Closes #19995. 2017-07-06 19:41:49 +02:00
treeston
07593f6c34 Core/Combat: Fixed issues with creatures sometimes entering combat with friendly targets
Close #19980
2017-07-03 19:40:56 -03:00
treeston
0d27fee6f4 adjust CreatureGroups to use cmangos flags (for already-supported values, no functionality changed) 2017-07-03 20:03:39 +02:00
treeston
495e161db2 Fix an issue that was causing all creature group members to assist each other, even if only one of the aggro flags was set. Also refactor enum values to be readable.
Fixes #19977.
2017-07-03 19:39:16 +02:00
treeston
62d5113252 Two more refactors I missed for #19930. Last ones for now, I promise. 2017-07-03 17:49:54 +02:00
treeston
2739a5c5f5 Some more refactoring prep for combat/threat (#19930). 2017-07-03 17:33:34 +02:00
treeston
5d3c69bf44 Creatures now release spell focus on projectile launch (for spells that have a projectile portion) as opposed to projectile impact.
This should make some very slow projectiles (f.ex. Professor Putricide's Malleable Goo) a lot smoother.
2017-07-03 00:17:31 +02:00
Keader
0048d4b618 Core/Custom: Fixed Duel Reset Exploits
Close #17419
*Fixed exploit with SPELLMOD_COOLDOWN
*Fixed exploit with some items (like Sylvanas' Music Box)
*Little cleanup
2017-07-01 16:56:30 -03:00
Shauren
c8480f171a Nopch fix 5 and should be last 2017-07-01 21:47:00 +02:00
Shauren
235194bf54 typo fix 2017-07-01 21:37:07 +02:00
Shauren
7a72a170be Nopch fix 4 2017-07-01 21:33:34 +02:00
treeston
0f47868d34 nopch fix episode 3: revenge of that one boss in slabs that is borked anyway 2017-07-01 21:21:16 +02:00
Shauren
533e082e80 Nopch fix 2 2017-07-01 20:56:41 +02:00
Shauren
383b30041f Nopch fix 2017-07-01 20:40:07 +02:00
Treeston
e2a1ccd118 [3.3.5] Combat/Threat rewrite - prep & refactor (#19966)
* Combat/Threat rewrite (PR #19930) prep work. Mostly refactors, and a compatibility layer on ThreatManager/HostileReference that allows scripts to be changed already.
2017-07-01 20:18:02 +02:00