Commit Graph

5525 Commits

Author SHA1 Message Date
megamage
e03b7cd4d7 *Change react state of guardian back to aggressive. Instead check threat radius in canstartattack to prevent them attack too far target.
--HG--
branch : trunk
2009-08-15 14:30:14 -05:00
megamage
bc7f37fe1c *Fix a crash caused by ItemExpire though the reason is unknown.
--HG--
branch : trunk
2009-08-15 13:47:05 -05:00
Machiavelli
eb9d9ff071 *Merge
--HG--
branch : trunk
2009-08-15 20:25:28 +02:00
Machiavelli
b3a363cc4f *Correctly calculate spent talent points upon switching to primary/secondary talent spec. By thenecromancer.
--HG--
branch : trunk
2009-08-15 20:24:23 +02:00
Chaz Brown
db31023cc5 Reintroduce spell categories for Food and drink removed in 4904 (bd5ef2d4ac26) and change code that used hard coded numbers to use them instead - Thanks, Peldor
--HG--
branch : trunk
2009-08-15 14:10:50 -04:00
Machiavelli
ab744808c7 *Forgot to move delete result after fetch function.
Note: Dual speccing isn't working fully, going past rev 5037 is not recommended.

--HG--
branch : trunk
2009-08-15 18:48:25 +02:00
Machiavelli
2057f7d01d *Fix logical error in Player::LoadFromDB regarding dual speccing, and relocate code for consistency
--HG--
branch : trunk
2009-08-15 17:05:34 +02:00
Rat
230d112282 *fix shapeshift bonus auras, hope i didnt brake anything
--HG--
branch : trunk
2009-08-15 14:26:49 +02:00
maximius
49990e3fee *Better, but this needs work.
--HG--
branch : trunk
2009-08-14 23:38:51 -07:00
megamage
5983558bcc *Let all controlled entercombat when owner/charmer enters combat.
--HG--
branch : trunk
2009-08-14 22:36:32 -05:00
megamage
47735056cf *Set react as defensive for guardians. Otherwise you cannot finish quest "the gift keeps giving" until kill all mobs on map.
--HG--
branch : trunk
2009-08-14 22:26:49 -05:00
megamage
e94295fe42 *Fix function disappearanddie to make creature disappear immediately without death visual.
--HG--
branch : trunk
2009-08-14 22:26:07 -05:00
megamage
43d35de4ff *Fix the bug that summoner cannot attack summoned creatures. This bug was introduced in 4481. Note the difference between "summoner" and "owner".
*Valkyr script updated.

--HG--
branch : trunk
2009-08-14 22:25:12 -05:00
megamage
b8222df247 *Make sure spell 52479 (gift of the harvester) always works.
--HG--
branch : trunk
2009-08-14 21:45:54 -05:00
megamage
026659565d *Some cleanup of script vcproj (according to SD2)
--HG--
branch : trunk
2009-08-14 21:26:14 -05:00
Kudlaty
de8eb15699 Fix compile under windows. Thx for test Sundark
--HG--
branch : trunk
2009-08-15 04:02:48 +02:00
Nevan
0515533fcd *Fix Compile Error "../../npc/npc_escortAI.h"
--HG--
branch : trunk
2009-08-15 03:11:22 +02:00
Kudlaty
a30cc63d27 Merge [SD2]
r1287 Move all non-instance scripts that are not related to any special continent to new world folder.
Windows users pls wait until vcproj will be fixed

--HG--
branch : trunk
2009-08-15 02:34:43 +02:00
megamage
a65bb438a8 *Skarvald and Dalronn - Utgarde Keep: To make ghost versions not attackable. By tlexii
--HG--
branch : trunk
2009-08-14 19:27:53 -05: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
Chaz Brown
c7aa2f64e3 Fix typo in AHBot
--HG--
branch : trunk
2009-08-14 20:10:17 -04:00
megamage
271238a8e0 *Do not allow player to delete COD mails.
--HG--
branch : trunk
2009-08-14 19:00:12 -05:00
megamage
6890d8aedb *Log old name for customize request
--HG--
branch : trunk
2009-08-14 18:55:35 -05:00
megamage
cbcaba2e31 *Fix a typo in script [Quest] - Escape from Umbrafen By bigjohnson4
--HG--
branch : trunk
2009-08-14 18:38:03 -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
megamage
1b056afaab *Fix broken script.vcproj files.
--HG--
branch : trunk
2009-08-14 17:56:25 -05: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
Rat
ce84190b5c *stop combat on battleground end, so creatures won't kill players
*added enum from BGCreatures

--HG--
branch : trunk
2009-08-14 22:09:06 +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
megamage
372655d862 [8365] Small description clarify for new config option. Author: Fog
--HG--
branch : trunk
2009-08-14 14:36:11 -05:00
megamage
1211aabb28 [8364] Implement possibility reset client cache data from server side. Author: Fog
Implemented 2 way set cache data "version":
    * New db_version.cache_id field let set cache data version by DB content creators.
      This can be used for content releases by seting some unique value at each release.
      This value used by default.
    * New mangosd.conf config option let set (overwrite DB value) or use 0 for ignore.
      This can be used by serever admin for reset cache at some local changes.

    Note: values use at client login and then must be unique for long period time to avoid ignored
          at login some long not connected client with old same cache version value.

--HG--
branch : trunk
2009-08-14 14:34:46 -05: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
megamage
b3c9916177 *Fix the crash caused by map::removing does not really resetmap
--HG--
branch : trunk
2009-08-14 14:09:57 -05:00
Kudlaty
ce21d65aa2 Merge [SD2]
r1276 Add function DoUpdateWorldState() to ScriptedInstance class for sending update to all players in instance.

--HG--
branch : trunk
2009-08-14 20:56:01 +02:00
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
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