Commit Graph

11483 Commits

Author SHA1 Message Date
Shauren
98646c5328 Scripts/Icecrown Citadel:
Removed unneccesary checks and timer at Rotface
Replaced defines with constants
2011-03-18 15:15:52 +01:00
VladimirMangos
3384dc3a24 Core/Misc: Drop unused define GAMEOBJECT_FISHINGNODE_ENTRY 2011-03-18 07:01:51 -06:00
Azazel
e49b5b44d6 Core/Cleanup: remove C-style cast to (Bag*):
* add ToBag() methods for Item class;
* add GetBagByPos() method for Player class.
2011-03-18 15:58:08 +06:00
leak
90a3fee232 Core/GameEventMgr: Reduce memory waste caused by gaps in game_event entry IDs 2011-03-18 00:11:12 +01:00
Malcrom
0e728f2cc3 DB/SAI: Nethermine Burster SAI 2011-03-17 11:52:35 +01:00
Malcrom
1388ec5021 DB/SAI: Zul'Drak Gateway Trigger SAI 2011-03-17 11:50:24 +01:00
Malcrom
9e70b75a7a DB/SAI: High Priest Andorath SAI 2011-03-17 11:49:13 +01:00
Malcrom
79357804fd DB/SAI: Fel Cannon MKI SAI
DB/SAI: Correct 2011_03_17_4 error
2011-03-17 11:45:20 +01:00
Malcrom
2e08d87be5 DB/SAI: Legion Fel Cannon SAI 2011-03-17 11:38:01 +01:00
Malcrom
af8ef7c3c4 DB/SAI: Frozen Earth SAI 2011-03-17 11:36:12 +01:00
Malcrom
b025f7c731 DB/SAI: Lost Drakkari Spirit SAI 2011-03-17 11:34:31 +01:00
Malcrom
f3e974bbe4 DB/Creatures: some fixes to Blade's Edge Triggers 2011-03-17 11:32:21 +01:00
Malcrom
bfaa945176 DB/SAI: Pathing for Fizzcrank Airman 2011-03-17 11:30:04 +01:00
Malcrom
88330e72b3 DB/SAI: Pathing for Darkfallen Deathblade 2011-03-17 11:29:03 +01:00
Malcrom
4153283e28 DB/SAI: Pathing for En'kilah Crypt Fiends 2011-03-17 11:27:31 +01:00
Shauren
660e22faeb Core/Corpses: Fixed loading phaseMask if its greater than 255 2011-03-17 09:42:33 +01:00
Azazel
a959618f31 Core/DB: increase size of phaseMask field in corpse table to allow values larger than 255 2011-03-17 12:33:20 +06:00
Azazel
ca76e17bd6 Core/Cleanup: refactor honor and arena rating modifying methods:
* simplify wierd logic;
* add const modifiers to several getter methods.

(Idea based on commit [11187] by zergtmn for Mangos)
2011-03-17 11:00:41 +06:00
Azazel
926106c095 Core/SQL: fix error in world_database.sql 2011-03-17 09:38:58 +06:00
kaelima
d1434e383b DB/NPC: Forge of Souls template fixes 2011-03-16 09:01:49 +01:00
Shauren
12b65aa206 Core/Pets
Fixed infinite cooldown bugging after relogging
Restored pet create health for pets without pet_levelstats data
Corrected health gain from stamina for DK Ghouls
2011-03-15 13:23:52 +01:00
Shauren
119bb6fcd5 Core/Units: Fixed SelectNearbyTarget to ignore totems, critters and spirit healers 2011-03-15 12:08:07 +01:00
A Metaphysical Drama
4f48b7ae8d Core/Auras: Fixed SPELL_AURA_MOD_POWER_COST_SCHOOL_PCT and SPELL_AURA_MOD_POWER_COST_SCHOOL auras not taking charges at proc 2011-03-15 11:41:12 +01:00
Machiavelli
1c3082446e Core/Gameobject: Respect cooldown for trap and goober gameobjects.
Original patch by VladimirMangos
2011-03-14 23:16:34 +01:00
Shauren
cd5744f2c5 Core/Units: Removed unneeded casts in ApplyResilience 2011-03-14 21:39:53 +01:00
leak
6a4ffb4be1 Core/Battlegrounds: Free instance id in the proper place.
fixes #966
2011-03-14 20:39:05 +01:00
runningnak3d
28c264402b Revert "Core/Spells: Small cleanup of SpellMgr"
This reverts commit 6595364227.

* While this does need cleanup, instance specific spells should stay
* grouped together.
2011-03-14 08:38:20 -06:00
Koord
6595364227 Core/Spells: Small cleanup of SpellMgr 2011-03-14 08:25:27 -06:00
runningnak3d
dd2405bd6c Core/Misc: Small code style change (very small) 2011-03-14 08:20:12 -06:00
Supabad
85cc623f3f Scripts/Ulduar: Proper handling of GO_LEVIATHAN_GATE
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-03-14 15:48:54 +01:00
runningnak3d
3db0029f66 Core/Spells: Force spell 51590 (Toss Ice Boulder) to only affect one
target.
2011-03-14 07:33:46 -06:00
Azazel
bcaa3e07c8 Core/Cleanup: reformated and refactored code in Battleground.cpp/h:
* added proper formatting;
* moved identical code into separate method (have I already said that I hate copy/paste?);
* fixed several leaks;
* added more informative error messages.

More to come...
2011-03-14 19:21:34 +06:00
VladimirMangos
05eda57750 Core/Misc: fix item search by guid in bank item slots. 2011-03-14 17:20:20 +06:00
Machiavelli
31a2c9b82b Core: Fix crash in ~ScriptMgr
Fixes: #854
Fixes: #918
Fixes: #917
2011-03-14 09:44:02 +01:00
Azazel
1eed7c53a9 Fix a crash introduced in 6ad4044f05 (I should be more attentive) 2011-03-14 10:01:36 +06:00
Machiavelli
7b62bfc1c5 Core/ScriptedAI: Add ResetLootMode() to BossAI::_Reset() and remove some redundant calls in General Vezax script 2011-03-13 22:28:37 +01:00
leak
a874fe0764 Core/Battlegrounds: Fixed memory and CPU cycle leak that was caused by BG objects not being removed properly in "All Arenas" case 2011-03-13 21:52:37 +01:00
Shauren
e97d6e3a60 Scripts/Icecrown Citadel
* Implemented heroic limited attempts for wing end bosses
* Added script for Blood Quickening weekly quest
2011-03-13 21:51:42 +01:00
Shauren
b986dfb57a Core/Scripts: Added FillInitialWorldStates hook to InstanceScript class for the same purpose as its used in Battlegrounds 2011-03-13 21:49:07 +01:00
Shauren
39acbddf69 Core/Players: Sanctuary status is now updated on area change, fixes argent tournament and frozen halls sanctuaries 2011-03-13 21:47:42 +01:00
Shauren
16e40cc8cf Compile fix 2011-03-13 13:12:43 +01:00
Supabad
40d1e61566 Scripts/Ulduar: Remove known hacks from leviathan, create workaround for shutdown event.
Added missing script to db and core.
2011-03-13 13:00:09 +01:00
Azazel
6ad4044f05 Core/Mechanics: refactor XP (and in fact, honor/reputation/kill credit) rewarding routine and get rid of copy/pasted code. 2011-03-13 15:28:45 +06:00
leak
986a09c121 SQL: Corrected improper sql file naming 2011-03-12 16:00:27 +01:00
ZxBiohazardZx
20f5a14f3a DB/Immunities: Update Boss_immunities for Frozen Halls 2011-03-12 15:35:02 +01:00
Shocker
b5fa232716 Core/Commands: Allow npc info to show both DB GUID and current GUID 2011-03-11 23:31:06 +02:00
Shauren
b52e01ff52 Fixed importing sql file 2011-03-11 22:08:21 +01:00
leak
2a34b41ce8 Core/Instances: Fix warning 2011-03-11 19:57:00 +01:00
Azazel
7200363835 Core/Loading: refactor inventory loading routine and add more informational error logging to it. 2011-03-12 00:54:37 +06:00
Shauren
9b2d62b72d Scripts/Icecrown Citadel: Added missing faction specific part of intro scene at Light's Hammer 2011-03-11 19:35:22 +01:00