Commit Graph

31034 Commits

Author SHA1 Message Date
Aokromes
214b5a65e3 DB/Misc: Misc fixes for Dun Morogh
By Malcrom
2017-06-02 16:07:06 +02:00
ariel-
2e3197f944 Core/Globals: add more AIName and MovementType checks to ObjectMgr
- Ninja fix AI factories (restores prev behaviour of not selecting stuff with PERMIT_BASE_NO)

Closes #19831
2017-06-02 10:23:44 +02:00
Keader
58747b0037 Core/Scripts: Fixed some events that not should triggered by non-players on Illidan encounter 2017-06-02 10:23:28 +02:00
Aokromes
ab48f6d3fe DB/Creature: Fix incorrect MovementTypes 2017-06-02 01:50:34 +02:00
Aokromes
f5a923f834 DB/Creature: Fix 2 incorrect MovementType
Updates #19831
2017-06-02 01:47:04 +02:00
Shauren
0a61a3ffb5 Core/Groups: Fixed calculating canReset attribute
Broken in d6df19cd99.
2017-06-02 00:23:00 +02:00
Shauren
080fd33e13 Revert "Core/Groups: fix wrong query for loading group instance data. canReset attribute was calculated in the wrong way"
This reverts commit 0c1dd398bd.

Closes #19745
2017-06-02 00:22:46 +02:00
Aokromes
627e5f3c3c DB/Misc: Fix structure 2017-06-02 00:21:13 +02:00
Aokromes
58c9ac5c68 DB/Misc: Human start zone fixes 2017-06-02 00:07:08 +02:00
Aokromes
123c10a395 Scripts/Stockades - Add scripts to instance
By Artamedes
2017-06-01 23:55:52 +02:00
Keader
4292ac7039 Core/Spells: Removed duplicated check again followup 3a0417f712
to send some info to client
2017-06-01 14:05:32 +02:00
Keader
52551be039 Core/Spells: Removed duplicated check
unitTarget was checked twice in Spell::EffectTaunt
2017-06-01 14:05:14 +02:00
Aokromes
1c6021ba96 Core/AI: Factory functions cleanup
- Get rid of fugly void pointers
- Streamlined AI selection code, using Permissible as it should've been instead of harcoded checks on the selector code
- Moved IdleMovementGenerator singleton to factory code
2017-06-01 13:22:24 +02:00
Aokromes
04f799c14b DB/Creature: Gug Fatcandle SAI
By Malcrom
2017-06-01 10:08:07 +02:00
Aokromes
7ddba01f61 DB/Gameobject: Spawn some missing portals
By ArcaneFox
2017-06-01 00:04:40 +02:00
treeston
aef568cdd1 Fix an issue where CanSpawn would never get invoked on creatures without per-guid script. 2017-05-31 16:10:04 +02:00
treeston
a83b77485a Add another helper to ScriptedGossip.h for resolving listId -> action. 2017-05-31 16:09:56 +02:00
Aokromes
ef7d2901e1 typo fix 2017-05-30 11:38:48 +02:00
Aokromes
a412fab2d7 typo fix 2017-05-30 11:10:29 +02:00
Aokromes
2d94972577 missing part 2017-05-30 10:20:27 +02:00
Aokromes
01fdc65761 rename files 2017-05-30 10:04:04 +02:00
sirikfoll
57ba5b9283 DB/Creature: Add missing values in creature_model_info for Ulduar bosses 2017-05-30 09:57:21 +02:00
sirikfoll
519af6e6e6 Core/Scripts Properly set Freya's BossState do DONE and avoid some loot exploits
Closes #19823
2017-05-30 09:57:03 +02:00
Aokromes
dff1518ac2 Scripts/Command: implement .debug play music command 2017-05-30 09:55:45 +02:00
Treeston
16e60ba408 Partial revert of 15a207f, which was causing issues (ref #4943 and #19768). Instead, fix the underlying issue from 15a207f one level further down - Unit::getAttackerForHelper() shouldn't return units that we aren't in combat with (victim can be such a unit for players/player pets, which can startattack from a distance without entering combat). (#19814)
Fixes the following issues:
- Player pets would aggro neutral mobs as soon as they start autocasting (Imp's Firebolt) if they're in react range (due to victim != null, autocast counts as autoattack and sets victim)
- Neutral mobs would randomly evade when aggro switched between targets.

Closes #19768, #19485 and #10921.

(from PR #19814)
2017-05-30 09:21:38 +02:00
Killyana
9522f968c2 DB: Add some missing Broadcast Text 2017-05-30 09:21:29 +02:00
ariel-
8ebe95f3ac DB/Spell: fix Deep Freeze proc
Closes #19780
2017-05-30 09:21:19 +02:00
ariel-
e778c4c628 Core/Spell: in case of immunity, check all effects to choose correct procFlags, as none has technically hit 2017-05-30 09:21:03 +02:00
Treeston
e80602f048 Fix evade issues when a spell hits the target just before evading. (#19815)
- Creatures should no longer get stuck in evade mode following a target if a spell hits the creature just as it's entering evade mode.
- Fixes and closes #4943. Finally.
2017-05-30 09:20:49 +02:00
Dr-J
2f91389e7d DB/Conditions: Charles Worth
Correct conditions for gossip

closes #19516
2017-05-30 09:20:39 +02:00
tkrokli
ec92fb9437 DB/creature: fix invalid equipment on Caynrus (creature ID 4240)
* Since 2014_03_30_04_world_creature_equip_template.sql,
  Caynrus <Shield Merchant> has erroneously been equipped with
  item ID 1961 (Monster - Shield, Buckler Wooden) and in wrong hand,
  making the item look like a blue & white box ("unobtainium").

  Instead of moving the buckler to his off-hand slot,
  he gets his 2H Bent Staff (item ID 35) back.

  His equipped item was removed in Cataclysm, patch 4.0.3a.
2017-05-30 09:20:30 +02:00
Killyana
4f0676ba9c DB/Creature: Remove double spawns from Death Knights area 2017-05-30 09:20:19 +02:00
Dr-J
ea21884542 DB/SAI: Add some missing charmed flags
DB/SAI: Add missing charmed flags to blight geists which is required for when they are charmed as part of it roll's downhill.
2017-05-30 09:20:07 +02:00
Aokromes
6021c8d29c typo fix on previous commit 2017-05-29 19:20:32 +02:00
Aokromes
9016c37389 DB/Misc: Fix some missing texts 2017-05-29 00:04:53 +02:00
Aokromes
d896903f45 typo fix 2017-05-28 23:47:01 +02:00
Aokromes
ca078cdbb0 Fix travis 2017-05-28 23:33:10 +02:00
Aokromes
b46b78566e Merge branch '4.3.4' into '4.3.4'
Several small misc fixes

See merge request !44
2017-05-28 20:07:28 +00:00
Ryan
25eabf2471 Core/Bnet: Fix battlenet login 2017-05-28 20:42:10 +01:00
Ryan
79661eeb39 Fix build 2017-05-28 20:19:48 +01:00
Ryan
e054036742 Fix SMSG_POWER_UPDATE 2017-05-28 20:19:33 +01:00
Ryan
a289acff81 Core/Spells: Fix SPELL_AURA_FIXATE 2017-05-28 20:14:31 +01:00
Ryan
cc9c363b00 Core/Instance: Reset FAIL to NOT_STARTED on load 2017-05-28 20:13:42 +01:00
Ryan
b1de58c7f8 Core/Phases: Fix area phase handling
Now honors the zone id as well as area id
2017-05-28 20:01:36 +01:00
Ryan
f29874d7ad Core/Player: Add missing return 2017-05-28 19:58:44 +01:00
Ryan
be1ca945c7 Core/Player: Fixed gem activation requirements
Not sure if the structure is totally correct, but it can now properly read all the data we actually use
2017-05-28 19:55:25 +01:00
Aokromes
36b4834ba3 Merge branch '4.3.4' into '4.3.4'
Spell system ports from 335

See merge request !43
2017-05-28 18:26:31 +00:00
Ryan
34a73e8cf1 Last sql 2017-05-28 19:20:48 +01:00
Ryan
1442984686 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2017-05-28 19:10:00 +01:00
Ryan
b3133ef69f Update spell_proc SQLs
Used most recent dump of 335 spell_proc table, because many DB-only commits were not cherry-picked.
Removed entries for spells that no longer exist in 434.
2017-05-28 19:09:22 +01:00