Commit Graph

29129 Commits

Author SHA1 Message Date
Aokromes
7ea03a2e47 Core/Conditions: Add new CONDITION_TAXI (46). Does what it says on the tin. Tagging issue #15560. 2016-08-20 14:48:34 +02:00
jackpoz
8fcb5ace9d Core/Battleground: Fix crash happening when reporting afk a nonexistent player 2016-08-20 14:43:15 +02:00
treeston
cd53178361 Core/Spells: Fix Spell::EffectJumpDest not to turn caster to zero orientation when ground targeting. 2016-08-20 13:15:23 +02:00
Aokromes
5023384dab Update boss_jedoga_shadowseeker.cpp 2016-08-20 12:33:28 +02:00
Aokromes
56b3f461fe Core/Scripts: move Pet Trainer gossip to DB
SQL content based  on issue 14719 by Killyana,
conditions output from Malcrom's Condition Creator

- remove hardcoded #define gossip options
- enum gossip menu IDs from DB
- remove outdated SD comments at the top of the file
2016-08-20 12:22:58 +02:00
treeston
3755efcb8e Core/ObjectMgr: I knew I missed something. 2016-08-20 11:10:02 +02:00
treeston
3d9a11d744 Core/ObjectMgr: Follow up on 628792f to remove some superfluous warnings. 2016-08-20 11:03:12 +02:00
Aokromes
b0594862e2 ddf 2016-08-20 06:23:31 +02:00
Chaouki Dhib
c152bbe17d 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 06:23:00 +02:00
treeston
190ef9fc54 Pet/DK: Make Risen Ghoul and Bloodworms no longer suicidally charge into not-yet-engaged mob packs. 2016-08-20 06:22:42 +02:00
treeston
5b819fa0f1 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-20 06:22:19 +02:00
ariel-
dbe992b25b 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-20 06:20:11 +02:00
treeston
7b036961f3 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-20 06:19:54 +02:00
treeston
0e47f961c9 AI/SmartScripts: Add SMART_ACTION_DISABLE_EVADE (117). 2016-08-20 06:19:41 +02:00
treeston
c2fd73c95d 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.
2016-08-20 06:19:26 +02:00
Aokromes
8d12a82f5b Core/Player: readd player to battleground after a login (but only after adding it to map, preventing a crash). 2016-08-20 06:18:56 +02:00
jackpoz
bb2db482da Revert "Core/Battlegrounds: Properly readd player to Battleground containers after a login."
This reverts commit fbc521084c.
Fixes #17810
2016-08-20 06:15:27 +02:00
Aokromes
312dab2c5c DB/Misc: 3.3.5a fixes. 2016-08-20 06:14:07 +02:00
Aokromes
894c6604be Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2016-08-18 15:45:38 +02:00
Aokromes
52658668b4 DB/Loot: add loot for quests Hot On the Trail: Murlocs and Hot On the Trail: The Riverpaw Clan 2016-08-18 15:44:35 +02:00
Aokromes
dfb71705d7 Update README.md 2016-08-18 12:45:00 +00:00
Aokromes
fb7060992b Buildsystem/MSVC: Drop support to VS2013
Upgrade to VS2015 following the steps explained in the wiki
2016-08-18 14:41:19 +02:00
Aokromes
9972e4d933 DB/Misc: 3.3.5a fixes 2016-08-18 09:53:25 +02:00
ariel-
2ea1adc544 Core/Globals: delete another synch query using CharacterInfo map 2016-08-18 09:48:01 +02:00
ariel-
9d1fc3e94d Core/World: short circuit setWorldState and avoid a db query in case there's nothing to update really 2016-08-18 09:47:42 +02:00
jackpoz
90b22c6cd4 Core/MMAPs: Update recast
Update recast to recastnavigation/recastnavigation@64385e9
2016-08-18 09:46:18 +02:00
Aokromes
8d720ee52f Core/ObjectAccessor: optimize FindPlayerByName by saving a map of player names to Player 2016-08-18 09:41:38 +02:00
jackpoz
e6c7894be1 Tools/MMapGenerator: Avoid saving uninitialized padding bytes to disk
Initialize padding bytes in MmapTileHeader struct to avoid saving uninitialized data to disk, causing issues when binary-comparing *.mmtile files.
2016-08-18 09:35:04 +02:00
treeston
77e4a1e487 Revert "Creature/Loot: Fix a bug that prevented players from looting creatures that only had gold on them (no items)."
This reverts commit 63f577a7ef.

See discussion in commit comments.
2016-08-16 23:34:40 +02:00
treeston
0ffd02f540 Creature/Loot: Fix a bug that prevented players from looting creatures that only had gold on them (no items). 2016-08-16 15:35:01 +02:00
Aokromes
80eeea4f85 Core/PlayerDump: add missing character_queststatus_* columns to dump 2016-08-16 12:32:59 +02:00
ariel-
4d41ec93a0 Core/Battlegrounds: Properly readd player to Battleground containers after a login.
Closes #16141
2016-08-16 12:30:38 +02:00
ariel-
b92ba1e11d Core/Player: Do not kick AFK player from BG if it's a GM 2016-08-16 12:26:54 +02:00
ariel-
30e0460306 Core/Scripts: allow ".debug arena" and ".debug battleground" commands to be issued in the console 2016-08-16 12:26:33 +02:00
Aokromes
375b7a61c4 Core/Units: Fixed melee range check
* Split Spell::CheckRange() into 2 methods since that method had more than one responsibility.
* Moved melee range logic into its own function
* Moved melee range logic method GetMeleeRange from Spell to Unit class. Unit::IsWithinMeleeRange() and Spell::GetMinMaxRange() both use that method.
2016-08-16 12:25:53 +02:00
Aokromes
9eb8cffe35 DB/Creature: Fix model for hobo cart 2016-08-16 09:51:20 +02:00
robinsch
c406fb2a73 Core/Spell: Remove all raid auras on party leave (#17663)
Core/Spell: Remove all raid auras on party leave
2016-08-15 00:03:33 +02:00
Aokromes
b797a5edbc DB/Misc: Updates
1) Update to conditions for Zombiefest as previous conditions appear to have stopped working correctly
2) Update for Dark Subjugator to prevent these becoming bugged, also correct unit flags for the sentrys to prevent these from agroing player if too close and dropping immune subjugator if killed
3) Conditions to prevent console spam from Bone Warrior closes
2016-08-14 23:58:12 +02:00
Aokromes
960c22e602 Core/Scripts: remove script npc_timothy_daniels
The core script `npc_timothy_daniels` is no longer needed,
all the gossip handling is already present in the database.

- remove core script npc_timothy_daniels
- remove ScriptName from c_t entry in DB
2016-08-14 23:57:06 +02:00
Aokromes
34c249458f Fix compile after coding style 2016-08-14 21:04:15 +02:00
Aokromes
6487dd39b3 Core/Entities: 3.3.5a coding style 2016-08-14 20:39:58 +02:00
Aokromes
6443c02225 Compile fix 2016-08-14 20:26:57 +02:00
Aokromes
95e1c8cdf4 Merge branch 'patch-2' into '4.3.4'
Update Player.cpp



See merge request !33
2016-08-14 18:06:26 +00:00
PORTELAS Michael
6f22ed66c3 Update Player.cpp 2016-08-14 18:04:41 +00:00
Aokromes
98c36cae3e Merge branch 'patch-1' into '4.3.4'
Update Player.cpp



See merge request !32
2016-08-14 17:36:21 +00:00
PORTELAS Michael
41fbfa3b14 Update Player.cpp 2016-08-14 17:05:08 +00:00
Aokromes
e08028bc6b Rename file 2016-08-14 10:18:12 +02:00
Aokromes
69b8d5be94 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2016-08-14 10:17:14 +02:00
tkrokli
d847bcdac4 Core/Scripts: move npc_mortog_steamhead to DB
Move core script npc_mortog_steamhead to database
- script contains gossip handling + 1 condition
- both actions can be handled in DB settings
2016-08-14 10:16:43 +02:00
treeston
1fc6f18024 Entities/Player: Fixed an edge case bug that could cause a character to get stuck in forced recustomization indefinitely if two or more appearance properties were out of bounds. 2016-08-14 10:16:32 +02:00