Commit Graph

103 Commits

Author SHA1 Message Date
SnapperRy
3f61b4d81b Core/Conditions: implement CONDITION_WINTERGRASP_HORDE to check if Wintergrasp is held by Horde.
Use negative condition to check if it is held by Alliance instead.

Use this condition to fix availability of the Wintergrasp item-gathering weekly quests.
2016-10-05 07:58:34 +02:00
Aokromes
4ce27937b0 DB/Misc: 3.3.5a fixes 2016-10-04 06:37:25 +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
Aokromes
c35b773515 DB/Misc: 3.3.5a fixes 2016-09-27 13:04:09 +02:00
Treeston
69e4236146 Scripts/AzjolNerub: Full rewrite 2016-09-27 13:01:58 +02:00
Aokromes
65efd60674 DB/Misc: 3.3.5a fixes 2016-09-26 07:40:07 +02:00
SnapperRy
1158365c5c Script/Quest: Trail of Fire (#17939) 2016-09-26 07:38:48 +02:00
Aokromes
4064eb7f02 DB/Misc: Rename file 2016-09-25 10:12:52 +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
Aokromes
43352b31c5 DB/Misc: 3.3.5a fixes 2016-09-24 07:02:53 +02:00
SnapperRy
fc00c66433 Script/Quest: improvements for Let Them Eat Crow. (#17948) 2016-09-24 07:00:37 +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
06933cf029 rename file 2016-09-22 03:25:01 +02:00
Keader
79782df5c7 Core/Scripts: XT002 improvements in Hard Mode. Closes #17141. (PR #17900) 2016-09-22 03:23:43 +02:00
Aokromes
d17d83f6e5 DB/Misc: Rename file 2016-09-20 12:58:55 +02:00
treeston
c1cc7e0a36 Core/Movement: Add new SplineChainMovementGenerator that allows accurate replication of sniffed waypoints in static sequences, along with DB facilities that allow loading of waypoints from DB. 2016-09-20 12:54:54 +02:00
Aokromes
993f800d75 DB/Misc: 3.3.5a fixes 2016-09-10 14:34:52 +02:00
SnapperRy
9b89458cc8 Script/Quest: fix and use proper serverside summon spell for quest "Red Snapper - Very Tasty!". 2016-09-10 14:26:36 +02:00
Aokromes
2701c96ab1 DB/Misc: 3.3.5a fixes 2016-09-09 20:16:39 +02:00
treeston
cb2da345c7 Core/Conditions: New CONDITION_QUESTSTATE (47). It's the existing que…
…st conditions collapsed into a bitmask value2 because I'm a lazy person that doesn't like having long SQL queries.

Then use this new condition to fix Sniffing out the Perpetrator for Horde.
2016-09-09 19:59:17 +02:00
treeston
2e896a15dd AI/SmartAI: Fix an issue where SmartAI creatures would not properly follow their owner on evade. Also fix a bug where creatures with INHABIT_ROOT would get stuck in evade under certain conditions.
This allows us to fix quest 12261 (No Place to Run). Closes #16291.
2016-09-09 19:56:30 +02:00
Aokromes
0d669c5b5a DB/Misc: Rename file 2016-09-03 01:23:34 +02:00
treeston
9da4e304ae Scripts/SmartScripts: Fix charmed behavior for SmartAI. For real this time.
- Core AI logic will no longer issue attack/movement commands while under player control.
- Add new SMART_EVENT_FLAG_WHILE_CHARMED (0x200). Any event without this flag won't run while charmed.
- Add SMART_EVENT_FLAG_WHILE_CHARMED to existing actions, except a select subset (movement, talking, and nontriggered casts, pretty much).
2016-09-03 01:21:03 +02:00
Aokromes
8bbdb048ea ddf 2016-08-25 15:07:47 +02:00
Gustavo
3b2e9d4ca4 Core/Scripts Boss Skadi the Ruthless rework 2016-08-25 14:59:21 +02:00
tkrokli
8d1a2284f5 Core/Scripts: move forge_of_souls gossip to DB 2016-08-25 14:53:46 +02:00
Gustavo
f7667cdda6 Core/Scripts Implement Pit of Saron Cavern event 2016-08-25 14:53:14 +02:00
Gustavo
49d4e22c6a Scripts/Pet Implemented Argent Squire/Gruntling and Argent Pony Bridle 2016-08-25 14:52:56 +02:00
Aokromes
6a34559fc6 DB/Misc: 3.3.5a fixes 2016-08-24 10:31:58 +02:00
tkrokli
5301e4578e Core/Scripts: set correct unit_flags on Scarlet Mine Car (#17844)
Closes #17816
2016-08-24 10:25:08 +02:00
Aokromes
f2556864a2 ddf 2016-08-23 13:56:36 +02:00
SnapperRy
506b2a4f2a Event/Brewfest: implement relay race (#17603) 2016-08-23 13:54:57 +02:00
tkrokli
efa7a0639c Core/Scripts: npc_wormhole #define text moved to DB (#17805)
Another core script hardcoded text removal:
- removed #define text from script
- added the text to gossip_menu_option
- added and renamed enum to match DB entries
- minor additional adjustments and comments

Closes #6841
2016-08-23 13:54:38 +02:00
Gustavo
83de75e31b Improve scripts for quests Breakfast Of Champions and A Bear of an Appetite (#17780)
Properly despawn the related GameObjects after use of the quest item, avoiding multiple use and summon
2016-08-23 13:54:24 +02:00
Aokromes
b0594862e2 ddf 2016-08-20 06:23:31 +02:00
treeston
190ef9fc54 Pet/DK: Make Risen Ghoul and Bloodworms no longer suicidally charge into not-yet-engaged mob packs. 2016-08-20 06:22:42 +02:00
treeston
5b819fa0f1 AI/SmartScripts: SMART_ACTION_ADD_QUEST -> SMART_ACTION_OFFER_QUEST. Open quest offer instead of adding straight to log - old behavior can be requested using action_param2. Closes #17735. 2016-08-20 06:22:19 +02:00
treeston
7b036961f3 AI/SmartScripts: Add param3 to SMART_ACTION_CAST and SMART_ACTION_INVOKER_CAST that allows specific triggered flags to be set (rather than all-or-nothing). Ignored if SMARTCAST_TRIGGERED is not set. 2016-08-20 06:19:54 +02:00
treeston
c2fd73c95d Core/SmartScripts: Add SMART_TARGET_LOOT_RECIPIENTS. Does what it says on the tin.
Use this new target type to fix The Rider of Blood, The Rider of Frost, The Rider of the Unholy. Closes #17817.
2016-08-20 06:19:26 +02:00
Aokromes
e08028bc6b Rename file 2016-08-14 10:18:12 +02:00
tkrokli
d847bcdac4 Core/Scripts: move npc_mortog_steamhead to DB
Move core script npc_mortog_steamhead to database
- script contains gossip handling + 1 condition
- both actions can be handled in DB settings
2016-08-14 10:16:43 +02:00
Aokromes
e1d34cabc9 Core/Dynamic: Reduce differences between 3.3.5 and 6.x branches
Code functionality shouldn't have been modified.
2016-08-12 12:21:55 +02:00
ForesterDev
f59e00b85c Core/Command: Check account password max length 2016-08-12 12:19:19 +02:00
Aokromes
54975aef46 rename file. 2016-08-04 02:46:04 +02:00
tkrokli
de2ad7d38c Core/Scripts: move npc_kharan_mighthammer to DB/SAI
This PR affects the following 2 quests:
Quest ID 4001 "What Is Going On?" - part 2 (Horde)
Quest ID 4342 "Kharan's Tale" (Alliance)

Target of this PR:
Move core script npc_kharan_mighthammer to DB/SAI
(thereby removing 10 lines of hardcoded text).

* DB/conditions: extra gossip conditions

- added conditions for gossip before quest taken and after quest completed.
- removed redundant core script SAY_GET_ME_OUT_OF_HERE comment

* DB/creature: add more text to Kharan

- add all missing creature_text lines to entry 9021 Kharan Mighthammer
- add SAI duration to wait before TEXT_OVER is triggered (3000 ms)
2016-08-04 02:42:00 +02:00
Aokromes
75cd39b66d ddf 2016-08-03 11:45:29 +02:00
Keader
e8c31ba61a Core/Scripts Shade of Akama Rewrite (#17567) 2016-08-03 11:43:27 +02:00
Aokromes
b29d998044 ddf 2016-07-30 12:26:05 +02:00
tkrokli
e0e4510e38 Core/Scripts: zone_silithus.cpp cleanup
By tkrokli
2016-07-30 12:18:34 +02:00