Commit Graph

21754 Commits

Author SHA1 Message Date
SnapperRy
1a29f04e00 Core/Unit: don't reset offhand timer for players when starting attack.
Creatures are unaffected by this change. Not sure how they should behave in this case, so leaving it alone for now.

Closes #945.
2016-10-04 06:36:39 +02:00
SnapperRy
cfc8cbf42f Script/Quest: A Cry For Help: (#18026)
- Add missing dialogue from Cowlen.
- Timers and emotes.
2016-10-04 06:36:09 +02:00
SnapperRy
fbbe103245 Core/Loot: limit unique items check in LootItem::AllowedForPlayer() to bind-when-picked-up items only. 2016-10-04 06:35:48 +02:00
SnapperRy
f8036710e3 Core/Loot: do not show unique items if player already has the maximum allowed quantity. 2016-10-04 06:35:37 +02:00
SnapperRy
828026bede Core/Quest: send INVALIDREASON_QUEST_ALREADY_DONE if player tries to accept a quest that is already rewarded. 2016-10-04 06:35:17 +02:00
ariel-
ac084e4ddc Core/Spells: Flag of Ownership shouldn't target creatures 2016-10-03 14:58:07 +02:00
ariel-
6ee820afe4 Core/Player: correct logic for IsUsingTwoHandedWeaponInOneHand
Fixes penalty not being applied when we are using a 2H in offhand, and a unarmed MH.
MH may do unarmed attacks in this case. (reciprocal of 2H MH, unarmed OH, only uses MH normally, OH doesn't unarmed attack)
2016-10-03 14:57:51 +02:00
Aokromes
bcfe5b4f4f Core/Spells: fixed SPELL_ATTR5_USABLE_WHILE_STUNNED 2016-10-03 14:56:48 +02:00
ariel-
919a3c631e Core/Spell: Add Dual Wield skill dependency to Dual Wield effect, should remove the skill properly when unlearning spell.
Closes #17196
2016-10-03 14:53:59 +02:00
Aokromes
576cfa8328 Core/Player: unconditionally remove Titan's grip penalty aura on Spel…
…l removal

Was causing an issue when switching spec, because off hand weapon was still equipped
2016-10-03 14:53:39 +02:00
ariel-
a57f628eb2 Core/Spells: SPELL_AURA_SCHOOL_IMMUNITY auras shouldn't remove passive auras (even if negative)
Ref issue #6375
2016-10-03 14:51:38 +02:00
Aokromes
d9ae70396b Core/Player: Implemented Titan's Grip damage reduction 2016-10-03 14:51:20 +02:00
ariel-
b18477f80f Core/Spells: Implemented SPELL_ATTR6_NOT_RESET_SWING_IF_INSTANT.
Closes #1765
2016-10-03 14:42:53 +02:00
joschiwald
4ed2cd9500 Core/Spells: use spellinfo helper methods
(cherry picked from commit 12a52595ed)
2016-10-03 14:42:37 +02:00
joschiwald
de1322f134 Core/Player: fixed math error
(cherry picked from commit cc1e2fd452)
2016-10-03 14:42:19 +02:00
SnapperRy
ad98ab192c Core/Script: make creature Webbed Creature spawn creature Expedition Researcher when appropriate.
Also don't allow it to spawn a copy of itself.
2016-10-01 16:48:48 +02:00
SnapperRy
0f65529f2e Misc/Config: fix an oversight.
Thanks tkrokli for noticing.
2016-10-01 16:48:35 +02:00
SnapperRy
2dd1291a9b Misc/Config: enable ChatFakeMessagePreventing by default, since it's a blizzlike feature. 2016-10-01 16:48:20 +02:00
SnapperRy
e241916bcd Core/Config: allow to specify daily quest reset hour in config.
Also default it to 3:00AM, as that's when daily quests used to reset during WotLK.
2016-10-01 16:48:06 +02:00
SnapperRy
83dafd5886 Core/Spell: set quest to rewarded instead of complete when targeted by SPELL_EFFECT_QUEST_COMPLETE. (#18021)
Prevents people from ending up with strange quests in their quest logs.
2016-10-01 16:47:49 +02:00
SnapperRy
af87a5d5bf Core/World: properly re-initialize daily quest reset time when resetting daily quests. (#17986)
Prevents daily quests from resetting at weird times when restarting the server after a player has completed a daily quest.
2016-10-01 16:47:34 +02:00
SnapperRy
abfc973bdc Core/Log: move an error to DEBUG level.
Prevents console spam in case of players canceling the cinematic at characters' first login.
2016-10-01 16:47:24 +02:00
Aokromes
c9965c331a Core/Maps: Fix compile on windows
By ConradBunton
2016-09-27 20:24:44 +02:00
Aokromes
a99ac65b80 fix build 2016-09-27 13:23:16 +02:00
Keader
a6c18901b2 Core/Scripts: Fixed Gunship Mage cast interrupt
Closes: #14912
2016-09-27 13:03:07 +02:00
treeston
a142c7b2ae and you get a header, and everyone gets a header... 2016-09-27 13:02:59 +02:00
treeston
0b2b2641a0 .....hail PCH 2016-09-27 13:02:49 +02:00
treeston
0739185b29 ...for real this time (seriously - what happened to test builds before merging, Aok?) 2016-09-27 13:02:41 +02:00
treeston
31d71fda27 Fix nonPCH. 2016-09-27 13:02:32 +02:00
Treeston
6dd0f9a478 I think I got all of them this time
No idea how this one got past travis.
2016-09-27 13:02:25 +02:00
Aokromes
f2639df97a Update boss_hadronox.cpp
I hate travis, learn from buildbot
2016-09-27 13:02:17 +02:00
Aokromes
0cb82d69ae Update boss_hadronox.cpp 2016-09-27 13:02:07 +02:00
Treeston
69e4236146 Scripts/AzjolNerub: Full rewrite 2016-09-27 13:01:58 +02:00
ariel-
ceb1750432 Core/Scripts: Fix build 2016-09-26 07:39:06 +02:00
SnapperRy
1158365c5c Script/Quest: Trail of Fire (#17939) 2016-09-26 07:38:48 +02:00
joschiwald
6a0b3f8b7e Core/Auth: removed unneeded sub query 2016-09-26 07:38:29 +02:00
joschiwald
dd399cc7d5 Core/Auth: fixed logic in FailedLogins check 2016-09-25 10:11:33 +02:00
tkrokli
3b6b13071a Core/Scripts: move #define to enum/boss emote to DB (#17967)
boss_lurker_below.cpp : remove deprecated #define entries
- remove hardcoded text, use creature_text/broadcast_text
- move #define value & text reference to enum section
- replace TextEmote() with Talk() pointing to DB entry
2016-09-25 10:11:20 +02:00
jackpoz
71d4d34d33 Scripts/ICC: Fix chest loot exploit
Fix an exploit at chest loot bosses Valithria and Deathbringer that allowed the first played to hit them to leave party at low hp % and loot the whole chest alone, without the party being able to loot anything.
2016-09-25 10:10:57 +02:00
SnapperRy
7dff45e2af Core/Gossip: improve gossips related to Dual Talent Specialization 2016-09-24 07:01:49 +02:00
SnapperRy
fc00c66433 Script/Quest: improvements for Let Them Eat Crow. (#17948) 2016-09-24 07:00:37 +02:00
SnapperRy
7155428435 Core/Creature: update health/mana/damage/armor when changing a creature's entry while keeping the original level.
Fixes an issue introduced in a6ef9d4.
2016-09-24 07:00:27 +02:00
tkrokli
a34fbdaa40 Core/Scripts: move npc_lunaclaw_spirit to SAI
This PR moves the core script `npc_lunaclaw_spirit` to SAI, removing hardcoded text.
The quests 6001 + 6002 are druid class quests to get bear form, removed in patch 4.0.3a

Changes in this PR:
- remove core script, including hardcoded text (with typo)
- use gossip_menu_option for each faction (Alliance & Horde)
- add SAI script to complete quest 6001 or 6002 based on option
- add gossip option conditions for team A (469) or team H (67)
- add gossip option conditions for quest 6001/6002 not completed
2016-09-24 07:00:12 +02:00
SnapperRy
a54ddfee5e Script/Quest: The Exorcism of Colonel Jules:
- Summoned NPCs will no longer give experience on kill.
- Require quests Fel Spirits and Digging for Prayer Beads to be completed.
- Reduce number of Foul Purges spawned in a single wave (only two should spawn each time).
- Properly give quest credit when talking with Colonel Jules after the exorcism.
2016-09-24 07:00:03 +02:00
Aokromes
32b780bffd Core/Opcodes: Enable more opcodes 2016-09-23 01:41:44 +02:00
Aokromes
93561da63c Core/Opcodes: Enable more opcodes 2016-09-23 01:38:55 +02:00
Aokromes
47dae6daf3 Core/Opcodes: Enable more opcodes 2016-09-23 01:34:05 +02:00
Aokromes
5dabaf4d57 Core/Opcodes: Enable more opcodes 2016-09-23 01:29:02 +02:00
Aokromes
4c9d293732 Core/Opcodes: Enable few opcodes 2016-09-22 18:41:39 +02:00
Aokromes
ae3ca3f40c Core/Opcodes: Enable SMSG_BATTLEFIELD_MGR_EXIT_REQUEST, SMSG_BATTLEFIELD_MGR_STATE_CHANGE, SMSG_BATTLEFIELD_PORT_DENIED 2016-09-22 18:33:50 +02:00