Commit Graph

26151 Commits

Author SHA1 Message Date
SnapperRy
91cdbf8edd DB/Quest: fix event for quest "Mimicking Nature's Call" 2016-08-24 00:20:57 +02:00
SnapperRy
1fcd03b60a Core/SmartAI: allow SMART_TARGET_OWNER_OR_SUMMONER to target a temporary summon's summoner, too (#17851)
Core/SmartAI: allow SMART_TARGET_OWNER_OR_SUMMONER to target a temporary summon's summoner, too
2016-08-24 00:13:26 +02:00
Treeston
753f047295 Merge pull request #17852 from SnapperRy/update_entry_level
Core/SmartAI: add param2 to SMART_ACTION_UPDATE_TEMPLATE to prevent change of level between entry updates
2016-08-24 00:11:55 +02:00
SnapperRy
a6ef9d4539 Core/SmartAI: add param2 to SMART_ACTION_UPDATE_TEMPLATE, allowing to specify if creature's level should remain the same between entry updates.
A value of 0 (default) forces the creature to keep its current level between entry updates.

Fixes #16371
2016-08-23 23:46:24 +02:00
SnapperRy
fb6d4dd98f Core/Event: prevent seasonal quests from resetting at server restart (#17455)
Closes #16015.
Closes #16413.
2016-08-23 15:49:38 +02:00
SnapperRy
6036b07f25 Rename 9999_99_99_99_world.sql to 2016_08_23_05_world.sql 2016-08-23 13:37:38 +02:00
SnapperRy
894378f867 Event/Brewfest: implement relay race (#17603) 2016-08-23 13:36:57 +02:00
SnapperRy
9985e63800 Rename 2016_08_21_08_world.sql to 2016_08_23_04_world.sql 2016-08-23 13:32:18 +02:00
tkrokli
8a0990376d 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
2016-08-23 13:30:27 +02:00
SnapperRy
831975fa34 Rename 2016_08_99_99_world.sql to 2016_08_23_03_world.sql 2016-08-23 13:22:48 +02:00
Gustavo
5661b4686b 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
2016-08-23 13:21:03 +02:00
SnapperRy
433beb77e3 Scripts/ArgentTournament: improve training dummy script
Now the ranged and charge target dummies will cast their spells and behave correctly for the related quests
2016-08-23 13:14:38 +02:00
SnapperRy
02df4f840a 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
2016-08-23 11:36:17 +02:00
Killyana
f1feb5ac30 DB/Condition: Condition for Fumping spell used on The Big Bone Worm quest
Updates #11418
By  sirikfoll
2016-08-23 09:33:32 +02:00
Killyana
4a3967c8c2 DB/Condition: Bael'Gar's Fiery Essence
By sirikfoll
Closes #12909
2016-08-23 09:16:38 +02:00
SnapperRy
aec583ffe9 DB/Conditions: cosmetic fix for quest "War is Hell"
Fires will appear on the corpses' positions instead of the caster's
2016-08-22 21:55:15 +02:00
Shauren
75c34bda67 Core/Creatures: Exclude despawned creatures from being found by "nearest entry" searchers
Updates #11418
Closes #17706
2016-08-22 21:10:43 +02:00
jackpoz
b7306f06f5 Core/Misc: Fix static analysis issues 2016-08-22 14:17:24 +02:00
ariel-
f183ed3c50 Core/Unit: removed ancient workaround changing spell caster based on triggering aura.
Keep an eye out for those broken scripts!

Closes #17739
2016-08-21 18:02:36 -03:00
Shauren
4d5fee0489 Dynamic linking build fix 2016-08-21 18:51:11 +02:00
Shauren
39311e0ce8 Typo fix 2016-08-21 18:40:06 +02:00
Killyana
44fe17b6a1 DB/Creature: Add immunity to Proto-Drake Egg
By DRJ
Closes  #17610
2016-08-21 17:44:01 +02:00
Killyana
308602eebf DB/Gossip: Fix wrong gossip option text for Byancie
Closes #17697
2016-08-21 17:38:49 +02:00
Killyana
a4e5c7545e DB/SAI: Add missing SAI for Borean Tundra creatures
Closes #17744
By Kodekc
2016-08-21 17:33:30 +02:00
Killyana
29e9331e3f DB/Object: Update respawn time for ruby lilac
By Tauriella
Closes #17761
2016-08-21 17:11:02 +02:00
Killyana
755add6fd2 DB: Fix more DB errors 2016-08-21 16:35:14 +02:00
Eilo
0a53d0b1fa Tools/mmaps_generator: Added estimated percentage progress to console output (#17798) 2016-08-21 11:44:22 +02:00
mik1893
6d07fbf07c 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
2016-08-21 11:32:42 +02:00
Treeston
6f85422f0b 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
2016-08-21 11:07:38 +02:00
Alan Deutscher
061b62a97d 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
2016-08-21 11:04:59 +02:00
Aokromes
2151d5f420 DB/Misc: Fix startup errors 2016-08-21 10:41:06 +02:00
Aokromes
d76f077a7f DB/Misc: Fix startup errors 2016-08-21 10:25:56 +02:00
Aokromes
2b3d72d1ba DB/Misc: Fix startup errors 2016-08-21 10:06:14 +02:00
ariel-
6d4eead3a9 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
2016-08-20 22:19:49 -03:00
ariel-
1deb7d2df1 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)
2016-08-20 21:40:43 -03:00
jackpoz
eb9bf314c4 Core/Commands: Code cleanup
Remove commented out code
2016-08-20 20:53:08 +02:00
SnapperRy
0b4b0ea348 Core/SpellArea: only check against spell_area entries for the current quest when updating quest status
Closes #17804
2016-08-20 18:22:43 +02:00
Shauren
836fe5d1ed Core/Spells: Fixed possible null pointer dereference
Coverity CID 1357406

(cherry picked from commit cc07a491f6)
2016-08-20 15:51:15 +02:00
treeston
08b3833051 Core/Conditions: Add new CONDITION_TAXI (46). Does what it says on the tin. Tagging issue #15560. 2016-08-20 14:36:45 +02:00
jackpoz
f67d1158d1 Core/Battleground: Fix crash happening when reporting afk a nonexistent player 2016-08-20 14:29:09 +02:00
treeston
78a44dd81e Core/Spells: Fix Spell::EffectJumpDest not to turn caster to zero orientation when ground targeting. 2016-08-20 13:08:09 +02:00
Treeston
8deda7ed7f 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()
2016-08-20 12:43:04 +02:00
treeston
d3495da30b Core/ObjectMgr: I knew I missed something. 2016-08-20 11:08:56 +02:00
treeston
768d978bd2 Core/ObjectMgr: Follow up on 628792f to remove some superfluous warnings. 2016-08-20 11:00:56 +02:00
Chaouki Dhib
333a3e05f6 Core/Spells: Fixed extended spell range while moving Closes #17818 (#17824)
Cherry pick of 10e0f4ff8f
Closes https://github.com/TrinityCore/TrinityCore/issues/17818
2016-08-20 00:25:30 +01:00
treeston
aeeae8d09c Merge remote-tracking branch 'Treeston/3.3.5-petaggro' into 3.3.5 (PR #17800) 2016-08-19 23:54:44 +02:00
treeston
ba4d6f6393 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. 2016-08-19 23:01:21 +02:00
jackpoz
4073cc510a Core/Packets: Port packet handling rework from 6.x branch (#17777)
* Core/Packets: Port packet handling rework from 6.x branch

Port packet handling reword from 6.x branch. Old handlers are still used at the moment, these changes allow to port old handlers to new packet-specifc ones.
2016-08-19 22:29:00 +02:00
ariel-
628792f960 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)
2016-08-19 13:54:08 -03:00
treeston
9072e0221b 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. 2016-08-19 15:23:19 +02:00