Commit Graph

26392 Commits

Author SHA1 Message Date
tkrokli
3ad76dea7b 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 02:26:04 +02:00
SnapperRy
0d70a7349d 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 01:32:20 +02:00
treeston
429700e614 Scripts/IcecrownCitadel: Fix an issue where Deathbringer Saurfang's exit door could get stuck in a closed state. Fixes and closes #15018. 2016-09-22 15:22:54 +02:00
Aokromes
0d3432e5a7 Update 2016_09_21_03_world.sql 2016-09-22 03:43:16 +02:00
Keader
1f83412e4d Core/Scripts: XT002 improvements in Hard Mode. Closes #17141. (PR #17900) 2016-09-22 03:18:43 +02:00
treeston
55ac0186cc Movement/SplineChain: Fix a potential critical bug where resume info returned during an edge case could fail an assertion when used. 2016-09-22 02:57:07 +02:00
Dr-J
068ade35b6 DB/Quest: Steamtank Suprise
event flags again
2016-09-21 22:41:59 +01:00
Dr-J
c07bd6d467 Remove space 2016-09-21 17:38:32 +01:00
Dr-J
2730576823 DB/Quest: Bury Those Cockroaches
event flags again.
2016-09-21 17:05:03 +01:00
treeston
4deeee66bd d3214a0 follow-up for code style. 2016-09-21 16:49:19 +02:00
treeston
d3214a0012 Movement/SplineChain: Streamline the script workflow for resume info a bit, provide static method that does all the ugly pointer casts for you. Also prevent a nullptr dereference crash if scripts mishandle motionmaster, and canonize Chain == nullptr to signify "no resume info". 2016-09-21 16:22:12 +02:00
treeston
820e843391 Map/InstanceMap: Ease up on a somewhat overzealous error message regarding instance saves. 2016-09-21 15:36:21 +02:00
Dr-J
9804bb252a DB/Quest: The Sum is Greater than the Parts 2016-09-21 13:55:51 +01:00
Dr-J
f7f00d2f08 DB/Quest: Escape from Silverbrook
Even though this was meant to have been fixed once the last commit did not actually fix this
also condition for the periodic spell so that it only targets silverbrook worgen rather than agroing neutral deers and stags, hostile npcs like bears and conquest hold guards will still attack the horse but the condition prevents the periodic threat spell from hitting anything other than silverbrook worgen.
2016-09-21 13:44:38 +01:00
Dr-J
1cc75eb924 DB/SAI: Krolmir, Hammer of storms
Fix targeting for credit spell and invoker texts during event.
2016-09-21 13:09:47 +01:00
treeston
3ec1b2f27e Core/Movement: Fix a DB spline chain overload I missed in 2170541 2016-09-21 01:29:48 +02:00
Dr-J
fc494f1f47 DB/SAI: More event flags
* Dark Horizon/Reunited
* Kickin' Nass and Takin' Manes
* Load'er Up
* Magic Carpet Ride
2016-09-20 23:00:17 +01:00
treeston
17dfcc0b27 DB/Creature: Re-sniffed Blighted Elk and Rabid Grizzly spawns. Closes #17958. (Thanks, Malcrom!) 2016-09-20 23:38:04 +02:00
Treeston
7860da0de6 Code style follow-up, I blame Notepad++. 2016-09-20 20:28:59 +02:00
treeston
2170541a51 Core/Unit: Standardize SetFacingTo and SetFacingToObject behavior while moving. Both now fail while moving unless arg2 bool is true.
Movement/SplineChain: Bump value range for DB chainId up to uint16 (0 to 65535) from uint8 (0 to 255). Turns out sniffs generate far more chains than I expected.
2016-09-20 20:19:15 +02:00
treeston
3298a5f65d 5952752 follow-up: Member declaration now matches order of usage. 2016-09-20 14:25:48 +02:00
treeston
59527521e6 Instance/Naxxramas: Loatheb no longer instantly murders you. Five spam casts of Doom tend to do that to raids. 2016-09-20 14:13:42 +02:00
Dr-J
ab2acb2c0c DB/SAI: A Rough Ride
Fix event flags
2016-09-20 12:32:08 +01:00
treeston
4a1a460241 PCH build fix. Again.
(( Alright, you made me waste 20 minutes of my life on a full nonPCH rebuild of the core now. ))
(( I hope you're happy. ))
2016-09-20 13:23:21 +02:00
treeston
4fa646c0b2 Core/Movement: Add a convenience default ctor to SplineChainResumeInfo, and fix PCH build in some configurations (zzz why do we even keep Appveyor and Travis around). 2016-09-20 12:45:11 +02:00
treeston
20f483967f Merge remote-tracking branch 'Treeston/3.3.5-splinechains' into 3.3.5 (PR #17946) 2016-09-20 12:02:25 +02:00
treeston
6d00d3f283 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 00:37:36 +02:00
SnapperRy
7bce4d12a6 DB/Loot: Burning Legion Missive (Alliance version) should always drop. 2016-09-19 19:21:52 +02:00
SnapperRy
1812a57b4e DB/Loot: item Bog Lord Tendril is not a quest item. 2016-09-19 19:13:35 +02:00
SnapperRy
e2981e1060 DB/Quest: Arzeth's Demise:
- Fix yell on quest item use.
- Restore original entry on reset.
- Quest item can only be used on specific NPC.
2016-09-19 19:10:10 +02:00
Killyana
56d20584c7 DB/Creature: Fix unit flag for Tatjana (Unconscious)
Closes  #15618
2016-09-19 14:39:16 +02:00
SnapperRy
cd7f1e7f23 DB/Reputation: fix reputation gains for Kurenai.
Values in table reputation_reward_rate were somehow swapped.
2016-09-19 14:20:35 +02:00
Dr-J
f27efa5957 DB/Quest: Anatoly will talk
Fix event flags
2016-09-19 12:56:25 +01:00
Dr-J
ebc0190d3b DB/Misc: Misc Fixes
* Appeasing the Great Rainstone/Gods like Shiny Things update so sai actually works on sholazar guardians so sai runs on charmed creature, also rescript glinting dirt as previous had stopped working
* Teleport This! Charmed flags are needed here so that credit spell is cast when payer uses controlled npc to blow up teleporter.
* Updates to blueleaf tubers as previous fix stopped working due to negative respawn time on spell focus objects
2016-09-19 11:53:07 +01:00
treeston
8d2f17b2a8 DB/SmartAI: Fix charm SAI for Quest 12308 "Escape from Silverbrook" 2016-09-19 12:03:22 +02:00
ariel-
b5035582b6 DB/Spell: remove SP scaling for Shaman T9 Elemental 4p bonus 2016-09-17 17:50:56 -03:00
ariel-
83a2470a80 DB/Spell: remove SP scaling for Shaman T8 Elemental 4p bonus 2016-09-17 17:37:37 -03:00
ariel-
a8b222ea18 Rename 2016_09_17_08_world.sql to 2016_09_17_02_world.sql 2016-09-17 17:09:59 -03:00
ariel-
18372306b1 DB/Spell: remove SP scaling for Spirit Hunt 2016-09-17 17:09:33 -03:00
Kittnz
a220650c0b This sql is only for 335 2016-09-17 16:58:15 +02:00
Kittnz
07d3b8609c DB/Object: Update location of Tua'kea's Fishing Hook 2016-09-17 16:54:58 +02:00
treeston
8389991275 DB/Creature: Add missing IMMUNE_TO_NPC to Dahlia Suntouch. 2016-09-17 14:15:37 +02:00
tkrokli
a475033c76 Core/Scripts: simplified npc_pet_trainer gossip script
This is what the script changes should have been in PR #17746
(also updates issue #14719 with a correct solution).

- remove OnGossipHello() to use DB conditions
- replace OnGossipSelect() with sGossipSelect()
- focus script on the confirming gossip option
- let the other gossip menus be handled in DB
2016-09-17 05:20:40 +02:00
SnapperRy
0b658f789c DB/Quest: fix prevquests required for Gretta the Arbiter's daily quests. 2016-09-16 22:51:05 +02:00
SnapperRy
fd6cf2bca6 DB/Quest: Dragonblight/Borean Tundra:
- Fix next quest for The Taunka and the Tauren.
- Fix requirements for Patience is a Virtue that We Don't Need, Taken by the Scourge and the three versions of The Defense of Warsong Hold.
2016-09-16 20:14:05 +02:00
SnapperRy
b90afa8857 DB/Quest: Dragonblight part 2:
- To Dragon's Fall requires completion of Wanted: Magister Keldonus, Wanted: Gigantaur and Wanted: Dreadtalon.
- Black Blood of Yogg-Saron, Marked for Death: High Cultist Zangus and Containing the Rot require completion of Agmar's Hammer.
- Strengthen the Ancients requires completion of The Focus on the Beach.
- Message from the West requires completion of Hellscream's Champion.
- Only one between A Tauren Among Taunka and The Taunka and the Tauren can be completed.
2016-09-16 19:35:32 +02:00
SnapperRy
e07f68a032 DB/Quest: Dragonblight:
- Victory Nears... requires Agmar's Hammer.
- Strength of Icemist requires From the Depths of Azjol-Nerub.
- Only one between To Venomspite! and Imbeciles Abound! can be completed.
2016-09-16 18:14:22 +02:00
SnapperRy
48203e2e25 DB/Conditions: allow item Goramosh's Strange Device to also drop if the quest Prevent the Accord is rewarded.
Prevents players from possibly getting permanently locked out of a whole quest chain in Dragonblight.
2016-09-16 16:59:54 +02:00
SnapperRy
72cfafc0b3 DB/Quest: fix previous quests required before being able to accept The Kor'kron Vanguard!
No more easy shortcut for Horde players!
2016-09-16 16:32:30 +02:00
SnapperRy
96026dbe55 DB/Quest: add missing prevquests for Hellfire Fortifications (for both Alliance and Horde). 2016-09-16 16:03:33 +02:00