e581351794
*Replace every tab with 4 spaces, checked by hand
maximius2009-08-15 19:08:39 -07:00
c88304af95
*Add some vehicle ai functions.
megamage2009-08-15 20:36:54 -05:00
917bf34a98
*better handle effect 140. do not consider bp > 0 as custom damage.
megamage2009-08-15 20:36:21 -05:00
cbe2f63d42
*Remove inline because it is not necessary. VC++ will set all functions defined in class declaration as inline automatically.
megamage2009-08-15 20:35:16 -05:00
2844937850
* Clear m_actionsButtons regardless of DB data for other spec when switching specs.
Machiavelli2009-08-16 03:23:51 +02:00
71c69e3460
*Remove offhand after switching specs if the player can no longer equip that item (ie: Titan's Grip)
maximius2009-08-15 18:21:04 -07:00
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
Kudlaty2009-08-16 02:46:55 +02:00
93709273ec
Merge [SD2] r1294 Let EscortAI fill waypoint list at Start(). Scripts using escortAI then no longer need to call FillPointMovementListForCreature(). r1295 Move one misplaced source file.
Kudlaty2009-08-16 02:12:14 +02:00
4b31577eb3
*Implement Championing system. More info about this patch at http://www.wowwiki.com/Championing *Dont forget that this system can only works fine if has a DB support with level 80 instances' reputations(so need some data to creature_onkill_reputation).
Anubisss2009-08-16 01:54:50 +02:00
5b42daa7bf
Merge [SD2] r1291 Move one misplaced script in yesterday commits. r1292 Make own folder for tool, not needed for general work of SD2. - skip r1293 Add script loader to simplify maintenance of scripts. The scripts must now be added to system/ScriptLoader.cpp instead of old way directly in ScriptMgr.
Kudlaty2009-08-16 01:45:49 +02:00
6337c3adfb
Merge [SD2] r1288 Update include guards with better naming. r1289 Fix typo in makefile.am - skip r1290 Move AI remaining in misc folders to own folder base. Rename file to same as others for consistency and update includes accordingly.
Kudlaty2009-08-16 00:53:16 +02:00
e00175d23b
Merge [SD2] r1287 Move all non-instance scripts that are not related to any special continent to new world folder. sorry about mistake in last sd2 merge. there should be: r1286 Restructure file layout and move all non-instance source files to a logical continental single folder.
Kudlaty2009-08-16 00:10:26 +02:00
00d53460c8
* Better way to toggle between action bars for duel speccing, with help from thenecromancer's patch, thank you. * Correctly adopt spec 1's action bars into spec 2 when learning a new spec. * Correct handling for UpdateSpecCount where count == 1. * Other small cleanup and consistency variables.
Machiavelli2009-08-15 23:31:58 +02:00
8387e8a4fd
This should fix readline on OSX and shouldn't break anything for other OS's - submitted by Curuad
Chaz Brown2009-08-15 17:00:08 -04:00
b6e7065d41
*Add config option to change minimum level required to Dual Spec
maximius2009-08-15 13:39:40 -07:00
3269f47b5b
*Update Emalon the Storm Watcher script. By riddick
megamage2009-08-15 14:36:15 -05:00
e03b7cd4d7
*Change react state of guardian back to aggressive. Instead check threat radius in canstartattack to prevent them attack too far target.
megamage2009-08-15 14:30:14 -05:00
bc7f37fe1c
*Fix a crash caused by ItemExpire though the reason is unknown.
megamage2009-08-15 13:47:05 -05:00
b3a363cc4f
*Correctly calculate spent talent points upon switching to primary/secondary talent spec. By thenecromancer.
Machiavelli2009-08-15 20:24:23 +02:00
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
Chaz Brown2009-08-15 14:10:50 -04:00
ab744808c7
*Forgot to move delete result after fetch function. Note: Dual speccing isn't working fully, going past rev 5037 is not recommended.
Machiavelli2009-08-15 18:48:25 +02:00
2057f7d01d
*Fix logical error in Player::LoadFromDB regarding dual speccing, and relocate code for consistency
Machiavelli2009-08-15 17:05:34 +02:00
49990e3fee
*Better, but this needs work.
maximius2009-08-14 23:38:51 -07:00
5983558bcc
*Let all controlled entercombat when owner/charmer enters combat.
megamage2009-08-14 22:36:32 -05:00
47735056cf
*Set react as defensive for guardians. Otherwise you cannot finish quest "the gift keeps giving" until kill all mobs on map.
megamage2009-08-14 22:26:49 -05:00
e94295fe42
*Fix function disappearanddie to make creature disappear immediately without death visual.
megamage2009-08-14 22:26:07 -05:00
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.
megamage2009-08-14 22:25:12 -05:00
b8222df247
*Make sure spell 52479 (gift of the harvester) always works.
megamage2009-08-14 21:45:54 -05:00
026659565d
*Some cleanup of script vcproj (according to SD2)
megamage2009-08-14 21:26:14 -05:00
de8eb15699
Fix compile under windows. Thx for test Sundark
Kudlaty2009-08-15 04:02:48 +02:00
bbe4b7d6b3
*Alter the behavior of 5036_character_updates
maximius2009-08-14 18:27:40 -07:00
6ae2f91850
*Use TRANSACTION in 5036_character_updates...
maximius2009-08-14 18:22:10 -07:00
8a8471dd96
*Use less destructive method, in an attempt to preserve character_actionmaximius2009-08-14 17:56:31 -07:00
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
Kudlaty2009-08-15 02:34:43 +02:00
a65bb438a8
*Skarvald and Dalronn - Utgarde Keep: To make ghost versions not attackable. By tlexii
megamage2009-08-14 19:27:53 -05:00
2fd68eab44
*Add Dual Spec support, original by EnderGT, thanks to Thyros and XTElite1 for helping me test :)
maximius2009-08-14 17:24:52 -07:00
e1e8c4a77e
*Fix a typo in sql. By Sundark.
megamage2009-08-14 17:34:43 -05:00
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
Kudlaty2009-08-15 00:32:04 +02:00
ce84190b5c
*stop combat on battleground end, so creatures won't kill players *added enum from BGCreatures
Rat2009-08-14 22:09:06 +02:00
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
Kudlaty2009-08-14 21:58:29 +02:00
372655d862
[8365] Small description clarify for new config option. Author: Fog
megamage2009-08-14 14:36:11 -05:00
1211aabb28
[8364] Implement possibility reset client cache data from server side. Author: Fog
megamage2009-08-14 14:34:46 -05:00
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.
Kudlaty2009-08-14 21:29:28 +02:00
b3c9916177
*Fix the crash caused by map::removing does not really resetmap
megamage2009-08-14 14:09:57 -05:00
ce21d65aa2
Merge [SD2] r1276 Add function DoUpdateWorldState() to ScriptedInstance class for sending update to all players in instance.
Kudlaty2009-08-14 20:56:01 +02:00
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
Kudlaty2009-08-14 20:12:58 +02:00
4252c4cef0
Merge [SD2] r1266 Added support for quest 4966 r1267 Remove obsolete ScriptedAI functions, no longer used. Clean up code. Patch by DasBlub
Kudlaty2009-08-14 19:45:06 +02:00
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
Kudlaty2009-08-14 17:14:08 +02:00
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.
Kudlaty2009-08-14 15:58:37 +02:00
172befc360
*Sql missing from prev rev.
QAston2009-08-14 15:48:19 +02:00
a60600b717
*Script for Ebon gargoyle - original patch by thenecromancer.
QAston2009-08-14 15:30:47 +02:00
759721bb5f
*added script for quest: Escaping the Tomb (10887) original patch by: Naturamen *fix world_script_waypoints.sql format
Rat2009-08-14 14:38:44 +02:00
1bb93e3534
Fix Drain Soul chance to obtain soulshard on tick - by Themris.
QAston2009-08-14 13:33:58 +02:00
876448401d
*Fix bugs with shapeshift aura bonuses applying during login - by Elron.
QAston2009-08-14 13:28:31 +02:00
a797b2fe6f
*Correct procflags for Darkmoon Card: Death - by Joro.
QAston2009-08-14 13:26:38 +02:00
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
Kudlaty2009-08-14 05:32:39 +02:00
853f3a5ddd
*Fix a crash bug caused by corpse.
megamage2009-08-13 21:36:26 -05:00
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.
Kudlaty2009-08-14 04:21:52 +02:00
02e759a879
*Added directions to Inscription trainers to all guards, based on Nafsih's patch *Cleaned up Sethekk Halls
maximius2009-08-13 18:16:55 -07:00
deca044373
*Fix a typo that broken quest death's challenge
megamage2009-08-13 16:15:22 -05:00
8212baca88
Merge [SD2] r1240 Update scripts, increment/decrement variables using operator before instead of after variable, mainly for code consistency. Original patch by Meldanor.
Kudlaty2009-08-13 22:27:55 +02:00
598e23ff0d
Merge [SD2] r1236 Rewrite/simplify arlokk script (no real changes in features/abilities)
Kudlaty2009-08-13 22:11:15 +02:00
e0449b421c
*Add some detailed error log in SCRIPT_COMMAND_CAST_SPELL so we can know what is causing spams
megamage2009-08-13 14:39:01 -05:00
e2374e8bdb
*Use m_caster as caster of triggered spell in EffectTriggerSpell handler. *Correct stance check in handleShapeshiftBoosts - by Sarjuuk *Minor cleanup in Unit.cpp.
QAston2009-08-13 21:24:56 +02:00