Commit Graph

175 Commits

Author SHA1 Message Date
Kudlaty
6e8c66eeb3 Merge [SD2]
r1354 Add one lost text from revision 1352.

--HG--
branch : trunk
2009-08-20 02:27:23 +02:00
Kudlaty
33a1d8dc6c Merge [SD2]
r1346 Convert script for quest 2078 to use followerAI
r1347 Use spell to summon friends instead of manual summon in script for quest 1249.
r1348 Extend followerAI function SetFollowComplete with argument to simplify implementation of end events in scripts.
r1349 Convert script related to quest 1560 to use followerAI
r1350 Apply SD2 code style to one instance and boss script - skip
r1351 Add basic support for quest 4491.
r1352 Add basic support for quest 5321
r1353 Adjust way to complete quest, for script related to quest 938

--HG--
branch : trunk
2009-08-20 02:24:53 +02:00
megamage
9bd8f09978 *Summon GO dawn of light instead of changing db.
--HG--
branch : trunk
2009-08-18 19:10:58 -05:00
megamage
483f40cbd8 *Script of quest The Light of Dawn. By ckegg.
*I have reduced the number of mobs because they may make the server laggy if the server is not good.

--HG--
branch : trunk
2009-08-18 12:09:03 -05:00
megamage
6701d3d24f *Script for quest "An End To All Things..."
--HG--
branch : trunk
2009-08-17 22:34:18 -05:00
megamage
d205ff9e06 [8377] Resolve some spell_area problems in GM and non-GM mode. Author: VladimirMangos
* Make spell 40216 and 42016 casted/remove at aura 40214 apply/remove.
      And drop related spell_area possible existed data.
    * In general restore apply area limitations to spell casting in GM mode.

--HG--
branch : trunk
2009-08-17 16:34:02 -05:00
megamage
596c0cd5f7 *Fix dk quest chain until "The Scarlet Apocalypse"
--HG--
branch : trunk
2009-08-17 13:09:42 -05:00
Nevan
5c285e93b9 *Fix Glyph of Rake
--HG--
branch : trunk
2009-08-17 19:23:17 +02:00
megamage
937fd6d632 *Add script of quest "Bloody Breakout". Original patch by ckegg.
--HG--
branch : trunk
2009-08-17 11:25:38 -05:00
QAston
445b8236a1 *Implement aura type SPELL_AURA_MOD_XP_QUEST_PCT (291) and fix SPELL_AURA_MOD_XP_PCT(200) handler.
*Correct structure stored in world.sql for npc_spellclick_spells and fix world_script_text application.

--HG--
branch : trunk
2009-08-17 14:55:50 +02:00
QAston
44c100ae15 *Remove duplicate entries for lightwell from world_spell_full - thanks to Darkshines.
--HG--
branch : trunk
2009-08-17 13:13:02 +02:00
megamage
c5287ba58e *Add script of quest "Ambush At The Overlook". Original patch by ckegg.
--HG--
branch : trunk
2009-08-16 23:57:23 -05:00
megamage
d42bb416a2 *Add script of quest "How to win friends and influence enemies". Author ckegg. With some modifications.
*Fix the bug that persuader can be used on other creatures.

--HG--
branch : trunk
2009-08-16 22:23:08 -05:00
Nevan
19ebe75d41 *Fix Frozen Power Talent
--HG--
branch : trunk
2009-08-17 03:28:52 +02:00
QAston
a5f7cc1341 *Backout unintentional change in world_spell_full from prev rev.
--HG--
branch : trunk
2009-08-17 03:02:58 +02:00
QAston
41c12d173b *Add spell_bonus_data for lightwell - by Elron
*Add aura_required, aura_forbidden, user_type columns to npc_spellclick_spells table for additional requirement checks
*Remove workarounds from lightwell code and use new npc_spellclick_spells fields instead.

--HG--
branch : trunk
2009-08-17 02:53:39 +02:00
Kudlaty
6359bfb27a Merge [SD2]
r1341 Use same text for all OOX-scripts. Minor adjustments in addition. Patch by Meldanor
r1342 Fix typo in scriptdev2_script_full.sql - skip
r1343 Some cleanup and corrections for Windows project files.
r1344 Clean more files of trailing whitespace.

--HG--
branch : trunk
2009-08-17 02:06:52 +02:00
Machiavelli
82c233de58 *Send correct gossip icons for unlearn talent, unlearn pet talent and purchase dual talent. Dual talent still needs some changes to gossip to make blizzlike.
--HG--
branch : trunk
2009-08-17 02:03:23 +02:00
Kudlaty
55087b5e72 Merge [SD2]
r1331 Delete old .patch files no longer needed. - skip
r1332 Clean up script for end boss in TK and apply SD2 code style. Patch by Abim - skip
r1333 Remove workaround ai's and correct spells to be casted for Flame Strike - skip
r1334 Add misc gossip for npc_timothy_daniels and npc_trollbane. Patch by hoshie
r1335 Correct order of dwarf attack for BRD seven event. Also add missing text and remove wrong gossip. Patch by jotapdiez - skip
r1336 Add support for quest 12573. Patch by Azuritus
r1337 Set eol-style where missing, since i have no fantasy to do other changes for a l33t revision. - skip
r1338 Trim trailing whitespace in files. - skip
r1339 Fix my mistake in rev 1336 and add script where it should be.
r1340 Correct inconsistent use of line endings and set eol-style to custom patch. - skip

--HG--
branch : trunk
2009-08-17 01:41:39 +02:00
Kudlaty
b08bd25bc5 merge
--HG--
branch : trunk
2009-08-17 00:34:14 +02:00
Kudlaty
cad925e31d Merge [SD2]
r1326 Correct waypoints and details for quest 863
r1327 Add function GetPlayerForEscort to escortAI (not used by escortAI yet)
r1328 Updated 0.12 patch and redesigned Karathress for better maintenance. Fixed an issue with Karathres's speech and a little casting bug. - skip
r1329 Remove use of old uint64 variable for player guid in escortAI and use function to retrieve pointer to player instead.
r1330 Restore compile and use FailQuest instead of no longer existing FailTimedQuest (ref Mangos 8355).

Move all waypoints to db

--HG--
branch : trunk
2009-08-17 00:29:53 +02:00
maximius
68e0c6fcbd *Just in case this gets run twice without recreating npc_option..
--HG--
branch : trunk
2009-08-16 14:36:56 -07:00
Kudlaty
5d2d8d8074 Merge [SD2]
r1321 Add support for quest 863.
      Some cleanup in existing script.
r1322 Correct database info for current supported Mangos revision (8273+) (Windows may use from 8190+) - skip
r1323 Make escortAI function IsPlayerOrGroupInRange and move existing code to this.
r1324 Fixed IsEncounterInProgress for Arcatraz, The Eye and Shadow Labyrinth
r1325 Renamed aunchindoun to auchindoun. Fixed comment typos.

--HG--
branch : trunk
2009-08-16 22:21:57 +02:00
Kudlaty
91f3d69edf Merge [SD2]
r1314 Correct some spellId's and apply SD2 code style
r1315 Correct more spells and apply SD2 code style
r1316 Replace magic number with enum type name UNIT_DYNFLAG_DEAD
r1317 Add support for quest 1249. Patch by jotapdiez
r1318 Move AI's implementation from headers. Original patch/idea by DasBlub
r1319 Convert script related to quest 938 to use followerAI
r1320 Add new virtual function WaypointStart() to escortAI.

--HG--
branch : trunk
2009-08-16 21:46:31 +02:00
QAston
ec5515ee49 *Remove hack in Brain Freeze code.
*Update Improved Mend Pet to 3.1.3.

--HG--
branch : trunk
2009-08-16 19:13:02 +02:00
Kudlaty
9ddfd5bf22 Merge [SD2]
r1307 Add gossip for npc_tracy_proudwell. Patch by hoshie
r1308 Fixed one not initialized array.
r1309 Correct typo in folder name. - skip
r1310 Enable faction change and remove unitState at attackStart for script related to quest 1560

--HG--
branch : trunk
2009-08-16 17:54:31 +02:00
megamage
90ed27059d *Script of quest Massacre at light's point. Original author nevan.
*primary bugs:
*you may fall below the deck of ship after exiting mine car and have to try again.
*mobs spawn too slow (part of it is db issue)
*there is no cannon on ship (db issue, you can add some 28833 by yourself or ask your db dev to do it)

--HG--
branch : trunk
2009-08-15 23:04:21 -05:00
Kudlaty
61ed8f90df Merge [SD2]
r1296 Fix typo and check for IN_PROGRESS instead of NOT_STARTED and also return after force EnterEvadeMode in UpdateAI - skip
r1297 Set sysconfdir path in different way for linux compile, to avoid possible DOTCONF++ error at start. Patch by Saeldur - skip
r1298 Fix typo in MC instance script.
r1299 Clean up one MC boss script and remove old workarounds. Patch by Reve
r1300 Add gossip to npc_naladu. Patch by hoshie
r1301 Some minor cleanup and move one folder+source file

--HG--
branch : trunk
2009-08-16 02:46:55 +02:00
maximius
2fd68eab44 *Add Dual Spec support, original by EnderGT, thanks to Thyros and XTElite1 for helping me test :)
--HG--
branch : trunk
2009-08-14 17:24:52 -07:00
megamage
7c81b694e9 *Fix sql in 5031.
--HG--
branch : trunk
2009-08-14 18:41:10 -05:00
megamage
c40be3e50a *Script of Netherspite. By Iskander
--HG--
branch : trunk
2009-08-14 18:34:16 -05:00
Anubisss
227a1dc0be Show player's race and class in command .pinfo
--HG--
branch : trunk
2009-08-15 01:20:18 +02:00
maximius
c515666cdb *Fixing text of emotes, by Aokromes.
--HG--
branch : trunk
2009-08-14 16:02:35 -07:00
Kudlaty
68c015af44 Merge [SD2]
r1284 Apply SD2 code style to all uint32 arguments in gossip related functions.
r1285 Replace all remains of _GO with proper pointer style.
Aslo some other code style.
Fix typo in world_scripts_full.sql. thx Sundark

--HG--
branch : trunk
2009-08-15 00:32:04 +02:00
Kudlaty
f37885c086 Merge [SD2]
r1281 Added support for quest 12247. Patch by Azuritus
r1282 Added support for quest 11708. Patch by Azuritus.
      Additional cleanup and code style applied.
r1283 Add support for quest 12807. Patch by Azuritus

--HG--
branch : trunk
2009-08-14 21:58:29 +02:00
Kudlaty
5ebba6e2fe Merge [SD2]
r1272 Rough cleanup of hyjal-related scripts. Mainly applied SD2 code style, but also minor improvement of code and removal of not needed functions. - skip
r1273 Move code and use JustSummoned() instead of own system in hyjalAI - skip
r1274 Simplify way to determine where to spawn creature and remove already known base area passed in function. Also rename arrays. - skip
r1275 Provide updated .patch file after changes in Mangos rev 8255 - skip
r1277 Remove adding threat for summoned waves in hyjal and instead move to point when summoned. Also add simple handler to attempt move summoned closer to base bosses when not in combat. - skip
r1278 Replace world state functions in misc scripts with new ScriptedInstance function.
r1279 Simplify spawning of correct wave in hyjal. Remove no longer needed arguments in related function.
      Also restore wave timer reset in case all mobs in wave are dead before master timer end. - skip
r1280 Added basic support for quest 1324. Patch by jotapdiez
      Also adding additional data for further development of event.

--HG--
branch : trunk
2009-08-14 21:29:28 +02:00
Kudlaty
4252c4cef0 Merge [SD2]
r1266 Added support for quest 4966
r1267 Remove obsolete ScriptedAI functions, no longer used. Clean up code. Patch by DasBlub

--HG--
branch : trunk
2009-08-14 19:45:06 +02:00
Kudlaty
485aab1186 Merge [SD2]
r1261 Add GO script to complete lyceum event in BRD. Patch by Turok
      Some minor cleanup.
r1262 Apply SD2 code style to example scripts. Patch by DasBlub
r1263 Remove AI for some of the npc's in tomb of seven event (BRD). Note that ACID is required for event to work properly (set instance data). Patch by Turok
r1264 Fix typo in filename in previous commit.
r1265 Added support for quest 2742

--HG--
branch : trunk
2009-08-14 17:14:08 +02:00
Kudlaty
65ba3044dc merge
--HG--
branch : trunk
2009-08-14 15:59:01 +02:00
Kudlaty
75faad4b93 Merge [SD2]
r1251 Add waypoints for Hellmaw
r1252 Add missing SQL to *_full for script added in rev 1243
r1253 Increment count value only for alive creature in SL instance script. Some minor cleanup.
r1254 Fix typo, and not set friendly creature in combat with zone. Also add comments and re-order code for readability. Patch by astriconX - skip
r1255 Handle akama channelers in different way, fill list of guids only when needed for event. - skip
r1256 Clean up akama script and apply sd2 code style. - skip
r1257 Correct 2 waypoints and apply sd2 code style to related script.
r1258 Add basic support for quest 1560
r1259 Simplify way to summon druid creatures. Patch by Turok
r1260 Clean up two more world bosses, apply SD2 code style and simplify code. Add missing texts. Patch by Turok.

--HG--
branch : trunk
2009-08-14 15:58:37 +02:00
QAston
a60600b717 *Script for Ebon gargoyle - original patch by thenecromancer.
--HG--
branch : trunk
2009-08-14 15:30:47 +02:00
Rat
759721bb5f *added script for quest: Escaping the Tomb (10887) original patch by: Naturamen
*fix world_script_waypoints.sql format

--HG--
branch : trunk
2009-08-14 14:38:44 +02:00
QAston
a797b2fe6f *Correct procflags for Darkmoon Card: Death - by Joro.
--HG--
branch : trunk
2009-08-14 13:26:38 +02:00
Kudlaty
5b87f1fcdc Merge [SD2]
r1245 Update escortAI MAX_PLAYER_DISTANCE from 50 to 66 yards - skip
r1246 Not call JustDied() AI function when escortAI max range is over limit(not regular death). Some additional cleanup to apply code style.
r1247 Implement automated FailQuest in escortAI (if npc has specific death events, call npc_escortAI::JustDied()). Clean up scripts related to it.
      Restore original faction at escortAI's JustRespawned() in case faction changed (normal case for escorts). Remove in scripts where defined.
r1248 Add small delay before move to first point in escortAI.
r1249 Add support for quest 898
r1250 Add support for quest 10451. Original patch by Lightguard

--HG--
branch : trunk
2009-08-14 05:32:39 +02:00
Kudlaty
93e420ed29 Merge [SD2]
r1241 Add text to ysondre and also replace manual summon with spell. Clean up script. Patch by Turok
r1242 Add support for quest 4770
r1243 Add support for quest 4904
r1244 Update most scripts calling escortAI's Start() from outside creature AI with more safe method.

--HG--
branch : trunk
2009-08-14 04:21:52 +02:00
maximius
184c8ac829 *Cleanup
--HG--
branch : trunk
2009-08-13 18:20:40 -07:00
maximius
02e759a879 *Added directions to Inscription trainers to all guards, based on Nafsih's patch
*Cleaned up Sethekk Halls

--HG--
branch : trunk
2009-08-13 18:16:55 -07:00
maximius
5d4ffbb90a *Fix Anzu multiple spawns, by Oculus
--HG--
branch : trunk
2009-08-13 17:05:15 -07:00
megamage
354c7a5f0d *Add 4854 sql to full.
--HG--
branch : trunk
2009-08-13 18:16:42 -05:00
megamage
e0449b421c *Add some detailed error log in SCRIPT_COMMAND_CAST_SPELL so we can know what is causing spams
--HG--
branch : trunk
2009-08-13 14:39:01 -05:00