Commit Graph
29688 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
Dr-J eb4247fc45 DB/Creature: Soo-holu & Kartak the Abominable
* Corrections to vehicle id and spells (Soo-holu previously had vehicleid 134 in sniff both are 257)
* Move spell focus for summoning Soo-holu with http://www.wowhead.com/item=39266/tainted-crystal to correct place
* On summon texts for when summoned
* Add some broadcasttext ids I forgot to add in my last commit.
(cherry picked from commit c42f0bd83049385b20d2b53524f7459103ec57df)
2017-01-07 22:33:40 +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
Dr-J 3018c65efd DB/SAI: Rejek (Part 2)
* Turn in event for http://www.wowhead.com/quest=12732/the-heartbloods-strength
* Remove previous hack for chicken net which is no longer needed
* Fix Jaina again - closes #17087
(cherry picked from commit d9dcbbc8af3c69d320adc1750fcdedc972685c87)
2017-01-07 22:08:44 +01:00
Aokromes 1a0f76a6f1 DB/Creature: fix Orgrimmar Grunt console spam
By Ariel-, closes #17083
(cherry picked from commit 945abb163c11c76e6196e9aae53972f1e021c091)
2017-01-07 22:04:59 +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
Dr-J 195b0c7b47 DB/SAI: Rejek (Part 1)
Turn in event for http://www.wowhead.com/quest=12758/a-heros-headgear
(cherry picked from commit 5668bc32340bd15ac2195781b8da3ad62d9c56ee)
2017-01-07 21:52:27 +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
Dr-J 212f1a05bb DB/Creature: Flamebringer
Some corrections to previous script from sniff.
(cherry picked from commit 769b7ff7fd2cb86f5b9978d15ea20c398273ec48)
2017-01-07 20:56:48 +01:00
Dr-J 5970682e80 DB/Event: Children's week
Add missing reward mail when either version of Return to the Orphanage in Shattrath is returned

Horde (185) - Subject: Thank you!  Body: Dear, $n,$B$BThank you for taking me out during Children's Week. Lady Liadrin, the leader of the Blood Knights, has asked that I be released to her custody for training in Silvermoon City!$B$BI just wanted to thank you for taking me to see my friend, Hch'uu, as well as the Dark Portal, the Throne of the Elements, and the Caverns of Time. I like my toy dragon very much!$B$BI'm sure that you're taking good care of my pet. Please tell him that I miss him!$B$BSincerely,$B$BSalandria
Alliance (184) - Subject: Thank you!  Body: $n,$B$BThank you for the time that we spent together during Children's Week. Did you know that Farseer Nobundo has asked the orphan matron to allow me to study with him at the Exodar?$B$BThank you for taking me to all of those neat places, and to visit my brother, Jheel. I miss him almost as much as I miss you. And, the Ring of Observance, the Dark Portal and the Caverns of Time were neato!$B$BI'm sure that you're taking good care of my pet. Tell him that I miss him, too!$B$BLove,$B$BDornaa
(cherry picked from commit e4a22f94e79a538b3adef64f619964b384b4b843)

Actually add the sql to last commit
(cherry picked from commit 9566b94688a17f7480e89d6627ca6d43f93125c7)
2017-01-07 20:54:53 +01:00
Dr-J a003fb2fa6 DB/Misc: The Maker's Overlook
* Respawn all http://www.wowhead.com/npc=28069/sholazar-guardian and add pathing for the 3 with paths
* Spawn missing http://www.wowhead.com/npc=28840/overlook-sentry and pathing
* Correct inhabitat flags for http://www.wowhead.com/npc=29066/titan-sentry
(cherry picked from commit d6c05c56019e4e4a7a2b83973ffc83c61d828b7e)
2017-01-07 20:43:45 +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
Dr-J a8dd3e4ad4 DB/SAI: Sholazar Guardians (Summoning on quest accept)
When you accept quest where you receive item to summon Goregek, Dajik, Zepik, Lafoo, Jaloot or Moodle the guardian for which player just received item is also summoned automatically.
(cherry picked from commit 4a85b652f2ebb601dae8fd7be2857daff9b1d8c1)
2017-01-07 19:39:01 +01:00
Dr-J 821068d55a DB/Quest: A Rough Ride
Waypoints again since have more experience and had a lot more wp than needed previously
A couple of cosmetic fixes for this quest
(cherry picked from commit 732ec94d9b38eee0acaed6b514292eb65f68b243)
2017-01-07 19:32:55 +01:00
Killyana a82488a0c1 DB/Creature: Add accessory to Frigid Proto-Drake
(cherry picked from commit 17e661fd2d7066ce8dba4b5d7adcfa51750f3e04)
2017-01-07 03:34:54 +01:00
Killyana 8bb239fa1d DB/Quest: The Drakkensryd
Closes #1350
by Txknight

(cherry picked from commit b3a26fc485ae4a493780ee92b3f4921a3a0e8bfa)
2017-01-07 03:33:36 +01:00
Killyana 98a31e19cc DB/Script: The Etymidian
Fix Meeting a Great One quest

(cherry picked from commit e130593e85477f204a93f4c1f805ef45b6ed0c2b)
2017-01-07 03:31:57 +01:00
Dr-J 4daca9f96f DB/Pathing:
Full paths for : -

http://www.wowhead.com/npc=24516/bjomolf
http://www.wowhead.com/npc=24517/varg
http://www.wowhead.com/npc=24277/garwal
(cherry picked from commit b82ffb88f7e6342f6abcb09b789ad5c46efe158c)
2017-01-07 03:29:18 +01:00
Killyana cbebcd5bda DB/Creature: Dark Iron Land Mines
By adeutscher
Closes #17019

(cherry picked from commit b641d7ba251c540a93e8989c02013a5f97bc5c99)
2017-01-07 02:30:23 +01:00
Dr-J bcd444e609 DB/Creature: Shadowmoon Harbringer
Same as with Zealots (we were missing a lot of spawns)
(cherry picked from commit 30db03205c89ea917a46e290607ca80e70bc025e)
2017-01-07 02:27:25 +01:00
Aokromes ff896145c9 DB/Creature: add few missing flag_extra
(cherry picked from commit f9582ed09d224265977ff62d25bdf0257b589af8)
2017-01-07 02:12:17 +01:00
Dr-J 5dd183b164 DB/Creature: Shadowmoon Zealot
Respawn http://www.wowhead.com/npc=21788/shadowmoon-zealot as noticed we were missing quiet a few of these.
(cherry picked from commit 61999b125a5509b1941f144089bf1c333af72c93)
2017-01-07 02:02:56 +01:00
Killyana 67c0338df1 DB/Creature: Steam Pump Overseer
Closes #16840

(cherry picked from commit e70cdca0a1e33b41e86b83ff881a14939ff52f13)
2017-01-07 01:50:19 +01:00
Killyana eff0affe85 DB/Quest: Blast the Gateway
Closes #2548

(cherry picked from commit 79df25e402887e039ec4b2f8cc45b98dd2ad50a8)
2017-01-07 01:44:10 +01:00
Dr-J e74cf6711a DB/Quest: A Lesson in Fear
Properly script http://www.wowhead.com/quest=11282/a-lesson-in-fear#comments so that you actually have to kill Winterskorn Defenders to get the named npcs to spawn, added missing texts for the yell for when they spawn
(cherry picked from commit 2640f37c665b2a11b7801f9e039ef7de1909ff83)
2017-01-07 01:39:37 +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
Duarte Duarte d0b9521954 TravisCI: Rollback to using current Clang on Travis VMs
Change from Clang 3.9 to 3.5 (current version available).

3.9 was shown to take longer than 3.5 and having random segfaults here and there.
2017-01-03 16:48:44 +00:00
Shauren a6d29d4058 Revert "Build/Clang: Suppress -Wexpansion-to-defined because of rapidjson dep"
This reverts commit 467e49c1fa.
2017-01-02 17:16:15 +01:00
Shauren 8ed04724bb Dep: Update rapidjson to v1.1.0 2017-01-02 17:15:54 +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