Commit Graph

11498 Commits

Author SHA1 Message Date
Shauren
3d46b7e32e Merge branch 'pr/n15_Supabad' 2011-03-19 10:58:39 +01:00
Shauren
1a4a618d81 Core/Scripts: Code style cleanup in ScriptedAI and BossAI 2011-03-19 10:54:16 +01:00
leak
6eb5014182 SQL: Lost changes in character base sql 2011-03-19 00:23:35 +01:00
leak
74ae022849 Core/GameEventMgr: Drop temporary table 2011-03-18 20:27:41 +01:00
Shauren
e98e31b70d Core/Storage: Fixed startup assertion failures 2011-03-18 20:02:25 +01:00
Shauren
368eaf7f2f Scripts/Icecrown Citadel:
Corrected wing sigil visuals
Fixed saving Blood Quickening quest state to db
Remove Blood Quickening timer on completion

DB/Instances: Added some missing spawns to Frostwing Halls
2011-03-18 19:39:19 +01:00
leak
ca02708564 Core/GameEventMgr: Forgotten query 2011-03-18 18:49:40 +01:00
Shauren
a69f3c7c64 Scripts/Pit of Saron: Fixed Scourgelord Tyrannus intro being started every time areatrigger was stepped on 2011-03-18 18:31:17 +01:00
Shauren
2364c22ee4 Core/Storage: Readded missing record size calculations for SQL storage 2011-03-18 18:07:03 +01:00
Supabad
6fd4debc7a Core/Ulduar: some cleanup and add boundary check for Flame Leviathan 2011-03-18 17:33:12 +01:00
Shauren
d3425921f8 Core/Storage: A few more improvements to code style, corrected some engrish and fixed compile 2011-03-18 17:01:37 +01:00
runningnak3d
2f89fa9e69 Merge branch 'master' of git@github.com:TrinityCore/TrinityCore 2011-03-18 09:41:04 -06:00
runningnak3d
171268a565 Core/Storage: Add some sanity checks and better define some SQL and DBC
storage format field types.
* Also LOTS of whitespace cleanup
* Some Trinity code style applied
* Some if / else if -> switch / case
* Original ideal for patch by Vinolentus
2011-03-18 09:36:59 -06:00
Shauren
489e629437 Core/Players: Fixed crash in GetBagByPos 2011-03-18 15:41:39 +01:00
SnakeIce
fa8b30a45c Scripts/Pit of Saron: Fixed spawning quest creatures in Pit of Saron
DB/Quests: Fixed quest "The Path to the Citadel"
SQL credits - Tome
2011-03-18 15:35:16 +01:00
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