Commit Graph

29340 Commits

Author SHA1 Message Date
treeston
bd9dbabcc0 Instance/Naxxramas: Loatheb no longer instantly murders you. Five spam casts of Doom tend to do that to raids. 2016-09-20 18:37:58 +02:00
treeston
7e55e193e5 PCH build fix. Again.
(( Alright, you made me waste 20 minutes of my life on a full nonPCH rebuild of the core now. ))
(( I hope you're happy. ))
2016-09-20 18:37:20 +02:00
Aokromes
d17d83f6e5 DB/Misc: Rename file 2016-09-20 12:58:55 +02:00
treeston
bf61a58cc2 Core/Movement: Add a convenience default ctor to SplineChainResumeInfo, and fix PCH build in some configurations (zzz why do we even keep Appveyor and Travis around). 2016-09-20 12:55:26 +02:00
treeston
c1cc7e0a36 Core/Movement: Add new SplineChainMovementGenerator that allows accurate replication of sniffed waypoints in static sequences, along with DB facilities that allow loading of waypoints from DB. 2016-09-20 12:54:54 +02:00
Aokromes
4869105623 DB/Misc: Link difficulties 2016-09-20 11:17:28 +02:00
Aokromes
d8be7e0838 DB/Misc: 3.3.5a changes 2016-09-20 08:38:06 +02:00
tkrokli
6953e06c4b Core/Scripts: simplified npc_pet_trainer gossip script
This is what the script changes should have been in PR #17746
(also updates issue #14719 with a correct solution).

- remove OnGossipHello() to use DB conditions
- replace OnGossipSelect() with sGossipSelect()
- focus script on the confirming gossip option
- let the other gossip menus be handled in DB
2016-09-18 07:38:25 +02:00
Treeston
226762216a Map/Instances: Greatly simplify PermBindAllPlayers logic. (#17940) 2016-09-18 07:38:06 +02:00
Aokromes
56e3e69dba DB/Misc: 3.3.5a fixes 2016-09-18 07:36:51 +02:00
Naios
803ec1d5ab Core/Scripts: Fix a crash when swapping creatures with pending vehicle join events.
* Closes #17833
2016-09-15 17:08:45 +02:00
Naios
dcea4223dd Core/Scripts: Fix a crash when adding/removing objects from the map while swapping
* Ref #17833
2016-09-15 17:08:30 +02:00
Aokromes
a952526efe Core/Achievement: do not consider overkill damage for ACHIEVEMENT_CRI…
…TERIA_TYPE_DAMAGE_DONE.
2016-09-15 17:07:42 +02:00
Aokromes
4e6f1620d6 DB/Misc: 3.3.5a fixes 2016-09-15 17:04:56 +02:00
SnapperRy
d4687de575 Core/Creature: enable pet bar for TempSummons with category SUMMON_CATEGORY_PET.
Thanks @ariel- for helping with the research (although I'm two months late).
2016-09-15 17:01:19 +02:00
Aokromes
82955e9882 DB/Misc: 3.3.5a fixes 2016-09-14 21:07:48 +02:00
SnapperRy
96f4cb4799 Core/SmartAI: do not target player's group for SMART_ACTION_CALL_AREAEXPLOREDOREVENTHAPPENS.
SMART_TARGET_INVOKER_PARTY or SMART_ACTION_CALL_GROUPEVENTHAPPENS should instead be used to achieve this functionality.
2016-09-14 21:03:44 +02:00
Aokromes
3a8355ecd5 rename file 2016-09-14 15:46:31 +02:00
Aokromes
9182a19aa5 Core/Fishing: implement retail-like fishing skill-up functionality 2016-09-14 15:13:04 +02:00
treeston
e5bb91c364 Maps/Boundary: Some code style clean-up in AreaBoundary code, as well as adding an additional utility overload to IsWithinBoundary (Position const&). 2016-09-14 14:34:28 +02:00
treeston
1fb05a1797 Common/Utilities: More std::chrono overloads for EventMap. Specifying 2 std::chrono types now gives you a random (to milliseconds) time in that interval (inclusive) for (Re)ScheduleEvent. 2016-09-14 14:34:10 +02:00
ariel-
dcb823bc4a Core/Spell: Updated SpellInfo::GetMaxTicks with all effects capable of periodics 2016-09-14 14:33:12 +02:00
SnapperRy
aeae738b37 Core/Fishing: ignore required skill when fishing in pools. 2016-09-14 14:32:50 +02:00
ariel-
9cf523634d Core/Spell: do not cast interrupt effect if the spell did not hit 2016-09-14 14:32:16 +02:00
treeston
72a76d6226 Instance/UtgardePinnacle: Fix Svala Sorrowgrave timings (from sniff). 2016-09-14 14:32:03 +02:00
Aokromes
cc0651765a DB/Misc: 3.3.5a fixes 2016-09-14 14:28:16 +02:00
Aokromes
549d2add69 Core/Opcodes: Coding standards 2016-09-13 04:45:12 +02:00
Aokromes
ae8f32024a Core/Opcodes: Enable 2 opcodes updates #56 2016-09-13 04:26:59 +02:00
treeston
876757ed68 Core/Movement: Fix an edge case crash in HomeMovementGenerator. 2016-09-11 16:50:12 +02:00
Aokromes
5edb620633 DB/Misc: 3.3.5a fixes 2016-09-11 16:46:53 +02:00
Aokromes
41683c1b7c Cmake: Limit OpenSSL version to 1.0.x client needs RC4 and 1.1.x removes the support 2016-09-11 16:36:23 +02:00
treeston
a030e5cfff Woops. Thanks, clang.
Crash fix.
2016-09-10 14:52:48 +02:00
Aokromes
993f800d75 DB/Misc: 3.3.5a fixes 2016-09-10 14:34:52 +02:00
treeston
74c4c208c9 Entities/Object: Add some Position const& overloads to distance/angle methods for usability. 2016-09-10 14:27:00 +02:00
SnapperRy
9b89458cc8 Script/Quest: fix and use proper serverside summon spell for quest "Red Snapper - Very Tasty!". 2016-09-10 14:26:36 +02:00
SnapperRy
e9b2feba4f Script/Quest: replace wrong test spell used for quest "Red Snapper - Very Tasty!" with actual summoning.
The spell does not appear in sniffs, and the summoned NPC's spawn time was far too short to be appropriate (15 seconds).
2016-09-10 14:26:18 +02:00
Rochet2
19ed813f6b Core/Scripts: Enhance quest status hook by making it catch more status changes (#17865) 2016-09-10 14:25:57 +02:00
Aokromes
dc4657218e Core/Scripts: Implement Flag of Ownership
Core/Spells: Implemented TARGET_CORPSE_SRC_AREA_ENEMY.
2016-09-10 03:53:34 +02:00
Aokromes
2701c96ab1 DB/Misc: 3.3.5a fixes 2016-09-09 20:16:39 +02:00
treeston
40d0fcfae6 Fine, this time I actually built it. Promise. 2016-09-09 20:00:53 +02:00
treeston
008bbdbc47 Build fix. 2016-09-09 20:00:40 +02:00
treeston
32de236865 Game/Scripting: Follow-up to b3d44d6. Fix script selection for creatures on difficulty > 0. 2016-09-09 20:00:30 +02:00
treeston
bb9b7582ee Core/Maps: Add override to allow InstanceMap const* -> InstanceScript const*.
Also tighten const-ness on CanSpawn method of CreatureScript.
2016-09-09 19:59:50 +02:00
treeston
cb2da345c7 Core/Conditions: New CONDITION_QUESTSTATE (47). It's the existing que…
…st conditions collapsed into a bitmask value2 because I'm a lazy person that doesn't like having long SQL queries.

Then use this new condition to fix Sniffing out the Perpetrator for Horde.
2016-09-09 19:59:17 +02:00
treeston
5bd9d82c9d Creature/Scripting: Move CreatureAI::CanRespawn to CreatureScript::CanSpawn. Now also applies to initial spawn. Dynamic spawning prep. 2016-09-09 19:57:25 +02:00
treeston
219fd84f1e Derp. Build fix. 2016-09-09 19:57:12 +02:00
treeston
2e896a15dd AI/SmartAI: Fix an issue where SmartAI creatures would not properly follow their owner on evade. Also fix a bug where creatures with INHABIT_ROOT would get stuck in evade under certain conditions.
This allows us to fix quest 12261 (No Place to Run). Closes #16291.
2016-09-09 19:56:30 +02:00
Aokromes
2afb2131c5 DB/Misc: Link more difficulties 2016-09-08 07:47:19 +02:00
ariel-
1bb7c63cf9 Core/Entities: moved duplicated triggered cast proc check to Unit::ProcDamageAndSpellFor, it was preventing some always triggered auras from proccing. 2016-09-08 07:07:15 +02:00
Aokromes
3c2da4159e DB/Creature: Link more heroic modes 2016-09-06 15:51:37 +02:00