Commit Graph

8899 Commits

Author SHA1 Message Date
treeston
aeeae8d09c Merge remote-tracking branch 'Treeston/3.3.5-petaggro' into 3.3.5 (PR #17800) 2016-08-19 23:54:44 +02:00
treeston
ba4d6f6393 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-19 23:01:21 +02:00
treeston
9072e0221b 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-19 15:23:19 +02:00
treeston
e2c915fb43 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-19 14:25:23 +02:00
Killyana
2c8da5e174 DB/SAI: Add missing SAI for Mux Manascrambler
By Kodekc
Closes #17788
2016-08-18 14:49:31 +02:00
treeston
8c690f9edc Pet/DK: Make Risen Ghoul and Bloodworms no longer suicidally charge into not-yet-engaged mob packs. 2016-08-17 11:38:31 +02:00
Aokromes
dc78f1ecfc DB/Quest: Children's Week quest RewardText variables $N / $g
Closes #17728 by tkrokli
2016-08-17 06:39:44 +02:00
tkrokli
730680430d [3.3.5] Core/Scripts: move npc_loramus_thalipedes to DB
Another chapter in core script hardcoded text removal:
- remove core script `npc_loramus_thalipedes` from zone_azshara.cpp
- add gossip, SAI script and conditions to database
- remove redundant SD2 comments from file header
2016-08-17 05:12:04 +02:00
Aokromes
9796ee5b14 DB/Creature: missing spawn creature 40405 Kieupid <Pet Trainer>
Closes #17747 by tkrokli
2016-08-15 03:23:17 +02:00
tkrokli
03bafe334c Core/Scripts: move Pet Trainer gossip to DB
SQL content based  on issue 14719 by Killyana,
conditions output from Malcrom's Condition Creator

- remove hardcoded #define gossip options
- enum gossip menu IDs from DB
- remove outdated SD comments at the top of the file

Closes #14719
2016-08-15 03:17:53 +02:00
Dr-J
c515cdc636 DB/Misc: Updates
1) Update to conditions for Zombiefest as previous conditions appear to have stopped working correctly
2) Update for Dark Subjugator to prevent these becoming bugged, also correct unit flags for the sentrys to prevent these from agroing player if too close and dropping immune subjugator if killed
3) Conditions to prevent console spam from Bone Warrior closes #17655
2016-08-14 14:30:47 +01:00
Carbenium
6d66adbdf1 Rename 2016_08_14_01_world.txt to 2016_08_14_01_world.sql 2016-08-14 14:20:01 +02:00
tkrokli
e2f395863a Core/Scripts: remove script npc_timothy_daniels (#17779)
The core script `npc_timothy_daniels` is no longer needed,
all the gossip handling is already present in the database.

- remove core script npc_timothy_daniels
- remove ScriptName from c_t entry in DB
2016-08-14 12:05:24 +02:00
tkrokli
0c6eeb3abc 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 09:50:28 +02:00
Aokromes
d4f2f5968a Rename 2016_08_04_05_world.sql to 2016_08_11_00_world.sql 2016-08-11 13:33:31 +02:00
ForesterDev
fdcea5c7ef Core/Command: Check account password max length 2016-08-11 13:32:52 +02:00
Dr-J
3755937611 DB/Misc: Fixes
1) Make http://www.wowhead.com/quest=13125/the-air-stands-still and http://www.wowhead.com/quest=13235/the-flesh-giant-champion so player only has to tag the elite to receive credit so that if those op elites which assist player does more damage than player they still receive credit.
2) An update to previous script for Murloc Pets
2016-08-09 19:13:14 +01:00
Dr-J
53b598c6c7 DB/Loot: Toc Recipes
Set it so that both horde and alliance have equal chance of getting a recipe drop in Trial of the Crusader rather than chance been 1% for horde and 6% for alliance.
2016-08-09 19:04:57 +01:00
Nyeriah
358af1ccc2 DB/Misc: Fix a couple of start up errors and allow the mounted version of Attumen the Huntsmen to skip player damage check 2016-08-08 01:18:01 -03:00
treeston
d760219062 Scripts/Commands: Some adjustments to make shutdown commands more user-friendly.
- New error message if a shutdown is delayed due to force threshold.
- New status message indicating that a server shutdown was successfully cancelled.
2016-08-06 14:34:07 +02:00
Dr-J
60c142fd3b DB/Creature: Father Kamaros
1) Add the missing second http://www.wowhead.com/npc=32800/father-kamaros (only http://www.wowhead.com/npc=31279/father-kamaros is spawned
2) Quests http://www.wowhead.com/quest=13221/im-not-dead-yet and http://www.wowhead.com/quest=13229/im-not-dead-yet should become available once  http://www.wowhead.com/quest=13120/deaths-gaze and http://www.wowhead.com/quest=13119/destroying-the-altars become available not once http://www.wowhead.com/quest=13144/killing-two-scourge-with-one-skeleton is rewarded.
3) Quests http://www.wowhead.com/quest=13482/lets-get-out-of-here and http://www.wowhead.com/quest=13481/lets-get-out-of-here should become available once http://www.wowhead.com/quest=13144/killing-two-scourge-with-one-skeleton is rewarded.
4) Both quests I'm Not Dead Yet and Let's Get Out of Here should be exclusive grouped which player gets depends on what phase they are in when they encounter Father Kamaros
5) Script and texts and wp are identical for this quest as confirmed from sniff so duplicating script from 31279
2016-08-05 14:54:56 +01:00
tkrokli
3c5b5f56f0 Core/Scripts: remove #define text in pyrewood_ambush
- remove #define text from script
- move say text to DB table creature_text
- add enum names and values
- move values in code to enum
2016-08-04 18:13:55 +02:00
Killyana
91b2351876 DB/SAI: Fix runtime SAI error 2016-08-04 17:27:45 +02:00
Killyana
dde5389673 DB: Blood elf start location / Sunstrider isle fixes
By msoky
2016-08-04 17:20:50 +02:00
treeston
d76e15b587 Merge remote-tracking branch 'tkrokli/hunter_animal_handler' into 3.3.5 (PR #16554) 2016-08-04 15:33:44 +02:00
tkrokli
2125c12609 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:34:51 +02:00
Kittnz
74bf937865 Fix deleting some gameobjects 2016-08-03 20:49:21 +02:00
Kittnz
2c0b0b6afa DB/Creature: Grizzly Hills Vordrassil area
- Add missing Vordrassil's Seed spawns
- Add missing creature spawns: Frostpaw Warrior, Redfang Hunter, Generic Trigger LAB, Frostpaw Shaman, Redfang Elder, Frostpaw Trapper
- Add pathing for Frostpaw Shaman, Frostpaw Warrior
- Change some SAI's, Redfang Hunter SAI, Frostpaw Shaman SAI, Generic Trigger LAB SAI
2016-08-03 20:29:06 +02:00
Dr-J
9977bf7479 DB/Quest: From the Depths of Azjol-Nerub
Fix this http://www.wowhead.com/quest=12036/from-the-depths-of-azjol-nerub again after cdf8f3c2e1 areatrigger_involvedrelation does not like sai triggers
2016-08-03 16:59:51 +01:00
Aokromes
ca99b688ed DB/Misc: Fix on startup error 2016-08-03 10:44:04 +02:00
Dr-J
e7cfb08cb5 DB/Quest: A Couple more event scripts
1) http://www.wowhead.com/quest=11631/vision-of-air so there is actually visual rather than quest been immedietly completed when quest item used
2) Event for turn in of http://www.wowhead.com/quest=11695/the-horn-of-elemental-fury
3) A small fix for Subjugated Iskalder so this npc has to be taken back the the bone witch rather than credit been given on spawn and npc not moving (due to bad follow action),
2016-08-02 20:41:53 +01:00
Aokromes
1f8c55d1d6 Rename 9955_22_55_world.sql to 2016_08_01_01_world.sql 2016-08-01 01:30:34 +02:00
Keader
afaaedad2d Core/Scripts Shade of Akama Rewrite (#17567) 2016-08-01 01:29:53 +02:00
Aokromes
3fc487e532 DB/Item: Fix Pristine Glowbear Pelt disenchant
Closes #17684 by robinsch
2016-07-31 08:45:43 +02:00
tkrokli
e54e27af92 Core/Scripts: convert script npcs_riverbreeze_and_silversky to SAI (#17690)
Move script npcs_riverbreeze_and_silversky to SAI,
thereby removing one line of hardcoded text.

- Remove core script npcs_riverbreeze_and_silversky
- Create SAI script for gossip event Cenarion Beacon
- Add missing gossip_menu for plant description
- Add missing creature_text about Cenarion Beacon
- Add and correct conditions for gossip availability
2016-07-31 06:16:47 +02:00
ariel-
2967bf59b4 Core/GameObjects: Gameobject rotation (from cmangos/mangos-wotlk@2bcbc0f) (#14146)
cmangos/mangos-wotlk@0fe88f35df: [11531] Normalize gameobject's quaternion, thanks to zergtmn for pointing
cmangos/mangos-wotlk@060dfb791b: [11667] Implement transport path rotation
cmangos/mangos-wotlk@565f52c6c1: [11806] A bit gameobject code refactoring
cmangos/mangos-wotlk@6874951: [11807] Add gameobject_addon table

Closes #14146
2016-07-30 11:36:18 +02:00
Aokromes
ea9b44d749 DB/Creature: Fix dmgschool for multiple creatures. 2016-07-30 02:12:34 +02:00
tkrokli
b7abaed199 Core/Scripts: zone_silithus.cpp cleanup (#17165)
- move npcs_rutgar_and_frankal to DB/SAI
- move hardcoded text from go_wind_stone to DB
- additional enum cleanup in zone_silithus.cpp
- also solves a $r issue in SAY_TEMPLAR_AGGRO
2016-07-29 10:21:14 +02:00
Nyeriah
4c4d92faa3 Scripts/Karazhan: Rework Attumen the Huntsman's script
Change log:
- Timers are more accurate
- Corrected Charge ability ID based on 6.x researches
- Added Midnight's missing emotes
- Fixed issue with instance being stuck in combat in case of wipes
- Solved the rare scenario where Attumen would be summoned multiple times
- Visual spell on 3rd phase transition added
- Attumen and Midnight can now be damaged during 3rd phase transition
- Midnight calls for the aid of every horse still alive in the stables
- Use proper spells to summon Attumen and handle transitions
- Now despawns on evade
Video of encounter after changes: https://www.youtube.com/watch?v=KX0rqaBeSzw
2016-07-28 00:48:20 -03:00
Dr-J
36306c40d3 DB/Misc: Various Fixes
1) Add a missing to spell to make http://www.wowhead.com/object=182050/box-of-mushrooms#comments spawn a http://www.wowhead.com/npc=18120/angorosh-mauler when looted
2) http://www.wowhead.com/npc=30718/slumbering-mjordin should not be attackable until gossip selected
3) The Valiant's Challenge - Make the Argent Champion set data on squire danny by creature guid instead of closest creature to prevent credit not being given is player is too far away from squire danny.
4) Add civillian flags to http://www.wowhead.com/npc=18206/wastewalker-captive to prevent these non selectable caged npcs from attacking players
5) http://www.wowhead.com/item=7666/shattered-necklace should have possibility to drop for both factions (not just horde) the item is required for a quest for horde players but starts a different quest which horde cant even accept for alliance.
2016-07-25 18:37:30 +01:00
Aokromes
5a550f9418 DB/Gameobject: Respawntimer fix for Quest 11695
Closes #17643 by Tauriella
2016-07-22 10:17:31 +02:00
Killyana
995f5f1f2b DB/Creature: update Drak'aguul script and fix a DB error
Updates #16573
2016-07-20 20:19:20 +02:00
Killyana
eb496e22eb Creature/SAI: Add Frostbolt to Gordok Ogre-Mage 2016-07-20 17:02:42 +02:00
Killyana
218d73d758 DB/Creature: Precious <Simone's Pet> Z coordinate
Closes #17636
By tkrokli
2016-07-20 14:09:51 +02:00
Killyana
cdf8f3c2e1 DB/SAI: Kilix the Unraveler event
Closes #16538
By Rushor
2016-07-19 20:21:27 +02:00
Killyana
fc2fa483b7 DB/SAI: Drak'aguul
Closes #16573
2016-07-19 18:18:25 +02:00
ariel-
7f6c0d3895 DB/Creature: update trainer type for Botanist Alaenra, was wrongly set as class trainer.
Note: there are 2 other creatures like this: SELECT * FROM creature_template where trainer_type = 0 and (npcflag & 16) != 0 and trainer_class = 0;
But one is not spawned (2942) and the other is hostile (14401)
2016-07-19 12:45:18 -03:00
Killyana
10ac7a06de DB/Quest: The Keeper's Favor
Fix spell target and cast type
Closes #17623
2016-07-19 17:04:17 +02:00
Killyana
9e46786288 SAI: Gordok Ogre-Mage
Closes #17627
2016-07-19 16:28:06 +02:00
Killyana
c2e29a34eb DB/NPC: Quartermaster Bartlett
Closes #17611
2016-07-19 14:49:54 +02:00