Commit Graph
14759 Commits
Author SHA1 Message Date
treeston 233c3a3845 Core/AI: Add DoCastSelf helper.
(I have no idea why I never bothered to do this before, really. It had crossed my mind a few times.)

(cherry picked from commit ab0abdbde5fb70a88aba4ec05291ec717444abe8)

This discussion is more effort than it takes to change it.
(cherry picked from commit b52a6b857097ff0e540fa0b560df2cc61546603d)
2017-01-08 03:06:39 +01:00
treeston 416afdfec5 Creature/CreatureAI:
- Default range for DoZoneInCombat: 50.0f -> 250.0f.
- Add optional second arg to SummonList::DoZoneInCombat to specify range.
- Also a bunch of random NULL -> nullptr cleanup.

(cherry picked from commit b7f2c87d37ad20e9fd39c6f0523f6b5edb9d4a66)

Too many damn stars in that damn argument list.
(cherry picked from commit afbda0476700f272c734ecb5b31474dbf66477f7)
2017-01-08 03:01:51 +01:00
Shauren 182c390ae7 Core/Auras: Renamed fields of SpellProcEntry structure and change types to more appropriate ones
(cherry picked from commit ef7df652560f559f5db0d8842475a9c6259145b0)

Build fix
(cherry picked from commit c03e7ecd05275fc6ab0938f728e1905d1c83e895)

SQL fix
(cherry picked from commit 7a41467cf71e790fb6cffad21db82c7119d8c2e7)
2017-01-08 02:42:07 +01:00
Sirikfoll 5993f91630 Script/SWP Full Rework on M'uru Encounter
(cherry picked from commit 6002acf376556eb413a6b514f14b8a07f8de5099)

Another sql fix
(cherry picked from commit 204acbb5b72d9706cdcf26aede62c2eeec11c6a2)
2017-01-08 02:21:10 +01:00
asterc 882106d169 Core/Battleground Script for Isle of Conquest Bosses
by @gerripeach
(cherry picked from commit c1ed002b4b0d30432b76f9c5df9095ade4b0b171)

SQL file name fix
(cherry picked from commit 74f3a84a019e3d6b71d02c9616238dc1e7b14784)
2017-01-08 02:10:37 +01:00
sirikfoll 037e9053d3 Implement Quest Riding the Red Rocket
(cherry picked from commit 20b3feb5594b1047303509defb8f0aa9df6a0ab9)

Fix SQL name
(cherry picked from commit 2329648cadaa83be0950d6abd4133b37f34d53e8)
2017-01-08 01:33:48 +01:00
Elimination 48b74f0f6a Core/Spells: Fix wrong totem placement
(cherry picked from commit 37b2f590b6d63f230c755f932c2dd356c265486f)
2017-01-08 00:54:08 +01:00
Shauren 7eb1eb1715 Core/Random: Removed ancient and unused MAP_BASED_RAND_GEN
(cherry picked from commit 1ad02a0d61671db707d52aa9f90d770002d6d67f)
2017-01-07 22:36:25 +01:00
Shauren 6f311fea53 Core/Auras: SPELL_AURA_PERIODIC_LEECH can now properly overkill
(cherry picked from commit 3d8bab866831b87d9737a7e2b01e066064c81799)
2017-01-07 22:30:01 +01:00
Shauren 3d9479dcbf Core/Movement: Do not launch pathfinding for splines turning on the spot
(cherry picked from commit 66006e3d0dd499152ce367e72fbf223356670eb6)
2017-01-07 21:54:25 +01:00
Ariel Silva 7f8a4ad3a7 Core/Spells: fix console spam (#17084)
(cherry picked from commit 8d09065525139d4e99d5439978f3c1c95aeb2428)
2017-01-07 21:53:07 +01:00
treeston 489027703e Entities/Unit: Finally fix no-path evasion.
- When a creature cannot find a path to its victim, it begins evading all attacks and regenerating health.
- If this persists for 5 seconds, it evades back to spawn position with new EvadeReason value EVADE_REASON_NO_PATH.
- Also some SmartAI cleanup (why oh why does it have so much duplicated code) and getting rid of #defines in favor of type-checked compile-time constants.

(cherry picked from commit 7b1560fccba77ecbdfecd7b33af740aea41b7087)
2017-01-07 21:33:28 +01:00
treeston f93730b160 CreatureAI: Adjust AI behavior when a charm ends. OnCharmed will be invoked on the creature's base (non-charmed) AI, allowing the AI to react to the creature no longer being charmed.
(cherry picked from commit 26b084a90ff3e4f0601e72c283bd3296d4640585)

align fix
(cherry picked from commit 58486fc19ad51eaff2ef1a4a5ddd8edfdedec28d)
2017-01-07 21:05:34 +01:00
Kito 4fa7cd0c30 Scripts/Icecrown Citadel: Sindragosa - Ice Tomb should always deal damage to all other ice tombs too
Closes #7808
Merges #16863
2017-01-07 20:20:41 +01:00
Shauren 4275a9fdbf Core/PacketIO: Fixed leaving group not fully removing it clientside
Closes #18744
2017-01-07 00:04:24 +01:00
joschiwald 01e44cb794 Core/Spells: Extended remaining 8bit EffectMasks to 32bit 2017-01-06 17:20:04 +01:00
Shauren 20f6b10178 Core/Misc: Warning fixes 2017-01-06 12:07:24 +01:00
Shauren 9db6366b62 Core/Spells: Fixed SPELLMOD_PCT calculation
Closes #18726
2017-01-05 17:36:21 +01:00
Shauren 176efd279e Core/PacketIO: Fixed value sent in SMSG_SET_PCT_SPELL_MODIFIER 2017-01-04 23:42:13 +01:00
joschiwald fc22e97369 Core/SpellScripts: Added some const correctness 2017-01-04 00:08:52 +01:00
joschiwald c23dd79dfa Core/Entities: fixed array size
Core/Misc: fixed compile warning
2017-01-01 19:51:14 +01:00
vincent-michael 86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Traesh 96f7ce4bfa Core/Scripting: Added missing hotswap code for SceneScripts 2017-01-01 03:23:04 +01:00
joschiwald ab06ae799e Core/Spells: SPELL_ATTR0_CU_SHARE_DAMAGE no longer depend on SpellFamily 2017-01-01 03:05:33 +01:00
Shauren deb5ca843e Build fix 2017-01-01 00:46:42 +01:00
Shauren dc704efe45 Core/Loot: Increased allowed loot range and updated SendLootError
Closes #18685
2016-12-31 20:50:39 +01:00
Shauren ca306c6019 Core/PacketIO: Fixed SMSG_TRADE_UPDATED structure
Closes #18652
2016-12-30 11:56:46 +01:00
Shauren ec806fa9ad Core/Items: Fixed applying artifact powers scaling with number of purchased ranks (+stamina/+damage)
Closes #18644
2016-12-29 13:03:07 +01:00
Shauren 26321d88d4 Build fix 2016-12-28 14:29:27 +01:00
Shauren 5c1503f859 Core/Loot: Implemented AoE loot
Closes #16065
2016-12-28 01:12:01 +01:00
joschiwald 2d5ffec6b5 Core/Misc: fixed compile warning 2016-12-27 23:53:13 +01:00
Shauren fe26f8ae48 Core/Loot: Fixed group loot
Closes #17696
2016-12-27 21:36:40 +01:00
Shauren 8742732149 Core/Items: Implemented bonus list as a possible result of RandomSuffix
Ref #18423
2016-12-26 21:21:28 +01:00
Shauren 9f81cf445f Core/Players: Added new 7.1 hidden slots transmog items 2016-12-25 19:13:24 +01:00
DoctorKraft a5473648dd Core/Units: Update druid shapeshift form models (#18554) 2016-12-24 15:31:45 +01:00
Shauren 25bdf4b529 Core/Chat: Updated item link format 2016-12-23 23:49:47 +01:00
Shauren 538c8c3843 Core/Achievements: Add missing send packet 2016-12-20 17:14:11 +01:00
Shauren 63fd633d79 Core/PacketIO: Implemented CMSG_GUILD_GET_ACHIEVEMENT_MEMBERS/SMSG_GUILD_ACHIEVEMENT_MEMBERS 2016-12-19 23:59:23 +01:00
Shauren 32570f7203 Fixed copypaste 2016-12-18 23:51:47 +01:00
Shauren b633d61899 Core/Commands: Added new 'bnetaccount listgameaccounts' command to display all account table entries linked to a given battle.net email
* Also fixed errors about bad commands in db

Closes #18474
2016-12-18 12:35:27 +01:00
Shauren bc75899114 Core/Auras: Resend spell modifiers after teleporting
Closes #18440
2016-12-17 21:49:29 +01:00
Krudor 1530c95697 Core/Scripts: Add server-side script support for movie completion (#18308) 2016-12-17 18:27:43 +01:00
rstebler 9c8f641cd2 Core/Achievements: Add faction check before completing an achievement (#18436)
Fixes player getting achievements of both factions if they use the same criteria
2016-12-17 18:25:00 +01:00
Onkelz28 17f94855f0 Core/Auras: Implemented aura 179 SPELL_AURA_MOD_POWER_DISPLAY (and renamed aura 402 to OVERRIDE) 2016-12-17 13:07:56 +01:00
Shauren 12ac800eff Core/Units: Implemented setting displayed power type depending on player spec
Closes #18496
2016-12-16 23:46:07 +01:00
Shauren 8867612058 Core/Auras: Prevent infinite stacking of passive auras with the same id from the same caster on the same target
Closes #18475
2016-12-15 23:30:20 +01:00
Shauren 8b2e07166f Core/DataStores: Fixed loading non-localized db2 strings
Closes #18451
2016-12-14 00:09:32 +01:00
Shauren ac1dc758b9 Core/Units: Cleanup hardcoded magic numbers for byte field offsets 2016-12-13 20:58:22 +01:00
Krudor a346fd2baf Core/Spells: Fix running wild mount spell (#18445)
Worgens no longer mount another white worgen models shoulder instead of dropping down on all four

Closes #18363
2016-12-12 23:13:20 +01:00
Shauren b6f1f8405f Core/Misc: Added regex compatibility layer to fall back to boost::regex for really old compiler 2016-12-10 19:11:10 +01:00