Commit Graph

31366 Commits

Author SHA1 Message Date
Wyrserth
a8d232a921 DB/SAI: remove useless actions from Regthar Deathgate's script.
Fixes #23543.
2019-07-05 21:51:24 +02:00
ZenoX92
515f47eec7 DB/SAI: script end event for quest To Serve Kum'isha. 2019-07-05 20:52:00 +02:00
Wyrserth
8fcc82138f Script/Acherus: script out of combat event for Frost Death Knight trainer Amal'thazad. 2019-07-05 18:41:47 +02:00
Ovahlord
980047763a Core/Creature: Reworked creature aggro radius calculation (#20615)
* Core/Creatures: rewrote creature aggro radius calculation
* Formulas are taken from WoW Wiki
2019-07-05 18:21:00 +02:00
Wyrserth
30ba9c97fe Misc: explicitly mark fallthrough in switch statement as to avoid confusion. 2019-07-05 17:09:46 +02:00
Wyrserth
7fc1ecca8a Core/Player: fix crash happening when trying to send drunken state to nearby players while the character is loading. 2019-07-05 16:23:06 +02:00
Wyrserth
12e545f7e2 Core/Conditions: allow spellclick conditions to properly work for aura apply/remove (#23527) 2019-07-05 14:11:15 +02:00
ForesterDev
c44fb37f74 Core/Unit: Implement more helper methods (#23555) 2019-07-05 14:07:35 +02:00
Wyrserth
9530c33af0 DB/SAI: add emotestate and OOC text for creature Zeh'gehn and improve end event for quest A Carver and a Croaker. 2019-07-04 22:12:55 +02:00
SolarisSDK
ebfe5a637e Local-only mode fix (#23546)
* Local-only mode fix

In response to issue #21309

* Full patch also for boost 1.66 and newer
2019-07-04 19:18:44 +02:00
Killyana
1557a80610 DB/Quest: Tome of Cabal
Closes #23560
2019-07-04 16:24:03 +02:00
Giacomo Pozzoni
2cb4517303 Core/Quest: Fix repeatable quest mark (#23338) 2019-07-04 15:11:35 +02:00
Treeston
f44539b642 Entities/Unit: Properly unset engaged flag for creates that cannot have a threat list on combat exit. Fixes #23518. 2019-07-03 21:01:29 +02:00
Gildor
a0a64b10b5 Scripts/Icecrown Citadel: Ensure Deathbringer Saurfang cast Frenzy (#23559) 2019-07-03 19:32:27 +02:00
Treeston
4e767f1c7c Entities/Player: Fix an edge case where overlapping CCs could prevent player movement from being re-enabled. f6f1c48 follow-up. 2019-07-03 19:26:43 +02:00
Wyrserth
cc5088369b DB/Creature: remove wrong repairer npcflag from NPC Perascamin. 2019-07-03 18:37:37 +02:00
Wyrserth
670085d8c0 Core/Quest: fix money reward for quests turned in at level cap. (#23495) 2019-07-03 17:42:23 +02:00
Wyrserth
c63bbb97b4 DB/SAI: add some missing RP events to Culling of Stratholme.
Scripted RP events involving NPCs Stephanie Sindree, Brandon Eiredeck and Patricia O'Reilly.
2019-07-03 17:12:37 +02:00
Wyrserth
858fa4d2dd Core/Reputation: don't allow quests to reward Honor Hold/Alliance Vanguard reputation to Horde players or Thrallmar reputation to Alliance players (#23552) 2019-07-03 16:09:21 +02:00
Wyrserth
f05891405a DB/Vendor: rework Griftah's inventory.
Remove deprecated items and fix slot ordering.
2019-07-03 13:37:31 +02:00
Treeston
f6f1c48aa5 Entities/Player: Clean up client control handling behavior around possession. Mind Control should no longer cause various weirdness. Closes #23539. 2019-07-02 11:58:12 +02:00
Wyrserth
a8b8a43b8d Script/HallsOfLightning: fix mistake related to Shattering Stomp in Volkhan's script, introduced in 3bb0abcd52.
Closes #23337.
2019-07-02 11:12:34 +02:00
ForesterDev
b47bb59e2a Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender (#23520)
* Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender and fix some cases, where we should get player gender, instead of modified by display gender

* fix merge

* Add virtual methods for Unit class
2019-07-02 10:17:02 +02:00
ccrs
401777d024 Core/Unit: rename several getters to follow codestyle
uint8 GetLevel()
        uint8 GetLevelForTarget(WorldObject const* /*target*/)
        void SetLevel(uint8 lvl)
        uint8 GetRace()
        uint32 GetRaceMask()
        uint8 GetClass()
        uint32 GetClassMask()
        uint8 GetGender()
2019-07-01 21:36:32 +02:00
ccrs
e9004f9c90 Scripts/Spells: 5c09ff5 followup 2019-07-01 21:03:58 +02:00
Sorikoff
5c09ff51f7 Scripts/Spells: Dimensional Ripper - Everlook (#23547) 2019-07-01 20:55:30 +02:00
Wyrserth
5a9516cd9c DB/SAI: remove delay between clicking gossip and creature text/change faction for NPC Victorious Challenger involved in quest Taking on All Challengers. 2019-07-01 20:37:24 +02:00
Wyrserth
4a875ec392 DB/Creature: Hyldsmeet Warbear shouldn't have random movement. 2019-07-01 20:26:55 +02:00
Wyrserth
dd870a141f DB/Creature: add emote state and out of combat emote for NPC Brunnhildar Challenger. 2019-07-01 20:24:48 +02:00
Wyrserth
e621d40ddc DB/Conditions: allow gossip option for NPC Agnetta Tyrsdottar to show only if the quest Is That Your Goblin? is taken but not completed. 2019-07-01 20:24:29 +02:00
Wyrserth
028d16a812 Script/DarkmoonFaire: fix logical error in go_darkmoon_faire_music.
Closes #23548.
2019-07-01 14:39:52 +02:00
Rynem
72917d5036 DB/Quest: fix chaining for quests offered by Lantresor of the Blade.
Closes #22440.
2019-07-01 02:17:13 +02:00
Wyrserth
c8289ada7f Core/Quest: do not send SMSG_QUESTGIVER_OFFER_REWARD right after SMSG_QUESTGIVER_QUEST_FAILED.
Allows the gossip window to close after the client receives a quest failed error (for example: not enough inventory space to store the reward).
2019-07-01 01:19:31 +02:00
ccrs
4c398743b9 Scripts/ICC: cleanup ReadSaveDataMore definition 2019-07-01 01:08:21 +02:00
ccrs
b19a23a5c6 Scripts/ICC: 3dbf3fe followup
repeat timer typo
2019-07-01 00:56:05 +02:00
Wyrserth
61ba1351e0 Core/Quest: if a quest rewards a title, show it in the offer reward screen too.
Also fix delete query in fa0fc13fd0, thanks Aokromes for noticing!
2019-07-01 00:46:55 +02:00
Wyrserth
ce3820031d DB/SAI: implement out-of-combat event for NPC Ranger Sareyn.
Closes #23538.
2019-07-01 00:40:08 +02:00
Wyrserth
fa0fc13fd0 DB/SAI: implement out-of-combat event for NPC Ranger Jaela.
Closes #23535.
2019-07-01 00:38:54 +02:00
Wyrserth
45a2388bc0 DB/SAI: add out-of-combat texts to Instructor Hroegar 2019-07-01 00:20:46 +02:00
Wyrserth
39aa91f982 Core/Spell: Challenge Flag should only hit one target. 2019-06-30 22:47:17 +02:00
Wyrserth
e803ba7732 DB/SAI: script creature Mjordin Combatant involved in the quest Honor Challenge. 2019-06-30 22:44:41 +02:00
ccrs
aabf181bdf Build: fix error
/home/circleci/project/src/server/scripts/Northrend/IcecrownCitadel/boss_sister_svalna.cpp:211:5: fatal error: redefinition of enumerator 'NPC_YMIRJAR_BATTLE_MAIDEN'
    NPC_YMIRJAR_BATTLE_MAIDEN = 37132,
    ^
/home/circleci/project/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h:274:5: note: previous definition is here
    NPC_YMIRJAR_BATTLE_MAIDEN                   = 37132,
    ^
1 error generated.
2019-06-30 19:54:05 +02:00
ccrs
3dbf3fed7c Scripts/ICC: base support for Ymirjar Vrykuls AI 2019-06-30 19:48:50 +02:00
Wyrserth
e1787b883e DB/Creature: fix spawns and emote state for Mjordin Combatants in Icecrown. 2019-06-30 19:41:29 +02:00
ccrs
3e9b553618 Scripts/ICC: 1eb2aef followup 2019-06-30 18:10:23 +02:00
ccrs
1eb2aef179 Scripts/ICC: move Sister Svalna to her own file
I've almost guttered her, so lets try it more gently this time
2019-06-30 17:50:30 +02:00
Wyrserth
5aedc4a510 DB/Quest: remove quest requirements from the Consortium monthly quests.
Only one is available each month, based on reputation standing. They're not chained.
2019-06-30 16:51:48 +02:00
ccrs
b9a8095967 Core/Instance: 14788ce followup
No need to repeat code
2019-06-30 15:47:17 +02:00
Wyrserth
d213970719 DB/SAI: improvements for quest Powering our Defenses:
- There are two waves of three Enraged Wraith each
- The quest does not fail when the Infused Crystal is killed, as the quest item is not consumable so the player can try again straight away
2019-06-29 19:49:04 +02:00
ccrs
eb6ea57e7f Scripts/ICC: 94b60ff followup 2019-06-29 19:38:16 +02:00