Commit Graph

19438 Commits

Author SHA1 Message Date
ariel-
34f734c890 Core/Unit: Change aura proc pair container to vector 2016-10-17 04:55:44 -03:00
ariel-
2d0fb356de Core/Spell: clear auras of channeled spells if channeling is cancelled due to invalid targets (dead or w/e)
Closes #14859
Closes #15186
2016-10-17 04:33:36 -03:00
ariel-
2b9f807fd9 Core/Spells: mark Arcane Missiles aura as negative. Was downranking the spell when targetting low level mobs due to effect 1 flagged as possitive.
Closes #12152
2016-10-17 04:21:32 -03:00
ariel-
d9743c984f Core/Script: Fix improved drain soul mana return.
Ref #14859
2016-10-17 03:30:45 -03:00
ariel-
531904afff Core/SpellMgr: some changes in default proc generation. Fix an issue of stealth breaking with positive and/or healing spells 2016-10-17 02:19:29 -03:00
ariel-
9b0fa51022 Core/Globals: compute aura diminishing return info at startup and cache it
Core/Entities: Save diminish return on an array instead of a linked list
2016-10-17 01:52:40 -03:00
ariel-
f4a10571f7 Core/AuctionHouseBot: ahbot characters subsystem shake-up
Bonus: fix moar static analysis issues
2016-10-16 23:14:08 -03:00
ariel-
4bdebba520 Core/Scripts: fix static analysis issues
- Bonus: indentation fixes in zone_wintergrasp.cpp
2016-10-16 23:12:36 -03:00
SnapperRy
551a8ff8ae Core/Spell: allow SPELL_EFFECT_QUEST_COMPLETE to set a quest to rewarded only if that quest is used as internal flag by the server (has flag 1024 - QUEST_FLAGS_TRACKING). 2016-10-16 22:39:36 +02:00
SnapperRy
7666296f54 Core/Quest: show DIALOG_STATUS_AVAILABLE instead of DIALOG_STATUS_REWARD for non-repeatable autocomplete quests. 2016-10-16 22:34:07 +02:00
SnapperRy
c067fe544d Core/Quest: send correct packet when a quest cannot be rewarded for item-related errors. 2016-10-16 22:33:10 +02:00
treeston
0d725e1336 Entities/Creature: Fix an edge case issue where creatures would re-acquire target after respawn if they despawned while spell focusing.
Instance/AzjolNerub: Fix Anub'arak wall and add sequence break info. Fixes and closes #18013.
2016-10-16 12:35:47 +02:00
SnapperRy
b541310578 Core/Text: allow GENDER_NONE to use FemaleText in broadcast_text if not empty.
Otherwise it would only use MaleText, which breaks cases where female NPCs change model to one that has no gender.
2016-10-16 11:28:30 +02:00
SnapperRy
79acb9fa71 Fix warning.
Also, the quest's name is Arelion's Secret, not Arelion's Mistress.
2016-10-15 21:27:47 +02:00
SnapperRy
94c41c92b3 Script/Quest: Arelion's Mistress. 2016-10-15 21:23:43 +02:00
SnapperRy
97fd0c1b1a Core/Quest: do not set a quest to failed if it's rewarded or has no status at all (not taken). 2016-10-15 19:08:21 +02:00
treeston
59cbea00bc Scripts/AzjolNerub: Make pulling Anub'arak a bit cleaner. 2016-10-15 18:29:38 +02:00
treeston
1ecdea5374 Fix _DespawnAtEvade for other creatures to actually respawn said other creatures.
Also fix add aggro for Hadronox.
Fixes and closes #18012.
2016-10-15 18:18:56 +02:00
treeston
aab7abfd04 Core/Creature: Fix respawn logic to call reset react state BEFORE calling Reset(). Fixes Krik'thir behavior after a wipe (and maybe some others).
Fixes and closes #18011.
2016-10-15 13:19:17 +02:00
tkrokli
86759c4537 [3.3.5] Core/Scripts: move npc_braug_dimspirit to SAI (#17853)
Additional change: The answers have been changed from containing only names
to include the text ` is my answer.` from the matching lines in `broadcast_text`.

- added DB creature_text entries for Braug Dimspirit
- added DB gossip_menu_option entries for this NPC
- implemented NPC `Say` line in reply to the wrong answers
- avoiding gossip exploits by turning off npcflags during talk
- added conditions for showing gossip depending on quest status
- removed deprecated SD comments in zone_stonetalon_mountains.cpp
2016-10-15 02:16:40 +02:00
tkrokli
028a7b8e45 Core/Scripts: move npc_saat to DB (#17813)
The core script only contains gossip handling + conditions.
- remove script from file the_black_morass.cpp
- thereby removing 1 line of hardcoded text
- remove redundant SD2 comments in header
- add SAI, gossip and conditions to DB
2016-10-15 02:13:37 +02:00
tkrokli
b651bf271b [WIP] Core/Scripts: Gnomish Mind Control Cap and Gnomish Universal Remote (#17374) 2016-10-15 01:46:19 +02:00
SnapperRy
84439ff4d7 Remove deprecated procEx usage. 2016-10-15 00:43:07 +02:00
ariel-
303066509d Core/AI: initial support for monster sparring (#17673) 2016-10-15 00:20:37 +02:00
Keader
8fb2dce017 Core/Scripts: Implemented right Snobold Vassal behavior on Gormok fight. (#17934) 2016-10-15 00:01:58 +02:00
iridinite
6dc0a9f04a [3.3.5] AHBot Characters (#17885) 2016-10-14 23:52:26 +02:00
Keader
f0cd28be3d Core/Unit: Remove incorrect check that dont allow units attack your vehicle/passenger (#17932) 2016-10-14 23:41:38 +02:00
SnapperRy
727f77ec6a Core/SAI: always use DespawnOrUnsummon() for SMART_ACTION_FORCE_DESPAWN.
SmartAI uses that same method internally, so there's no need to handle it in two different ways.

Does not affect functionality, but prevents useless SAI error log in case the target creature is not using SAI.
2016-10-14 22:36:22 +02:00
Gustavo
8e82d8a9e7 Core/Scripts Boss Lady DeathWhisper improvements (#17389) 2016-10-14 21:44:49 +02:00
Kittnz
e0c2482fa1 Core/Event: Change Midsummer Music container to vector 2016-10-14 18:37:49 +02:00
Kittnz
30a3a93ef9 Core/Event: Change Midsummer Music to search grid only 2016-10-14 18:05:06 +02:00
SnapperRy
fdc4ab4ab4 Script/Creature: Scarshield Infiltrator/Vaelan. 2016-10-14 17:49:55 +02:00
ariel-
3e596376a7 Core/SmartScripts: fixup SMART_EVENT_FLAG_WHILE_CHARMED behaviour to only mean charmed creatures (#17738 follow-up)
Unit::IsControlledByPlayer is a expected value for TempSummons (like some triggers used in quests, summoned by spells).
Previous logic broke a lot of quests which use triggers to do stuff.

Allow JustSummoned and events linked from other events with flag set also in charmed (prevents breaking event chains)
Allow vehicles (needed for vehicles with SmartAI, eg Iron Rune Constructs and You: Rocket Jumping)
2016-10-14 03:59:13 -03:00
ariel-
b1777979c3 Core/Unit: disallow parry for totems 2016-10-14 02:14:19 -03:00
ariel-
271dd0788d Core/AI: added container independent wrappers for WorldObject::GetxxxInGrid 2016-10-13 22:44:59 -03:00
ariel-
4b5350c0a6 Core/Entities: fix dynamic linking 2016-10-13 22:28:08 -03:00
SnapperRy
8f09c7e867 Revert "Core/DBC: fix wrong field type for ItemLimitCategory.dbc."
I messed up, sorry.

This reverts commit 857c7bd06c.
2016-10-13 22:38:08 +02:00
SnapperRy
f9068a02f0 Core/Item: fix wrong error message triggered when trying to equip two items with the same ItemLimitCategory. 2016-10-13 20:36:43 +02:00
SnapperRy
857c7bd06c Core/DBC: fix wrong field type for ItemLimitCategory.dbc.
Fixes looting of items whose unique status only affects number of equipped items, and not number of items owned.
2016-10-13 20:36:17 +02:00
SnapperRy
5c419949b6 Core/Spell: overwrite DBC RangeEntry values for spells Concussive Barrage, Desecration and Polymorph.
Closes #17545.
2016-10-13 20:27:07 +02:00
ariel-
1667dd3b7a Core/Entities: extend available containers for WorldObject::GetxxxInGrid 2016-10-13 01:23:02 -03:00
ariel-
318f21b391 Core/Spells: Make slice and dice positive. Was breaking stealth.
This whole positive check needs some generic solution
2016-10-12 22:59:29 -03:00
ariel-
4a1f6eb3b1 Core/Scripts: Fix runtime error 2016-10-12 22:58:29 -03:00
SnapperRy
bdb08fba6e Script/Quest: Stop the Ascension! 2016-10-12 17:12:07 +02:00
ariel-
8167d6d4a0 Core/Spell: do not automatically set proc Family Name if no Family Flags present
Closes #18075
2016-10-12 10:01:38 -03:00
ariel-
aaa1a43204 Core/Spells: fix auto repeat spells triggering auras
Auto repeat spells are casted as triggered and didn't register procs properly if the aura can't proc with triggered
2016-10-12 01:32:40 -03:00
ariel-
449ec0d6ff Core/Auras: don't ignore SPELL_ATTR3_ONLY_TARGET_PLAYERS in area auras.
Also, start abusing the arbitrary containers for searchers introduced in 8775f8b28a
2016-10-11 22:01:42 -03:00
Shauren
1c7f099297 Core/Items: Defined all item flags
(cherry picked from commit ef29f32965)
2016-10-11 19:46:29 -03:00
SnapperRy
41445e0d3e Core/Loot: revert unique item check introduced in ea69115.
Proven to be wrong in its current form. Will reintroduce later either in the same method or via db conditions.
2016-10-12 00:13:46 +02:00
SnapperRy
fffeae0da2 Core/Loot: limit unique items check introduced in ea69115 to affect only items that start a quest.
Turns out epic and legendary items are excluded from this limitation (or it could be just instanced content that is immune to this). Other qualities are affected as normal. Sorry for the mishap.
2016-10-11 23:36:49 +02:00