Commit Graph

5018 Commits

Author SHA1 Message Date
Kudlaty
686cd6eeff Merge [SD2]
r1268 Check if faction pointer are valid before use. Patch by balrok
r1269 Clean up one source file and apply code style. Patch by jotapdiez
r1270 Fix code causing crash after log in, part revert rev 1267
r1271 Revert previous commit, and instead fix typo :) Patch by Apoc

--HG--
branch : trunk
2009-08-14 20:12:58 +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
8bbb1d1c95 Apply some code style
--HG--
branch : trunk
2009-08-14 16:08:53 +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
172befc360 *Sql missing from prev rev.
--HG--
branch : trunk
2009-08-14 15:48:19 +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
1bb93e3534 Fix Drain Soul chance to obtain soulshard on tick - by Themris.
--HG--
branch : trunk
2009-08-14 13:33:58 +02:00
QAston
876448401d *Fix bugs with shapeshift aura bonuses applying during login - by Elron.
--HG--
branch : trunk
2009-08-14 13:28:31 +02:00
QAston
a797b2fe6f *Correct procflags for Darkmoon Card: Death - by Joro.
--HG--
branch : trunk
2009-08-14 13:26:38 +02:00
Chaz Brown
b88faec7b4 Fix Typo
--HG--
branch : trunk
2009-08-14 03:50:44 -04:00
Chaz Brown
51b6a028b1 Cleanup Debug Output for AHBot
--HG--
branch : trunk
2009-08-14 03:30:34 -04:00
megamage
e3ec6f563a *Use the correct tc function in last rev.
--HG--
branch : trunk
2009-08-14 00:33:06 -05:00
maximius
f5863c59ab *Fix build, minor cleanup
--HG--
branch : trunk
2009-08-13 21:44:38 -07: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
megamage
853f3a5ddd *Fix a crash bug caused by corpse.
--HG--
branch : trunk
2009-08-13 21:36:26 -05: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
9ce4f8a768 *I highly doubt bool Ism_auiEncounterInProgress() is valid..
--HG--
branch : trunk
2009-08-13 19:16:57 -07: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
Kudlaty
ea5293da05 More SD2 code style. (Merge [SD2] 1237,1238,1239)
--HG--
branch : trunk
2009-08-14 02:50:40 +02:00
maximius
5d4ffbb90a *Fix Anzu multiple spawns, by Oculus
--HG--
branch : trunk
2009-08-13 17:05:15 -07:00
megamage
ad4267ce11 *Fix a typo which makes tenacity is casted on wrong team in wintergrasp. By iadus3
--HG--
branch : trunk
2009-08-13 18:44:22 -05:00
megamage
354c7a5f0d *Add 4854 sql to full.
--HG--
branch : trunk
2009-08-13 18:16:42 -05:00
Kudlaty
764f4b1815 More SD2 code style
--HG--
branch : trunk
2009-08-14 00:39:07 +02:00
Kudlaty
ad4397b40d merge
--HG--
branch : trunk
2009-08-14 00:07:14 +02:00
megamage
c9ddf9258d *Do not assert !map for non-corpse worldobjects.
--HG--
branch : trunk
2009-08-13 17:02:17 -05:00
Kudlaty
f58781dbad Merge [SD2] Apply SD2 code style
--HG--
branch : trunk
2009-08-14 00:02:13 +02:00
megamage
deca044373 *Fix a typo that broken quest death's challenge
--HG--
branch : trunk
2009-08-13 16:15:22 -05:00
Kudlaty
8212baca88 Merge [SD2]
r1240 Update scripts, increment/decrement variables using operator before instead of after variable, mainly for code consistency. Original patch by Meldanor.

--HG--
branch : trunk
2009-08-13 22:27:55 +02:00
Kudlaty
598e23ff0d Merge [SD2]
r1236 Rewrite/simplify arlokk script (no real changes in features/abilities)

--HG--
branch : trunk
2009-08-13 22:11:15 +02: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
QAston
e2374e8bdb *Use m_caster as caster of triggered spell in EffectTriggerSpell handler.
*Correct stance check in handleShapeshiftBoosts - by Sarjuuk
*Minor cleanup in Unit.cpp.

--HG--
branch : trunk
2009-08-13 21:24:56 +02:00
megamage
25f81cdfcd *Fix some typos in spell_area which make some spells are not available to female char.
--HG--
branch : trunk
2009-08-13 13:40:30 -05:00
megamage
9cff946d8d *Add an assert in ~worldobject
--HG--
branch : trunk
2009-08-13 11:47:38 -05:00
megamage
6b19d80f72 *A better fix of 4974.
--HG--
branch : trunk
2009-08-13 11:35:23 -05:00
megamage
a5ae817695 *Revert 4974.
--HG--
branch : trunk
2009-08-13 11:26:30 -05:00
megamage
37b3b39322 *Fix a crash caused by shaffar script.
*Fix build.

--HG--
branch : trunk
2009-08-13 11:06:34 -05:00
Drahy
eaf8c93f7a * Fixed some iport errors from previous revision
* Added more INSERTs for faster import

--HG--
branch : trunk
2009-08-13 17:58:33 +02:00
Drahy
fc9a4b32c4 * Redone world_script_texts added/fixed some texts + cleanup
* Please reimport world_script_texts.sql from FULL folder

--HG--
branch : trunk
2009-08-13 17:32:34 +02:00
megamage
656cb8a318 *Remove some incorrect use of removefromworld in scripts.
--HG--
branch : trunk
2009-08-13 10:21:57 -05:00
megamage
c84f63d431 *Fix a crash caused by corpse.
--HG--
branch : trunk
2009-08-13 10:07:51 -05:00
Kudlaty
7cc1b6a0d1 merge
--HG--
branch : trunk
2009-08-13 17:03:12 +02:00
Kudlaty
5ba4407d42 Merge [SD2]
r1231 Remove old hack code that never worked and move/comment a few remaining to a more suitable function.
r1232 Use more safe way to check local bool in AI, accessed from GossipSelect
r1233 Update instance type and data labels for ZG to sd2 style and remove not needed ones.
r1234 Add scriptname for Gong, prevent using it in ZG if event already in progress or done (script added in previous commit)
r1235 Restore compile, sorry for typos :)
      Apply SD2 code style to arlokk script.

--HG--
branch : trunk
2009-08-13 17:02:49 +02:00
megamage
284b0063a8 *A hacky fix of the crash happening when player is teleported during logout.
--HG--
branch : trunk
2009-08-13 10:01:00 -05:00
Chaz Brown
5ab3117c0c Fix libssl in OSX - fix provided by imbecile
--HG--
branch : trunk
2009-08-13 08:40:40 -04:00
QAston
c8a3f95836 *Fix a typo in Spell::EffectEnergize.
--HG--
branch : trunk
2009-08-13 14:36:50 +02:00
Drahy
02da8a41f7 [8361] Avoid apply bonuses to item 32262 drain life. Author: VladimirMangos
--HG--
branch : trunk
2009-08-13 11:21:08 +02:00