Commit Graph

  • f6ec531d4d Merge [SD2] r1221 Restore compile after changes to KilledMonster(). Remove no longer needed code where creature_template are expected to have definitions for KillCredit. Replace one creature script with areatrigger script and some related code cleanup. Requires Mangos 8190+ r1222 Move waypoints for Barnes to database. Also adjust code and simplify parts of pre-event. Some additional code cleanup r1223 Clean up labels for Kara instance. r1224 Replace use of MANGOS_DLL_SPEC with MANGOS_DLL_DECL as expected in script. Thanks Zor for notice. - skip r1225 Add new options for escortAI. For normal escorts, InstantRespawn can be set true (normal will despawn creature and use database spawntimesecs) For non-escorting scripts, option to loop path can be set. Creature will return to respawn coords and after, start path from beginning. r1226 Remove escortAI option to defend self. Creature must be able to enter combat with any attacking and then defend self by attacking back. If custom cases exist where creature must not be set in combat with attacking, then custom script is expected. r1227 Using _SECURE_SCL=0 to speedup iterators in Windows (release build, ref Mangos rev 8194). Patch by Vladimir - skip r1228 Clean up gruul instance + scripts, add instance save and apply sd2 code style. Some adjustment to hurtful strike. Minor adjustments to other spell abilities. Create own AI for adds, and avoid repetitive code being common for all adds. Patch by Abim - skip r1229 Move door code to instance script and simplify Set/GetData() code and aggro check. - skip r1230 Remove no longer needed call to Reset() in Council_Base_AI and correct typo. - skip Kudlaty 2009-08-13 05:47:23 +02:00
  • 5cd6c7c4f7 *Implement m_AurasUpdateIterator. [8329] Author: VladimirMangos megamage 2009-08-12 21:24:15 -05:00
  • 32e960d5bc *Fix build. megamage 2009-08-12 21:14:35 -05:00
  • 421a154544 [8360] Simplify and partly rewrite SPELL_EFFECT_TRIGGER_SPELL work. Author: VladimirMangos megamage 2009-08-12 21:07:03 -05:00
  • 17b5663a36 [8359] Make effect from item 20414 positive. Author: VladimirMangos megamage 2009-08-12 20:58:58 -05:00
  • 07136c9e5c [8356] Added 'place holders' for unknown CreatureTypeFlags. megamage 2009-08-12 20:57:52 -05:00
  • 9f38d67f2e [8355] Implement QUEST_STATUS_FAILED and simplify related code. megamage 2009-08-12 20:57:35 -05:00
  • 2e1b5a41b7 [8354] Update kill credit for normal creature entry including heroic case. Author: VladimirMangos megamage 2009-08-12 20:54:27 -05:00
  • fe3e3be3a7 [8352] More correct dazed spells selection for remove at shapeshift. Author: VladimirMangos megamage 2009-08-12 20:49:06 -05:00
  • 0d1677fa09 [8351] Implement spell 55693. Author: VladimirMangos megamage 2009-08-12 20:47:54 -05:00
  • 603685a2d2 * Some cleanups and better checks in IsPositiveEffect. Author: VladimirMangos megamage 2009-08-12 20:42:07 -05:00
  • 8ee1e20acd [8345] corrected startup-checks for spell_area table megamage 2009-08-12 20:38:24 -05:00
  • d1a5689b65 [8344] In case battleground reward items player must "receive" instead "create" item in message. Author: VladimirMangos megamage 2009-08-12 20:36:55 -05:00
  • d575793f6d [8343] Extand level allowed range for item use to upper values if it end at max player level. Author: VladimirMangos megamage 2009-08-12 20:30:17 -05:00
  • 4f4775a31b [8339] Improved storing/restoring BG entry point megamage 2009-08-12 20:27:00 -05:00
  • ed637fbf1f Merge [SD2] r1211 Correct tempsummon type for adds and add spellId for future use. Patch by Abim - skip r1212 Added support for quest 6523. Patch by Meldanor - skip (already have that, just move waypoints to db) r1213 Add a few missing address-of operators and some general cleanup. r1214 Adjusting how pet are summoned and check when new pet can be summoned for sharkkis. - skip r1215 Added support for event related to quest 12727. Original patch by ckegg r1216 Some adjustments to function for controlling combat movement (MoveChase()) r1217 Use SetCombatMovement() for more scripts where expected and remove one useless function from Scripted_NoMovementAI (this may be fully removed) r1218 Correct script_texts, adding variable %s where missing (...and where expected. Note that not all creature emote texts contain name of sender). - skip r1219 Reset DATA_OPERA_OZ_DEATHCOUNT to 0 at start, in case event was previously run and incremented counter. r1220 Correct lost-in-process FillPointMovementListForCreature() for quest 12727 (copy/paste == bad) Kudlaty 2009-08-13 02:48:34 +02:00
  • 46f4159c5e *Fix glyphs increasing duration of buff when it's selfcasted. QAston 2009-08-13 02:23:50 +02:00
  • 9ef950f9be *Disable spams of "received not allowed opcode xxx". If any dev finds this error log useful, feel free to add it back. megamage 2009-08-12 19:02:10 -05:00
  • e90686046e *Cleanup of scripts. megamage 2009-08-12 18:58:21 -05:00
  • afdd3837e8 Change/Add some debug output for Buyer and Seller in AHBot Chaz Brown 2009-08-12 19:37:17 -04:00
  • 57d2f5e7d2 Merge [SD2] r1205 Check pointer for NULL before use. - skip r1206 Remove conflicting MovePoint and let creature fully use MoveChase for summoned in hyjal. - skip r1207 Add instance bosses for map 602. Scripts can not be considered complete and must be tested further when databases has better values for misc (such as creature factions, health/mana etc) r1208 Added handling of doors for second last boss in BRD. Apply sd2 code style and clean up last boss(es) scripts and spells. Patch by Turok - skip r1209 Merge scripts for last bosses in BRD to one source file. Also not store pointers to creatures and create only when needed. Added creation of portal if Moria survive and Emperor is dead. - skip r1210 Clean up and add script for second boss in SWP. Patch by paytheo (original by ckegg) - skip note: in previous merge should be r120x insted of r200x. Sorry for that Kudlaty 2009-08-13 00:57:55 +02:00
  • ba91c78ceb *Update Mana Shield Spell Power Coefficient - by fukifat. *Add function void AuraEffect::HandleAuraEffectSpecificMods(bool apply, bool Real, bool changeAmount), and aura effect specific stuff to it. *More correct aura scaling with lvl for area auras. *Prevent exploits with relog while having auras with modified amount. QAston 2009-08-13 00:52:05 +02:00
  • 348116f6f8 *fix Teron Gorefiend reset-loop bug Rat 2009-08-12 23:45:02 +02:00
  • c2b2611a42 Merge [SD2] r1192 Adding and correct spell used for hard enrage after 15 minutes, and also correct initial ability if any of dragons are alive at initial aggro. Added placeholder for soft enrage at 10%HP left. r1193 Fixed typo in EnterEvadeIfOutOfCombatArea() r1194 Implement basic parts of tomb of seven event in BRD. - skip (already scripted) r1195 Some cleanup to parts of the seven event script. r1196 Reset event for triage-quests in better way and also clear lists. r1197 Clean up and add long time incomplete script for first boss in SWP. - skip r1198 Correct typo in filename in previous commit, sorry :) - skip r1199 Added script for areatrigger 4853, to be used to start pre-event, second boss in SWP. - skip r2000 Check alive-state before hatching all eggs. Patch by kolomati2 Correct typo in variable. - skip r2001 Correct one spellId and remove non-existing. By Tassader. - skip r2002 Added support for quest 12739(and 12742 to 12750). Patch by ckegg - skip (already scripted) r2003 Corrected copyright notices in misc makefile.am - skip r2004 Added: Missing heroic spells for Vexallus. Heroic version is complete now. Added: Missing heroic spells for Murmur. Heroic version is also complete. Fixed: As always some timers. Kudlaty 2009-08-12 23:34:19 +02:00
  • 15c61715e2 *Cleanup of unworthy initiate script. megamage 2009-08-12 15:58:54 -05:00
  • 03a111bf84 *Remove duplicated timer of flame leviathan script. megamage 2009-08-12 15:58:34 -05:00
  • 24c8931ae9 *Fix a crash caused by corpses. megamage 2009-08-12 15:33:12 -05:00
  • c1daf6567c *Fix a crash caused by recall pet. megamage 2009-08-12 13:31:05 -05:00
  • a30e3b7bd3 *Fix a crash caused by addnpc command. megamage 2009-08-12 13:03:44 -05:00
  • bee1dff87f *Use #defines instead of spellids for often used spells. *Make recently broken talent Improved Healthstone work again - by iadus3. QAston 2009-08-12 18:51:19 +02:00
  • 864e179240 Merge [SD2] r1186 Remove one hack (SPELL_EFFECT_CHARGE2 implemented in Mangos) - skip r1187 After one boss of tomb of seven event dead (BRD), open door for progression of instance. Remove manual summon and use spell instead. r1188 Move most handling of GO's in BT to instance script. - skip r1189 Fix possible crash, m_pInstance must always be checked before use. - we don't have that problem r1190 Remove old commented code no longer valid and apply code style r1191 Update MaNGOS-8095-ScriptDev2.patch, correcting whitespace, tabs and linefeed - skip Kudlaty 2009-08-12 18:38:13 +02:00
  • 99eafd6a52 *Allow players to capture siege workshops in wintergrasp. megamage 2009-08-12 08:51:51 -05:00
  • cd78172c7d *Do not allow to enter frostwyrm wing before killing all previous bosses. If you do not like it, simply do not apply the sql. megamage 2009-08-12 08:01:06 -05:00
  • 1bdc65e5ee *Send area id instead of zone id in local defense channel. By durotar megamage 2009-08-12 07:16:20 -05:00
  • 296771f7e7 *SetMap for corpse in Create function as other objects. megamage 2009-08-12 07:10:07 -05:00
  • da9de7135d *Fix a crash caused by ConvertCorpseForPlayer megamage 2009-08-12 07:03:23 -05:00
  • 7a548ff9d5 *Add some missing scripts maximius 2009-08-11 22:57:40 -07:00
  • ab0049fd33 *Merge maximius 2009-08-11 22:42:41 -07:00
  • 941fd64a24 *Minor tweaks to Razorscale script, disabled some malfunctioning movement code. maximius 2009-08-11 22:42:07 -07:00
  • f0c8efea55 *Fix the equip visual of quest endless hunger. megamage 2009-08-11 22:20:34 -05:00
  • 1ff5e51ddc *Fix the bug that npc in quest endless hunger assist each other. megamage 2009-08-11 21:40:18 -05:00
  • 08121cc271 *Remove a not needed log. :) Anubisss 2009-08-12 02:32:13 +02:00
  • 3ea9d899db *Implement achievement Timely Death. Anubisss 2009-08-12 02:30:27 +02:00
  • 6eeaea276c Fix quest Death Challange Kudlaty 2009-08-12 02:07:52 +02:00
  • 978242da3f *Try to fix a crash caused by single target auras. Thanks to QAston. megamage 2009-08-11 18:26:04 -05:00
  • 3078bf6fd0 *Fix a crash caused by setmap. megamage 2009-08-11 18:23:54 -05:00
  • db0558a66f *Fix compile in debug mode. megamage 2009-08-11 17:50:02 -05:00
  • 892bd40576 *Fix compile in *nix. megamage 2009-08-11 17:29:56 -05:00
  • 36302e1d24 *Fix ulduar script sqls. By Epsik megamage 2009-08-11 16:49:07 -05:00
  • 0f18e49052 *Add some asserts back. megamage 2009-08-11 16:39:35 -05:00
  • 962b88a381 *ResetMap for worldobjects when map is deleted. megamage 2009-08-11 16:33:33 -05:00
  • 9403ff03e7 *Only use m_isWorldObject to check if an object is in grid or world. megamage 2009-08-11 16:14:45 -05:00
  • 4267816fca *A temp fix of the crashes caused by corpses. megamage 2009-08-11 15:40:43 -05:00
  • 98a19f2125 *Linked Ulduar bosses with their scripts *Wailing Caverns updates, by Oculus maximius 2009-08-11 12:20:26 -07:00
  • 177f78be1a *Correctly check ispositive for spells. megamage 2009-08-11 13:11:16 -05:00
  • e2e70b936b *Cleanups and obsolete spell handlers remove. QAston 2009-08-11 19:57:27 +02:00
  • 08d4aac161 *Consider all non-existing spells as negative. This fixes the broken Forbearance. megamage 2009-08-11 11:32:32 -05:00
  • d4165ac36e *Use unified function in loadhelper. megamage 2009-08-11 11:11:22 -05:00
  • a51cc015fa *Fix anothe crash bug caused by SetMap megamage 2009-08-11 11:04:08 -05:00
  • 3fa3c8b098 *Add function Unit::OutDebugInfo for debug. megamage 2009-08-11 10:53:29 -05:00
  • a944a0ea4b *Fix a crash when go is removed but m_ObjectSlot is not cleared. megamage 2009-08-11 10:14:46 -05:00
  • e3d00708a9 *Fix a crash since the last rev. megamage 2009-08-11 10:01:39 -05:00
  • 6cb0466eea *Assert !IsInWorld() in set map megamage 2009-08-10 23:48:20 -05:00
  • d78c9b3925 *Assert !IsInWorld() in reset map megamage 2009-08-10 23:47:47 -05:00
  • c8ed3cf1e9 *Some update of opvp (no real change) megamage 2009-08-10 23:38:51 -05:00
  • 31374835f6 *Cleanup about deleting player. megamage 2009-08-10 23:32:20 -05:00
  • 4ecbefabfa *Fix a crash when player gets teleported during log out. megamage 2009-08-10 23:28:50 -05:00
  • c1c8333642 *Fix prison Containment Spheres in Keristrasza. Anubisss 2009-08-11 04:57:09 +02:00
  • 1beff219b8 * Cleanup in Fulls Drahy 2009-08-11 02:02:45 +02:00
  • e546665e67 *Missed in last commit >_< maximius 2009-08-10 16:37:09 -07:00
  • 8fd6714236 *Fix typo in 4872_world_scripts.sql, thanks Lorac maximius 2009-08-10 16:36:03 -07:00
  • cba36e5c33 *More cleanup maximius 2009-08-10 16:26:27 -07:00
  • e4e8af2873 *ScriptMgr cleanup maximius 2009-08-10 16:13:57 -07:00
  • 6780cefb7d *Merge maximius 2009-08-10 16:12:23 -07:00
  • 047146ce0a *Ulduar script updates, thanks Nemesis *Minor Vault of Archavon cleanup maximius 2009-08-10 16:11:44 -07:00
  • 5a2dbd43db merge Kudlaty 2009-08-11 00:43:56 +02:00
  • 5d23ff7703 Merge [SD2] r1179 Initialize variables used for EscortAI. Simplify some parts of code and also remove obsolete code for reconnecting to path. r1180 Added script for npc 19679, not allow vendor if not have friendly rep or better. r1181 Updated ScriptDev2 to MaNGOS 0.12 patch for SD2 version 1180 and mangos-0.12 7680 - skip r1182 Cleanup instance related definitions for BT and apply code style - skip r1183 Provide updated patch for Mangos (8095) and restore option to use git am. Update How To Install.txt accordingly and clarify why/when patch is needed also for Windows. - skip r1184 Added support for quest 11142. Database support for spell 42316 needed. r1185 Fix typo from 1182 and set eol-style + add missing to makefile Kudlaty 2009-08-11 00:43:06 +02:00
  • d303603a86 *Fix a typo. Anubisss 2009-08-11 00:37:26 +02:00
  • 916bf8dbda *fix achievement 630 (Wailing Caverns) Rat 2009-08-10 23:48:22 +02:00
  • 14527965dc merge Kudlaty 2009-08-10 23:25:41 +02:00
  • 1594f0381f Merge [SD2] r1172 Replace some DealDamage() with ForcedDespawn() r1173 Added a few more texts for quest 12733 r1174 Allow escortAI to continue run for as long as at least one member of party is in range (in case original player who start escort is in party). r1175 Correct gossip text, wrong in rev 1173. r1176 Correcting a bug for script related to quest 11129. Also use explicit boolean as check if still moving to location. r1177 Adjusting tempsummon time for Opera event bosses and also despawn if creatures evade. r1178 Remove not needed code (already called from escortAI::UpdateAI) Kudlaty 2009-08-10 23:24:40 +02:00
  • c45488502f *Fix ordering maximius 2009-08-10 14:20:57 -07:00
  • f2a24c215c *Halls of Lightning update, Loken script from SD2 (thanks manuel) maximius 2009-08-10 14:14:58 -07:00
  • ce7b0907b8 *Fix a typo. By mike753 megamage 2009-08-10 15:53:27 -05:00
  • f86d54376a *Fix Lightwell. By Elron megamage 2009-08-10 15:52:11 -05:00
  • 7982a75c5c *Set react passive for passiveAI creatures. megamage 2009-08-10 15:50:19 -05:00
  • feba13e650 *change SPELL_AURA_MOD_ARMOR_PENETRATION_PCT to reduce armor on target and add cap amount of armor reduced by armor penetration rating By thenecromancer megamage 2009-08-10 15:32:08 -05:00
  • 0ed719c558 *Fix Quest Skywing. By Farah megamage 2009-08-10 15:28:49 -05:00
  • 3b3a878199 Merge [SD2] r1171 Restore compile. Replace add/remove/has monster movement flag with new function and correct CreatureRelocation() and SendMonsterMove() related code. Remove all use of Relocate() and replace with expected CreatureRelocation() Requires Mangos 8078. Kudlaty 2009-08-10 20:32:12 +02:00
  • 77e186c95e *Merge heads. :( Anubisss 2009-08-10 17:04:06 +02:00
  • 18f712f52b *Read AutoBroadcast's messages from cache instead of from DB every times. Anubisss 2009-08-10 17:03:11 +02:00
  • 0795a9dbb2 *add script for Wailing Caverns, Disciple of Naralex event, thanks to Oculus Rat 2009-08-10 15:37:16 +02:00
  • 66d7fa3431 *add new functions to escortAI (does not effect old escort scripts) Rat 2009-08-10 15:27:42 +02:00
  • 7faff34ae5 Missing part of patch added in 4783 Kudlaty 2009-08-10 04:04:28 +02:00
  • dc0dad36f1 Fix credit from quest 12698 Kudlaty 2009-08-10 03:30:10 +02:00
  • 1f5bf07bcb *Implement achievement Chaos Theory, Intense Cold. *Thanks to Big for the help with testing in the last one. :) Anubisss 2009-08-10 01:46:53 +02:00
  • 61b4b86d28 *Move beast within bonus auras to sql. megamage 2009-08-09 16:28:24 -05:00
  • 2c4dad27db [8336] Prevent apply item 34678 damage effect to cast target if it's friendly. Author: VladimirMangos megamage 2009-08-09 15:54:49 -05:00
  • bc14ebb102 *Fix a typo of fixed damage spells. Thanks to loop69 megamage 2009-08-09 15:49:38 -05:00
  • ee2a26ee9f [8334] Small cleanup in magic shield back damage code. Author: VladimirMangos megamage 2009-08-09 15:48:37 -05:00