Commit Graph

30187 Commits

Author SHA1 Message Date
tkrokli
d8befaf68b Core/Scripts: npc_wormhole #define text moved to DB (#17805)
Another core script hardcoded text removal:
- removed #define text from script
- added the text to gossip_menu_option
- added and renamed enum to match DB entries
- minor additional adjustments and comments

Closes #6841
(cherry picked from commit 8a0990376d)
2017-02-18 14:42:03 +01:00
Gustavo
7e57e9a91b Improve scripts for quests Breakfast Of Champions and A Bear of an Appetite (#17780)
Properly despawn the related GameObjects after use of the quest item, avoiding multiple use and summon
(cherry picked from commit 5661b4686b)

Rename 2016_08_99_99_world.sql to 2016_08_23_03_world.sql
(cherry picked from commit 831975fa34)
2017-02-18 14:40:14 +01:00
SnapperRy
2574667854 Scripts/ArgentTournament: improve training dummy script
Now the ranged and charge target dummies will cast their spells and behave correctly for the related quests
(cherry picked from commit 433beb77e3)
2017-02-18 14:38:42 +01:00
SnapperRy
3b32bfb650 DB/Conditions: allow spell Counterattack! to target Sunreaver Hawkstrider
Used by the Argent Tournament's Melee Targets. Was only working for Alliance players due to wrong entry set for the Horde vehicle
(cherry picked from commit 02df4f840a)
2017-02-18 14:38:01 +01:00
Killyana
39360e69fe DB/Condition: Condition for Fumping spell used on The Big Bone Worm quest
Updates #11418
By  sirikfoll

(cherry picked from commit f1feb5ac30)
2017-02-18 14:36:40 +01:00
Killyana
c312fdd3cd DB/Condition: Bael'Gar's Fiery Essence
By sirikfoll
Closes #12909

(cherry picked from commit 4a3967c8c2)
2017-02-18 14:34:38 +01:00
SnapperRy
a45d43367c DB/Conditions: cosmetic fix for quest "War is Hell"
Fires will appear on the corpses' positions instead of the caster's
(cherry picked from commit aec583ffe9)
2017-02-18 14:31:44 +01:00
Shauren
9b63ee4333 Core/Creatures: Exclude despawned creatures from being found by "nearest entry" searchers
Updates #11418
Closes #17706

(cherry picked from commit 75c34bda67)
2017-02-18 14:30:32 +01:00
jackpoz
143f0c0e4d Core/Misc: Fix static analysis issues
(cherry picked from commit b7306f06f5)

# Conflicts:
#	src/server/game/Entities/Unit/StatSystem.cpp
2017-02-18 14:30:23 +01:00
ariel-
4910966f18 Core/Unit: removed ancient workaround changing spell caster based on triggering aura.
Keep an eye out for those broken scripts!

Closes #17739

(cherry picked from commit f183ed3c50)
2017-02-18 14:29:24 +01:00
Killyana
9b7f57dfde DB/Creature: Add immunity to Proto-Drake Egg
By DRJ
Closes  #17610

(cherry picked from commit 44fe17b6a1)
2017-02-18 13:58:49 +01:00
Killyana
3e7e6fa4ac DB/Gossip: Fix wrong gossip option text for Byancie
Closes #17697

(cherry picked from commit 308602eebf)
2017-02-18 13:57:38 +01:00
Killyana
c690bd14fc DB/SAI: Add missing SAI for Borean Tundra creatures
Closes #17744
By Kodekc

(cherry picked from commit a4e5c7545e)
2017-02-18 13:55:15 +01:00
Killyana
5ababe7c5f DB/Object: Update respawn time for ruby lilac
By Tauriella
Closes #17761

(cherry picked from commit 29e9331e3f)
2017-02-18 13:54:18 +01:00
Killyana
01069e62d5 DB: Fix more DB errors
(cherry picked from commit 755add6fd2)
2017-02-18 13:53:19 +01:00
joschiwald
c6632dc3ee Fixed build and typo 2017-02-18 13:40:03 +01:00
joschiwald
bc3ffceae4 Core/Misc: Added missing include 2017-02-17 22:23:54 +01:00
joschiwald
80c36f3d9c Scripts/Command: Fixed phases output in .pinfo command
Closes #19144
2017-02-17 21:54:49 +01:00
Shauren
06c1db0a0e Core/Movement: Named all MonsterSplineSpellEffectExtraData fields 2017-02-16 00:43:09 +01:00
Shauren
662f113c1d Core/Movement: Defined new spline flag 2017-02-15 23:59:13 +01:00
Keader
0ed67081bc Core/Spells: Fixed Chilled effect on Frostbolt, Frozen Orb and Blizzard (#19131) 2017-02-15 12:17:45 -02:00
Aokromes
7aefa7e588 Update ObjectMgr.h 2017-02-15 10:10:17 +01:00
Aokromes
fac5ce67db Game/Mapscripts: Implement SCRIPT_COMMAND_MOVEMENT
Cherry pick from 85357c75c4
2017-02-15 07:11:48 +01:00
Gacko
8821f59340 Update README.md. 2017-02-14 21:32:56 +01:00
Gennady
6e6bccce1c Core/Unit: Some improved function RemoveAuraFromStack (#19119) 2017-02-13 21:19:34 +01:00
RoG_Hannibal
23aca839fe Core/Spells: add slowing effect to Mage spell Frostbolt (#19092)
Closes #18932
2017-02-13 15:17:28 -02:00
RoG_Hannibal
d2dba9a5e0 Core/Spells: fix Priest spell Penance and Power Word: Shield (#19033)
- fix talent "The Penitent" for the spell Penance
- re-write Power Word: Shield

Closes #18520
2017-02-13 03:46:00 +01:00
joschiwald
b98132bded Fixed warning in gcc 5 2017-02-12 17:56:51 +01:00
Shauren
796872c2a7 Dynamic linking build fix
(cherry picked from commit 4d5fee0489)
2017-02-12 17:04:09 +01:00
Eilo
149a9854f7 Tools/mmaps_generator: Added estimated percentage progress to console output (#17798)
(cherry picked from commit 0a53d0b1fa)

# Conflicts:
#	src/tools/mmaps_generator/MapBuilder.cpp
2017-02-12 17:04:08 +01:00
mik1893
0536c9d969 Core/Spells: Fixed spells like Shadowform, Tricks of the Trade, Misdirection getting stuck in unusable state clientside if they failed earlier because of GCD
Closes #657
Closes #12913
Closes #17376

(cherry picked from commit 6d07fbf07c)

Typo fix

(cherry picked from commit 39311e0ce8)
2017-02-12 17:04:08 +01:00
Treeston
8b7934f718 Core/Spells: Fix orientation- and targeting-related issues if the creature isn't currently engaged in combat. (#17120)
Also disable spell focus system for vehicle control auras.

Closes #16572
Closes #17016
(cherry picked from commit 6f85422f0b)
2017-02-12 17:04:08 +01:00
Alan Deutscher
cd811271d9 Scripts: UNIT_FLAG_REMOVE_CLIENT_CONTROL no longer used as a method for preventing a unit from moving
UNIT_FLAG_REMOVE_CLIENT_CONTROL (formerly UNIT_FLAG_DISABLE_MOVE) is a client-only feature that should not be used for NPC scripting. All applications of this flag in scripts/ have been replaced with applications/removals of the UNIT_STATE_ROOT state.

Closes #17311

(cherry picked from commit 061b62a97d)
2017-02-12 16:52:18 +01:00
Aokromes
96fb2c9779 DB/Misc: Fix startup errors
(cherry picked from commit 2b3d72d1ba)

DB/Misc: Fix startup errors
(cherry picked from commit d76f077a7f)

DB/Misc: Fix startup errors
(cherry picked from commit 2151d5f420)
2017-02-12 16:52:01 +01:00
ariel-
32bdbb00d0 Core/Entities: fix a crash that would happen whenever a player logged back in to an ended arena battle. Thanks Nawuko for the input
Closes #17825

(cherry picked from commit 6d4eead3a9)
2017-02-12 16:50:26 +01:00
ariel-
0925c350e7 Core/Battlefield: Cleanup of Wintergrasp script and battlefield system:
- Standards: Moved all statics to cpps where they belong.
- Changed spawn position container from fixed size array to std::vector (not all positions were used in every case)
- Removed unused parameter teamId from Battlefield::SpawnCreature
- Removed workaround for GO rotation, added in a69cbeb9d5
- Added rotation parameter to Battlefield:SpawnGameObject
- Added sniffed rotation to existing script spawns.
- Implemented Archavon's Log (Closes #16880)

(cherry picked from commit 1deb7d2df1)
2017-02-12 16:50:06 +01:00
jackpoz
7616f22bfb Core/Commands: Code cleanup
Remove commented out code

(cherry picked from commit eb9bf314c4)
2017-02-12 16:27:58 +01:00
SnapperRy
f886788a67 Core/SpellArea: only check against spell_area entries for the current quest when updating quest status
Closes #17804

(cherry picked from commit 0b4b0ea348)
2017-02-12 16:27:43 +01:00
treeston
3a62ecb516 Core/Conditions: Add new CONDITION_TAXI (46). Does what it says on the tin. Tagging issue #15560.
(cherry picked from commit 08b3833051)
2017-02-12 16:27:20 +01:00
jackpoz
238072e67a Core/Battleground: Fix crash happening when reporting afk a nonexistent player
(cherry picked from commit f67d1158d1)
2017-02-12 16:27:01 +01:00
treeston
e201647ef5 Core/Spells: Fix Spell::EffectJumpDest not to turn caster to zero orientation when ground targeting.
(cherry picked from commit 78a44dd81e)

# Conflicts:
#	src/server/game/Spells/SpellEffects.cpp
2017-02-12 16:26:34 +01:00
Treeston
346e4824be Entities/Unit: Cleanup refactor. Changes: (#17819)
+ Unit::m_movedPlayer -> Unit::m_playerMovingMe
+ Player::m_mover -> Player::m_unitMovedByMe
+ Unit::GetMover() -> Unit::GetUnitBeingMoved()
+ Unit::GetPlayerMover() -> Unit::GetPlayerBeingMoved()
+ NEW: Unit::GetClientControllingPlayer()
(cherry picked from commit 8deda7ed7f)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Handlers/MiscHandler.cpp
#	src/server/game/Handlers/MovementHandler.cpp
#	src/server/game/Handlers/SpellHandler.cpp
#	src/server/game/Server/WorldSession.cpp
#	src/server/game/Spells/SpellEffects.cpp
#	src/server/game/Spells/SpellInfo.cpp
2017-02-12 16:24:25 +01:00
treeston
1091174f03 Merge remote-tracking branch 'Treeston/3.3.5-petaggro' into 3.3.5 (PR #17800)
(cherry picked from commit aeeae8d09c)
2017-02-12 16:08:32 +01:00
treeston
573cb9d20f AI/SmartScripts: SMART_ACTION_ADD_QUEST -> SMART_ACTION_OFFER_QUEST. Open quest offer instead of adding straight to log - old behavior can be requested using action_param2. Closes #17735.
(cherry picked from commit ba4d6f6393)
2017-02-12 16:07:27 +01:00
ariel-
a934722061 Core/ObjectMgr: added some more sanity checks to creature templates
- Extra: throwed semicolons around
- Clarified meaning for a vehicleId check (what it said didn't correspond to what was actually checked)

(cherry picked from commit 628792f960)

Core/ObjectMgr: Follow up on 628792f to remove some superfluous warnings.
(cherry picked from commit 768d978bd2)

Core/ObjectMgr: I knew I missed something.
(cherry picked from commit d3495da30b)
2017-02-12 15:57:34 +01:00
treeston
7b13e98327 AI/SmartScripts: Add param3 to SMART_ACTION_CAST and SMART_ACTION_INVOKER_CAST that allows specific triggered flags to be set (rather than all-or-nothing). Ignored if SMARTCAST_TRIGGERED is not set.
(cherry picked from commit 9072e0221b)
2017-02-12 15:50:43 +01:00
treeston
b18b05ee4a AI/SmartScripts: Add SMART_ACTION_DISABLE_EVADE (117).
(cherry picked from commit 14b44af38d)
2017-02-12 15:46:58 +01:00
treeston
d0f4588652 Core/SmartScripts: Add SMART_TARGET_LOOT_RECIPIENTS. Does what it says on the tin.
Use this new target type to fix The Rider of Blood, The Rider of Frost, The Rider of the Unholy. Closes #17817.

(cherry picked from commit e2c915fb43)
2017-02-12 15:46:19 +01:00
ariel-
8ea1a37761 Core/Player: readd player to battleground after a login (but only after adding it to map, preventing a crash). Closes #16141 (again)
(cherry picked from commit 3f9cf3fdb6)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
2017-02-12 15:45:12 +01:00
Killyana
4d67347ec0 DB/SAI: Add missing SAI for Mux Manascrambler
By Kodekc
Closes #17788

(cherry picked from commit 2c8da5e174)
2017-02-12 15:43:51 +01:00