Commit Graph

30260 Commits

Author SHA1 Message Date
Kittnz
fc5ae81997 DB/Creature: Clam Master K Waypoints
by Saben65

(cherry picked from commit 5536a9632e)
2017-01-09 03:11:23 +01:00
Shauren
b999d8c5ac Core/Loot: Fixed resaving looted items from containers
Closes #15299

(cherry picked from commit 4a074ca470)
2017-01-09 02:10:28 +01:00
Shauren
6393e80129 Core/Spells: Implemented SPELL_ATTR1_DISMISS_PET
Closes #7372

(cherry picked from commit 9246189b98)
2017-01-09 02:10:08 +01:00
Golrag
e9e3daa30c Core/Object: Use object edges to calculate LoS
(cherry picked from commit da6065db00)
2017-01-09 02:07:42 +01:00
ForesterDev
5c2705fadc Core: updated creature type flags enum (#17128)
Core/Misc: Update CreatureTypeFlags enum according to TrinityCoreWiki
(cherry picked from commit fb0881398a)

# Conflicts:
#	src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp
#	src/server/game/AI/ScriptedAI/ScriptedFollowerAI.cpp
#	src/server/game/AI/SmartScripts/SmartAI.cpp
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Miscellaneous/SharedDefines.h
2017-01-09 02:00:17 +01:00
Aokromes
a31f79d7de DB/Creature: Cabal Ritualists don't cast Crystal Channel
By Saben65, closes #16986
(cherry picked from commit b0f9a998e1)
2017-01-09 02:00:16 +01:00
treeston
dfaf4542e6 Conditions/ConditionMgr: Add a comment so MitchesD can go away.
(cherry picked from commit 759aae56ad)
2017-01-09 02:00:10 +01:00
clintskie
84166c385b DB/trainers: Engineering trainers & spells
By clintskie

Updates #14682
2017-01-09 01:35:29 +01:00
Kittnz
6dd6bbcbb6 DB/Object: Add missing object spawns in Ghostlands & Eversong Woods
Bonfire, Cauldron & Campfire

(cherry picked from commit 7427ca5f8e)
2017-01-09 01:26:42 +01:00
Kittnz
42f73f11d3 DB/Creature: Add missing creature spawns in Ghostlands & Eversong Woods
Added the following NPC's : Toad, Snake, Frog, Lesser Scourgebat, Greater Spindleweb, Ghostclaw Ravager, Ghostclaw Lynx, Vampiric Mistbat, Whitetail Frenzy, Yellowgill Frenzy, Rabbit, Feral Dragonhawk Hatchling, Springpaw Stalker, Crazed Dragonhawk, Ghostlands Guardian, Spider

(cherry picked from commit 7c8c3b96fe)
2017-01-09 01:26:41 +01:00
Shauren
8045907c14 Core/Chat: Don't check item suffix name when validating item links when the item has ITEM_FLAG3_HIDE_NAME_SUFFIX 2017-01-08 23:28:00 +01:00
Shauren
4799e5841d Core/Auras: Fixed cooldowns for procs calling PreventDefaultAction() in aura proc script
* This also fixes proc cooldows unneccessarily being sent to client
* Also removes the need for cooldown hacks when the proc trigger is selected randomly like for Deathbringer's Will

(cherry picked from commit 1e1fcd6847)
2017-01-08 23:24:51 +01:00
mik1893
5a93f2b974 Core/Spells: Proc handler script converions (#17122)
* Blazing Speed (Mage)
* Blessed Recovery (Priest)
* Druid Forms Trinket
* Idol Of Mutilation
* Nature's Guardian (Shaman)
* Nether Protection (Warlock)
* Piercing Shots and Bonus 4P T9 Hunter
* Lightning Shield (Shaman)
* Acclimation (DK)
* Move DK T10 4P Melee Bonus
* Move DK Improved Blood Presence triggered heal (DK)
* Rogue T10 2P Bonus
* Illumination (Paladin)
* Soul Preserver
* Death Choice trinket
* stack trinket scripts (ToC25 Caster Trinket, Lightning Capacitor, Thunder Capacitor)
* Battle Experience (ICC - Gunship)
* Blood Reserve (enchant proc)
* Darkmoon Card Greatness
* Charm of the Amani Witch Doctor
* Mana Drain

(cherry picked from commit 5b8e68ee63)
2017-01-08 22:37:18 +01:00
Alan Deutscher
1c60553df0 Core/Spells Make certain spells (e.g. Mind Control) properly flag the caster for PvP (#17145)
* This issue was caused by PvP-flagging being done calculated after the target's flag was turned off by becoming a pet.

(cherry picked from commit e7a12edb83)
2017-01-08 19:41:37 +01:00
vincent-michael
a2ee7e16ec Core/Quests: Fixed issue reported by static analysis
Coverity defect ID: 1355241

(cherry picked from commit a01fd52267)
2017-01-08 19:35:02 +01:00
mik1893
4c60bbea0e Core/Unit: Pet shouldn't be notified for DOT damage on the owner (#17133)
- Fix by @MrSmite
- Closes #16894
(cherry picked from commit 4de1426d08)
2017-01-08 19:32:51 +01:00
treeston
ae11329e71 Add a LOG_WARN when attempting to summon a non-existing summon group.
(cherry picked from commit 4d4d2f5665)

Seriously, who doesn't support std::string instead of char* in 2016?
(cherry picked from commit a012b37d66)
2017-01-08 18:12:33 +01:00
Nawuko
955bfae5ef Core/Movement: Fix issues where creatures cancel spell casts chasing target and Implement SPELL_ATTR5_CAN_CHANNEL_WHEN_MOVING
(cherry picked from commit bf2cee8cce)
2017-01-08 18:06:43 +01:00
treeston
86aa3997e4 Allow BossAI::_DespawnAtEvade to work on creatures other than the boss itself (optional argument).
(cherry picked from commit 6040e30fa3)
2017-01-08 17:31:42 +01:00
treeston
bef9683a30 Core/Scripts: Added reasonable default params to GetCreatureListWithEntryInGrid/GetGameObjectListWithEntryInGrid for ease of use. Also, entry = 0 means no filter now, since we lacked an easy way to get a list of all creatures in grid.
(cherry picked from commit 0d5adf356e)
2017-01-08 16:56:21 +01:00
Aokromes
473efd5f35 Rename 2017_01_08_00_world.sql to 2017_01_08_04_world.sql 2017-01-08 06:59:51 +01:00
Aokromes
b38f28d67a DB/Gameobject: Add 2 missing spawns
By Girib Dragos
2017-01-08 06:59:25 +01:00
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 ab0abdbde5)

This discussion is more effort than it takes to change it.
(cherry picked from commit b52a6b8570)
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 b7f2c87d37)

Too many damn stars in that damn argument list.
(cherry picked from commit afbda04767)
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 ef7df65256)

Build fix
(cherry picked from commit c03e7ecd05)

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

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

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

Fix SQL name
(cherry picked from commit 2329648cad)
2017-01-08 01:33:48 +01:00
Elimination
48b74f0f6a Core/Spells: Fix wrong totem placement
(cherry picked from commit 37b2f590b6)
2017-01-08 00:54:08 +01:00
Shauren
7eb1eb1715 Core/Random: Removed ancient and unused MAP_BASED_RAND_GEN
(cherry picked from commit 1ad02a0d61)
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 c42f0bd830)
2017-01-07 22:33:40 +01:00
Shauren
6f311fea53 Core/Auras: SPELL_AURA_PERIODIC_LEECH can now properly overkill
(cherry picked from commit 3d8bab8668)
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 d9dcbbc8af)
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 945abb163c)
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 66006e3d0d)
2017-01-07 21:54:25 +01:00
Ariel Silva
7f8a4ad3a7 Core/Spells: fix console spam (#17084)
(cherry picked from commit 8d09065525)
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 5668bc3234)
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 7b1560fccb)
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 26b084a90f)

align fix
(cherry picked from commit 58486fc19a)
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 769b7ff7fd)
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 e4a22f94e7)

Actually add the sql to last commit
(cherry picked from commit 9566b94688)
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 d6c05c5601)
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 4a85b652f2)
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 732ec94d9b)
2017-01-07 19:32:55 +01:00
Killyana
a82488a0c1 DB/Creature: Add accessory to Frigid Proto-Drake
(cherry picked from commit 17e661fd2d)
2017-01-07 03:34:54 +01:00
Killyana
8bb239fa1d DB/Quest: The Drakkensryd
Closes #1350
by Txknight

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

(cherry picked from commit e130593e85)
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 b82ffb88f7)
2017-01-07 03:29:18 +01:00
Killyana
cbebcd5bda DB/Creature: Dark Iron Land Mines
By adeutscher
Closes #17019

(cherry picked from commit b641d7ba25)
2017-01-07 02:30:23 +01:00