Commit Graph

26589 Commits

Author SHA1 Message Date
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
ariel-
666422d827 Core/Scripts: added missing null checks for DamageInfo struct 2016-10-08 22:20:49 -03:00
SnapperRy
b8bb1545ec Core/Wintergrasp: fix ownership of workshops at the beginning of a new battle.
Those two, together with the two workshop in the Keep, always belong to the defender team. The SouthEast and SouthWest ones always belong to the attacker team.
2016-10-09 00:18:42 +02:00
ariel-
abe514d548 Core/Scripts: fix some copy paste and indentation mistake in Chimera Shot script 2016-10-08 17:13:27 -03:00
ariel-
11650e4008 Core/Scripts: updated Lock and Load script with new hooks, DamageInfo might be null, so check for that too 2016-10-08 16:48:03 -03:00
SnapperRy
eb1a7297cf Core/Wintergrasp: cleanup and codestyle. 2016-10-08 21:13:05 +02:00
SnapperRy
dab2203c1b DB/Wintergrasp: availability of different No Mercy for the Merciless and Slay Them All! depends on who is currently holding the keep. 2016-10-08 20:44:57 +02:00
jackpoz
2edfedc2b6 Scripts/Azjol-Nerub: fix static analysis issues 2016-10-08 19:21:40 +02:00
Kittnz
eee7fa3fa7 Core/Scripts: Initialize rnd and remove where it was not needed 2016-10-08 16:43:08 +02:00
SnapperRy
cf4a4382fa DB/Wintergrasp: four more Horde guards in Wintergrasp Keep that should only appear when it is held by Horde. 2016-10-08 16:00:51 +02:00
Kittnz
963278459a Core/Event: Pirate Day Music during the event 2016-10-08 15:49:18 +02:00
Kittnz
e3560f3f51 Core/Event: Add Darkmoon Fair Music during the event 2016-10-08 15:43:13 +02:00
Kittnz
19f8acdb61 Core/Event: Add Midsummer Music during the event 2016-10-08 15:38:17 +02:00
SnapperRy
7ce3811913 Remove unused variable. 2016-10-08 14:26:17 +02:00
SnapperRy
a0c9d33ed6 Battlefield/Wintergrasp: improvements:
- Move Wintergrasp Keep guard spawns from core to db, removing all duplicates in the meanwhile.
- Add Alliance Brigadier General inside the relic room.

Closes #7593.
2016-10-08 14:16:05 +02:00
SnapperRy
d72b025fcb Core/Wintergrasp: fix Defend the Siege quests.
Closes #7953.
2016-10-08 03:54:09 +02:00
SnapperRy
4ec50ecec5 DB/Quest: improvements for quests related to NPC Denalan:
- Timberling Sprouts requires Denalan's Earth rewarded.
- Fix offer reward text for Denalan's Earth.
- Improve scripts for end event of quests Denalan's Earth, The Shimmering Frond and The Glowing Fruit.
2016-10-07 19:30:52 +02:00
ariel-
b93ee312fa Core/Auras: prevent stack overflow while processing SPELL_EFFECT_ADD_EXTRA_ATTACKS 2016-10-07 12:52:01 -03:00
ariel-
d078029124 Revert "Core/Unit: prevent m_extraAttacks underflow. Fixes a freeze with SPELL_EFFECT_ADD_EXTRA_ATTACKS"
This reverts commit f09e7cbbfe.
2016-10-07 12:50:08 -03:00
ariel-
2a5548a13e Core/Channels: remove unneeded default constructor 2016-10-07 12:04:35 -03:00
SnapperRy
7d72366521 DB/Gameobject: remove wrong "Greetings, $n" gossip from 256 questgiver gameobjects. 2016-10-07 16:58:40 +02:00
ariel-
66688a7855 Core/Channel: revamp channel system (#17980)
* Core/Channel: change the way channels are stored and sent to client.

- Fixes multiple channels per zone when using different locales
- Connected clients will receive locally the name of the channel for their apropiate locale (if available)
- In other cases default locale name will be sent, so as to prevent breaking channel chat for those players

Closes #8411
2016-10-07 00:59:56 -03:00
ariel-
ce45e1bf95 Core/Globals: cache SpellSpecific and AuraState information instead of computing them each time they're needed 2016-10-07 00:51:52 -03:00
ariel-
f58de52de3 Core/Auras: stop some compilers from complaining 2016-10-07 00:23:02 -03:00
ariel-
dbba3ad5a5 Core/Scripts: Fix some runtime errors 2016-10-07 00:14:46 -03:00
ariel-
3b6fd226be Core/Misc: fix interaction of spells like Shadowmeld with Threat reducing effects
- SPELL_AURA_MOD_TOTAL_THREAT should be temporary and not added/subtracted from total, only computed
- Cleanup of reference related code
- Kill getLast() and reverse iterator obsevers, LinkedList iterator can't be used as a standard reverse_iterator (ie with operator++). They weren't used anyways
2016-10-06 23:14:51 -03:00
Killyana
f6788b78a6 DB/SAI: Update event flag for war-golem used on ... Or Maybe We Don't
Coses #18042
2016-10-07 02:29:04 +02:00
Naios
8775f8b28a Core/Grids: Allow arbitrary containers in grid searchers that support push_back
* Makes it possible to use vector and dequeue with grid searchers.
2016-10-06 21:17:06 +02:00
Kittnz
ac1f24061a DB/Creature: Update equip for Brewfest Reveler 2016-10-06 20:16:39 +02:00
Kittnz
3eacc25e5d Core/Event: Fix Brewfest Music
Was only playing the same song over and over again.
2016-10-06 20:14:53 +02:00
SnapperRy
b027383704 DB/Quest: Covert Ops - Alpha and Covert Ops - Beta require completion of both Ineptitude + Chemicals = Fun and Special Delivery for Gaxim. 2016-10-06 11:29:10 +02:00
SnapperRy
79c1b5942c Revert "Core/Creature: don't give kill and achievement credit if a creature kills itself."
Causes an issue where a creature killed by a reflected spell will not give credits.

Thanks Aokromes for noticing. Reverting this until a better solution is found.

This reverts commit 5417a1a37f.
2016-10-06 11:16:05 +02:00
SnapperRy
5417a1a37f Core/Creature: don't give kill and achievement credit if a creature kills itself.
Prevents Wintergrasp vehicles from giving credit when killed by Wintergrasp Water and other similar exploits.
2016-10-06 10:50:50 +02:00