Commit Graph

180 Commits

Author SHA1 Message Date
Shauren
4a067d5095 Fixed build i broke
--HG--
branch : trunk
2010-12-17 20:48:55 +01:00
Shauren
ecd2fbb2b1 Scripts/Vault of Archavon: Cleaned and simplified scripts, fixed Toravon's Frozen Orb summon count
Closes issue #2857.

--HG--
branch : trunk
2010-12-17 20:37:20 +01:00
Machiavelli
57d72fa708 Core/Scripts: Prevent double call to mob_acolyte_of_shadronAI::Reset() which applies encounter-related aura´s to certain creatures. Reset() was called from AIM_Initialize and prior to that the AI factory selector
Update issue #5152
Please try to re-reproduce

--HG--
branch : trunk
2010-12-17 14:58:23 +01:00
Shauren
82f45966fc Core/Unit: Renamed addUnitState/hasUnitState/clearUnitState to AddUnitState/HasUnitState/ClearUnitState
Core/Vehicles: Allow the vehicle to always damage the passenger (removed unneded dbc hacks from scripts)

--HG--
branch : trunk
2010-12-17 13:43:24 +01:00
Anubisss
b702bd8987 This not needed too, correctly checked with UpdateVictim().
--HG--
branch : trunk
2010-12-16 18:13:03 +01:00
Anubisss
6d9029c12e Make some cleanup.
My thank goes to Az@zel for the code analysis.

--HG--
branch : trunk
2010-12-16 18:08:23 +01:00
Shauren
1bc9b905f6 Scripts/Icecrown Citadel: Removed WIP leftovers
--HG--
branch : trunk
2010-12-15 16:39:23 +01:00
Shauren
2db0c7c017 Scripts/Icecrown Citadel: Festergut's Gas Spore and Vile Gas should not happen at the same time
--HG--
branch : trunk
extra : rebase_source : dbb903afbfbfdee5c2c3ae0be7181508e0eca1b2
2010-12-15 16:36:59 +01:00
_manuel_
6f551d853f Core/Scripts: Novos the Summoner should only summon 4 Crystal Handlers.
--HG--
branch : trunk
2010-12-15 12:16:31 -03:00
Spp
382fef1958 Core: Some warning fixes
--HG--
branch : trunk
2010-12-15 10:44:06 +01:00
Shauren
314376e32c Scripts: Fixed uninitialized variables, unreferenced parameters and virtual overrides
--HG--
branch : trunk
2010-12-14 16:24:59 +01:00
Shauren
0c04b178db Scripts/Icecrown Citadel: Minor adjustments and compile warning fixes
--HG--
branch : trunk
2010-12-14 15:46:54 +01:00
click
2642894342 Core: Add new system for parallelizing client packet processing. Handle WorldSession updates in Map::Update() where we are safe to proceed. Patch by Ambal.
(And clean up tabs and whitespace while rummaging around in there)
Closes issue 5084.

--HG--
branch : trunk
2010-12-13 22:37:56 +01:00
Shauren
dd2602d3ec Fixed line endings in 10623_world_spell_bonus_data
Scripts/Naxxramas: Fixed a possible crash in instance script

--HG--
branch : trunk
2010-12-12 17:32:26 +01:00
Shauren
e4e048ed57 Core/Scripts: Fixed possible crashes in instance scripts (Icecrown Citadel and Naxxramas)
Scripts/Sunwell Plateau: Fixed crash in Kil'jaeden
Scripts/Icecrown Citadel: Fixed crash in Blood-Queen Lana'thel

Closes issue #5051.
Closes issue #5050.
Closes issue #5035.

--HG--
branch : trunk
2010-12-08 17:24:31 +01:00
Shauren
703835ee94 Core/Quests: Fixed Unholy Infusion (24749), Blood Infusion (24756) and added partial support for Frost Infusion (24757)
--HG--
branch : trunk
2010-12-06 22:54:19 +01:00
Spp
408fce1de6 Core: Some optimizations
- Declare some functions const
- Fix some mem leak
- Fix some resource leak
- Remove unused variables and functions
- Remove duplicate functions
- Reduce the scope of some variables
- Remove unused file

--HG--
branch : trunk
2010-12-06 02:07:53 +01:00
QAston
59c1a238f5 Scripts/AuraScript: Make AuraApplication in OnEffectPeriodic never be NULL.
Scripts: remove some unnecessary NULL checks from scripts.

--HG--
branch : trunk
2010-12-05 21:38:52 +01:00
leak
6fe19b5a86 Core/Scripts: Split OnCreatureCreate() and OnGameObjectCreate() into two virtual functions each.
Note to scripters: be aware that you will need to hook into the Remove functions if you want to do stuff at GO/creature removal.
Closes issue 5011.

--HG--
branch : trunk
2010-12-05 18:04:10 +01:00
Shauren
04b4364908 Scripts/Icecrown Citadel: Fixed crash in Blood-Queen Lana'thel script
Closes issue #5017.

--HG--
branch : trunk
2010-12-04 12:53:01 +01:00
Liberate
526c15336d Scripts/Pit of Saron: Fix a crash at Scourgelord Tyrannus.
Closes issue #4601

--HG--
branch : trunk
2010-12-04 02:20:32 +01:00
_manuel_
51a66dc427 Core/Scripts: Implemented core script for quest "Stunning Defeat at the Ring" (11300), original code from ScriptDev2 thanks to kiper for porting, also for a full functionality for this quest you need the DB scripts made by him.
--HG--
branch : trunk
2010-12-03 17:36:07 -03:00
Shauren
e0c992a8ba Scripts/Icecrown Citadel: Added script for Blood Queen Lana'Thel
Scripts/Icecrown Citadel: Fixed Invocation of Blood announcement emote for Blood Prince Council
Scripts/Icecrown Citadel: Fixed intro for Lady Deathwhisper
Scripts/Icecrown Citadel: Fixed Bone Spike for Lord Marrowgar

--HG--
branch : trunk
2010-12-03 17:47:33 +01:00
Shauren
96ab1a102f Scripts/Trial of the Crusader: Fixed crashes in Gormok the Impaler
Closes issue #4515.

--HG--
branch : trunk
2010-12-03 14:02:41 +01:00
Shauren
3badf69b63 Core/Spells: Fixed bad Z coordinate for Spell::EffectBind with location stored in database
Core/Scripts: Corrected few mistakes in misc scripts

--HG--
branch : trunk
2010-12-03 13:54:00 +01:00
_manuel_
651ff8565a Core/Scripts: Implemented script for quest The hunt is on (11794).
--HG--
branch : trunk
2010-12-01 15:29:35 -03:00
Spp
25ac835507 Core/Groups: Move all function definition from .h to .cpp
Core/Groups: Remove Group.h dependency from any .h file

--HG--
branch : trunk
2010-11-29 07:50:31 +01:00
Shauren
eb0a5467c2 Scripts/Icecrown Citadel: Fixed possible exploits in Deathbringer Saurfang's script
--HG--
branch : trunk
2010-11-26 22:46:09 +01:00
Spp
6b5ff1ca25 Core: Fix some warnings
--HG--
branch : trunk
2010-11-22 10:10:46 +01:00
Shauren
632a976b05 Scripts/Icecrown Citadel: More code style cleanup
--HG--
branch : trunk
2010-11-20 23:50:09 +01:00
Shauren
2a039e726a Scripts/Icecrown Citadel: Added basic threat support for Blood Prince council in no-damage mode
--HG--
branch : trunk
2010-11-20 23:10:32 +01:00
Shauren
6d244e8f13 Scripts/Forge of Souls: Cleaned up code style
Scripts/Forge of Souls: Fixed a possible crash

Closes issue #4660.

--HG--
branch : trunk
2010-11-20 21:27:10 +01:00
Shauren
417b29af24 Scripts/Forge of Souls: Fixed typo in instance script, thx Ramus for spotting it
--HG--
branch : trunk
2010-11-20 21:06:00 +01:00
Shauren
418cf49a72 Scripts/Icecrown Citadel: Changed spell timers for Lord Marrowgar, taken from sniffs
Scripts/Icecrown Citadel: Converted texts to new TextMgr
Scripts/Icecrown Citadel: General cleanup & coding style consistency
Scripts/Icecrown Citadel: Added missing spell script names

--HG--
branch : trunk
2010-11-18 15:57:23 +01:00
Spp
addd762c4d Core: Fix warnings
--HG--
branch : trunk
2010-11-16 14:08:12 +01:00
Spp
3e2c1a4169 Scripts: Fix quests "...Or Maybe We Don't" and "Smoke 'Em Out"
Author: Lopin
Closes issue 4741

--HG--
branch : trunk
2010-11-16 11:52:31 +01:00
linencloth
8fae0c176d Core/Units: Rename and change Get/SetVisibility to use a bool value instead of an unnecessary enum
Also replace some SetVisibility hacks to directly call UpdateObjectVisibility

--HG--
branch : trunk
2010-11-16 01:13:04 +01:00
Shauren
9ba52c474b Scripts/Icecrown Citadel: Fixed Festergut's Pungent Blight getting interrupted
Scripts/Icecrown Citadel: Changed handling of Deathbringer Saurfang's Blood Power aura (its now always active, starts with 0 value)
Scripts/Icecrown Citadel: Fixed Deathbringer Saurfang's achievement (I've Made a Mess)
Scripts/Icecrown Citadel: Fixed Mark of the Fallen Champion aura removal (Deathbringer Saurfang)

--HG--
branch : trunk
2010-11-14 00:21:57 +01:00
Shauren
995408f0a9 Scripts/Icecrown Citadel: Added door scripting for remaining bosses
--HG--
branch : trunk
2010-11-13 12:32:34 +01:00
Shauren
0f9279b7ef Scripts/Icecrown Citadel: More faction-specific spawns
--HG--
branch : trunk
2010-11-11 17:19:23 +01:00
Shauren
7dcfa7b63f Scripts/Icecrown Citadel: Change spawns of Garrosh Hellscream into King Varian Wrynn if raid is alliance
--HG--
branch : trunk
2010-11-10 23:11:45 +01:00
Shauren
e3d4b36a6b Scripts/Icecrown Citadel: Fixed Vengeful Shade despawning after it casts Vengeful Blast (Lady Deathwhisper)
Core/Auras: Implemented SPELL_AURA_SET_VEHICLE_ID (296)
Core/Scripts: Moved DefaultTargetSelector class into header file

--HG--
branch : trunk
2010-11-10 12:18:43 +01:00
Shauren
58bc1194d2 Scripts/Icecrown Citadel: Fixed Festergut casting Gastric Bloat too often, patch by bytewarrior
Closes issue #4633.

--HG--
branch : trunk
2010-11-03 16:48:40 +01:00
Shauren
f2fdcdf8f3 Core/Scripts: Added enum for generic script texts, fixed one broken text
Scripts/Icecrown Citadel: Blood-Queen Lana'Thel will no longer spawn for Blood Princes intro if they were already killed

--HG--
branch : trunk
2010-11-03 16:44:34 +01:00
runningnak3d
e95eb72603 Core/Scripts/ToC5: Set proper vehicle IDs in script to go with recent exploit
fix. Thanks again to Aokromes

--HG--
branch : trunk
2010-11-01 14:24:45 -06:00
Shauren
618afa3656 Scripts/Icecrown Citadel: Fixed possible crash in Shadow Prison aura script
--HG--
branch : trunk
extra : rebase_source : 6eb3f49dece9087b4ac82a1cda236ca63ce97c24
2010-10-28 16:55:28 +02:00
Shauren
c9fba03da9 Scripts/Icecrown Citadel: Fixed Gaseous Blight removal on Festergut's death
Scripts/Icecrown Citadel: Added missing in room check for Blood Prince Council
Scripts/Icecrown Citadel: Fixed Professor Putricide facing during phase transitions

--HG--
branch : trunk
2010-10-27 18:46:48 +02:00
Shauren
4acf6012a8 Scripts/Pit of Saron: Added script for Overlord's Brand aura
--HG--
branch : trunk
2010-10-25 11:23:29 +02:00
click
b3f60aee2d Core/Scripts: Fix non-PCH compile
--HG--
branch : trunk
2010-10-25 01:22:00 +02:00
Shauren
d03aeab9ad Scripts/Icecrown Citadel: Added Blood Prince Council script
Scripts/Icecrown Citadel: Festergut will not cast Vile Gas on melee targets if there are at least 3 (25 man: 8) ranged targets
Scripts/Icecrown Citadel: Festergut and Rotface gates will close with delay (when Putricide reaches the balcony)
Scripts/Icecrown Citadel: Replaced ASSERT(instance) with code disabling the AI if not inside instance
Core/Spells: Fixed TARGET_DEST_TARGET_RANDOM usage
Core/Scripts: Extended DamageDealt in AI to accept damage type as 3rd parameter
Scripts/Quests: Fixed quest "Unholy Infusion" (24749)

--HG--
branch : trunk
2010-10-24 21:27:02 +02:00