Commit Graph

26621 Commits

Author SHA1 Message Date
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
ariel-
d911983f27 DB/Spell: Fix Glyph of Healing Wave 2016-10-12 21:46:29 -03:00
SnapperRy
f20795ff36 Forgot to change guid. 2016-10-12 17:16:23 +02: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
SnapperRy
00ad5b2d67 DB/Creature: add additional text for Chief Plaguebringer Harris. 2016-10-12 12:50:11 +02:00
ariel-
9128e377e0 DB/Spell: Fix a few nonworking procs:
- Icy Talons, Holy Concentration, Surge of Light, Trauma, Glowing twilight scale: these auras have SPELL_ATTR3_CAN_PROC_WITH_TRIGGERED,
but spells triggering them don't have SPELL_ATTR2_TRIGGERED_CAN_TRIGGER_PROC or SPELL_ATTR3_TRIGGERED_CAN_TRIGGER_PROC_2, so I suspect a wrong flag implementation in the core. Setting the "can proc with triggered" attribute for now.

- Trauma, Glowing twilight scale: added spell_proc entry to override SPELLFAMILY_PALADIN in dbc (no spells from other spell family could trigger this)

- Light's Grace: Casted Holy Light was proccing the triggered aura and removing the charge instantly, Add "must use spell mod" attribute.

- Dislodged Foreign Object: should proc on damaging spell casts only (has positive spell proc flag in DBC)
2016-10-12 02:54:01 -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
ariel-
3cbd4bc22f DB/Spell: Fix Infusion of Light proc 2016-10-11 20:39:31 -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
ariel-
d685c7079d Core/Scripts: Implemented Blessing of the Eternals Earthliving proc chance increase 2016-10-11 17:59:34 -03:00
SnapperRy
b0779cbb02 DB/Creature: cosmetic lightning effect for quest The Staff of Storm's Fury's location. 2016-10-11 20:58:05 +02:00
SnapperRy
4f200b99d0 DB/Creature: Abdul the Insane.
Spawn, waypoints, texts.
2016-10-11 20:52:38 +02:00
SnapperRy
1c94f4c39e DB/Loot: item Abandoned Adventurer's Satchel should always drop from Northrend rares. 2016-10-11 20:43:57 +02:00
SnapperRy
10329104be DB/Quest: add vendor conditions for quest items related to A Carver and a Croaker and Parts for the Job. 2016-10-11 20:42:07 +02:00
SnapperRy
387b18775d Script/Quest: Apply Heat and Stir.
Enjoy one of the most frustrating quests in Northrend!
2016-10-11 16:59:28 +02:00
SnapperRy
f64041e602 DB/Gossip: fix gossip for creature Jack Adams.
Involved in quest Gambling Debt (Part 2).
2016-10-11 11:16:51 +02:00
SnapperRy
407983f3a3 DB/Conditions: spells Plagued Blood Explosion and Arcane Charges can only hit certain mobs. 2016-10-11 11:14:11 +02:00
ariel-
b8a1a18a5a Core/Creature: Call SetSpawnHealth after JustReachedHome in HomeMovementGenerator
Fixes issues with quests that rely on this behaviour (eg Free your Mind)

Also updated SetSpawnHealth so it doesn't do anything in case spawn is manual (SetHealth(GetHealth()) does modify things depending on deathstate)
2016-10-11 01:43:14 -03:00
ariel-
e2a8cf6809 Core/SmartAI: There's a function for that 2016-10-10 19:05:28 -03:00
ariel-
f749dea8b2 Core/Scripts: don't check ghoul each update. Send proper text packet, so client replaces %s with DK name 2016-10-10 19:05:06 -03:00
ariel-
a129b41f3d Core/Spells: fix runtime error
Partial revert of 11650e4008
2016-10-10 16:31:47 -03:00
ariel-
d429273410 Core/Scripts: fix warning reported by MSVC 2016-10-10 16:23:12 -03:00
Killyana
2fc9f61409 DB/Gameobject: Fix respawn time for some objects
By Tauriella
Closes #18066
2016-10-10 21:04:43 +02:00
jackpoz
bf5c37a5d0 Dep/G3D: Backport warning fix from G3D10 2016-10-10 20:16:55 +02:00
SnapperRy
04618be427 DB/Misc:
- Quest Nessa Shadowsong and following steps are only available to Night Elves.
- Fix offer reward text for quest Elanaria.
- NPC Webwood Spider should be neutral.
- Small cosmetic fix for quest Force Commander Danath's end event.
- Prevent NPCs Gnarlpine Shaman and Elder Timberling from spamming healing spells.
2016-10-10 17:56:49 +02:00
Killyana
0ecb8836e2 DB/Quest: ... Or Maybe We Don't 2016-10-10 17:49:19 +02:00
SnapperRy
a13379a328 Rename 2016_10_09_01_world.sql to 2016_10_09_01_world_335.sql 2016-10-10 14:15:10 +02:00
SnapperRy
173b33ab73 DB/SAI: fix quest Gambling Debt (Part 1).
Closes #18063.
2016-10-10 14:04:41 +02:00
SnapperRy
5267381e39 Core/SAI: don't reset event phase when npc evades/resets.
The scripts themselves should take care of that.
2016-10-10 13:58:07 +02:00
ariel-
4cdbc1a09b Core/Spell: Fix 2 more off by one probability calc and duplicated logic in spell hit roll 2016-10-09 20:18:07 -03:00
Krudor
73a72fb7d3 Core/Spells: Effect leap back fix (#18057)
* Fixed unintentional typo?

Seemed to fix the issues related to the effect for the spells I tried.
Sometimes the caster triggers leapback onto targets, and with the old
code, it instead made the caster leap back instead of its targets

(cherry picked from commit 08aab73c7f)
2016-10-09 21:57:36 +02:00
SnapperRy
b60b0d927b DB/Loot: Dustbringer. 2016-10-09 12:25:43 +02:00
SnapperRy
4870e1265e DB/Loot: Blacktip Shark.
By Exodius, untaught and tkrokli. Closes #9453.
2016-10-09 10:18:36 +02:00
ariel-
10437a1e2e Core/Unit: enabled parry for all creatures, not only humanoids
If there's some creature that _shouldn't_ parry, use the `flags_extra` field in `creature_template` table
2016-10-09 01:55:14 -03:00
ariel-
86903f7015 Core/Auras: moved check for CC auras out of proc handler, and fixed its logic 2016-10-09 01:48:48 -03:00
ariel-
ae6c35541b DB/Spells: revised SpellTypeMask for Procs that needed it.
Correction on Evasive Maneuvers (Oculus drake aura) proc

(845102b9fd follow-up)

Query used:
SELECT * FROM `spell_proc` WHERE `SpellFamilyName` = 0 AND `SpellTypeMask`=0 ORDER BY SpellId ASC;
2016-10-09 01:24:00 -03:00