Spp-
b2a84d9f1e
Core/ObjectMgr: Remove GetPlayer function (Remove double use of singletons)
2011-07-27 12:14:27 +02:00
Spp-
fa50c0a464
Fix some warnings here and there
2011-07-27 11:00:39 +02:00
Spp-
39be30a39f
Fix compile
2011-07-27 11:00:14 +02:00
QAston
b0fe236265
Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
...
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
QAston
29c228a801
Core/Spells: Add SpellInfo class to store static data and methods for spells. This class is going to replace SpellEntry use in core. SpellInfo class includes all spell-related functions which resided in SpellMgr, and makes them much easier to access, reuse or add new stuff. Another advantage is that you no longer have to lookup db/dbc data by entry or index, because such data can now be included in the new class. Thanks to that, TC will have no problems on drastic spell dbc format change in 4.x.
2011-07-26 23:00:23 +02:00
tobmaps
b2698d699e
SQL: Fix typo in filename
2011-07-27 03:45:05 +07:00
Shocker
0cedb54219
Core/Achievements: Fix Didn't Stand a Chance
2011-07-27 03:33:11 +07:00
Shauren
16a1435a0b
Core/GameObjects: Prevent repeating damage/destruction events when the gameobject is already in that state
2011-07-24 23:55:14 +02:00
insider42
17c2c122da
Core/Spells: Fix Glyph of Shadow Word: Death
2011-07-25 01:50:46 +07:00
tobmaps
17c3ac6b07
Core/Spells: Garrote and Ambush should be usable only behind the target
2011-07-24 23:49:15 +07:00
tobmaps
55b0e550b9
Core/Spells: Properly fix Ignite
2011-07-24 19:37:57 +07:00
Sarjuuk
ef57bc3439
Scripts/Blackwing Lair: Fix access to loot from Vaelastrasz
2011-07-24 06:58:29 +07:00
Sarjuuk
3e70742e81
Core/Units: Prevent dodge/parry/block while under the effects of fear or desorientation
2011-07-24 06:22:53 +07:00
Sarjuuk
ec9d738f3e
DB/Item: Removed deprecated item Constrictor Gras from vendors
2011-07-24 05:18:08 +07:00
tassader
8bf7af541f
Scripts/Ahn'kahet: Fix a bug with Herald Volazj after party wipe
2011-07-24 04:09:55 +07:00
tobmaps
5a370392d4
Core/Chat: Prevent turning whispers on, receive spam about AFK or DND in case of whispering with addon message
2011-07-24 03:14:28 +07:00
Sarjuuk
f526b61e1a
Core/Spells: Grounding Totem should respect line of sight
2011-07-24 00:44:29 +07:00
Sarjuuk
bfb5032937
Core/Spells: Bonuses from SPELL_AURA_MOD_CRIT_DAMAGE_BONUS should be multiplicative
2011-07-23 23:19:16 +07:00
tobmaps
bb0634c7c2
Core/Spells: Bonuses from SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN should be multiplicative
2011-07-23 22:17:16 +07:00
crackm
d06d174a4f
Scripts/Sholazar Basin: Add support for areatrigger conditions for Quest: The Etymidian (12548)
...
Closes #896
Closes #1638
2011-07-23 18:25:19 +07:00
Sarjuuk
57c042e280
Core/Spells
...
* refactored the calculations of critical strike amount for damaging spells
* renamed and reimplemented SPELL_AURA_MOD_CRIT_DAMAGE_BONUS_MELEE
Closes #2354
2011-07-23 06:11:26 +07:00
Shauren
bd45e59e9f
Merge branch 'master' of github.com:TrinityCore/TrinityCore
2011-07-23 00:23:27 +02:00
Shauren
18d4daf539
Revert "Scripts/Icecrown Citadel: Fixed Sindragosa first air phase entering condition (when reaching 85% health, not timed)"
...
This reverts commit c1fb71fefc .
2011-07-23 00:22:38 +02:00
tobmaps
a0f1a5c789
Core/Spells: Removed remaining part of old global cooldown handler
2011-07-23 03:30:43 +07:00
Shauren
7303adf1eb
Core/Scripts: Merged ZoneScript::ProcessEvent methods into one accepting WorldObject* parameter
2011-07-22 21:52:53 +02:00
Shauren
ba4c4d8943
Core/GameObject: Added missed change to destructible health setting
2011-07-22 21:42:17 +02:00
Shauren
74e2d981ac
Core/GameObject: Refactored destructible building handling, properly implemented spell effect repair
2011-07-22 21:22:05 +02:00
Shauren
0a4f18fab3
Compile fix and removed unneeded call in HomeMovementGenerator initialization
2011-07-22 20:10:48 +02:00
tobmaps
4c9269cd54
Core/Spells: Fix talent Deep Wounds. Original idea by DrTenma
...
Closes #395
Closes #954
Closes #1188
2011-07-23 00:10:44 +07:00
Shauren
6b1a7497dc
Scripts/Icecrown Citadel: Fixed Precious' Plagued Zombies duration
...
Closes #2365
2011-07-22 19:05:46 +02:00
tobmaps
a3feb40eb6
Core/Spells: Define and implement SPELL_ATTR6_NO_DONE_PCT_DAMAGE_MODS; revert SPELL_ATTR4_FIXED_DAMAGE
...
Closes #1307
Closes #2270
2011-07-22 23:30:23 +07:00
tobmaps
f50892fa77
Core/Misc: Small code style fix
2011-07-22 20:46:19 +07:00
tobmaps
ecc76277f1
Core/Spells: Update damage formulas for talent Ignite
2011-07-22 20:16:31 +07:00
tobmaps
d7b8ec60fe
Added missed changes for previous revision
2011-07-22 06:17:38 +07:00
tobmaps
6a89bd767f
Scripts/Trial of the Crusader
...
* Use spells instead of scripts to handle summons used by Lord Jaraxxus
* Fix stacks for spell Nether Power used by Lord Jaraxxus
* Make some triggers invisible
Closes #829
2011-07-22 06:04:10 +07:00
tobmaps
6f30f16177
Core/Spells: talent Judgements of the Pure should proc also on absorbs
2011-07-21 20:58:34 +07:00
tobmaps
dd2990e2a7
Core/Spells: Fix Glyph of Scourge Strike
...
Closes #391
2011-07-21 20:38:13 +07:00
Machiavelli
dae2a088fd
Core/Entities: After some research redefine MOVEMENTFLAG_MASK_MOVING and make it entirely mutually exclusive with MOVEMENTFLAG_ROOT - fixes the last of the related client freezes.
2011-07-19 20:37:17 +02:00
Machiavelli
85caf3a2c1
Core/Instances: Fix dungeon and raid difficulty setting for characters under level 70. Prevents entering heroic modes of instances when access criteria are not met.
2011-07-19 20:35:05 +02:00
Machiavelli
bcdbc9517e
Scripts/Naxxramas: Remove improper unit flags from Gothik the Harvester and properly make him ignore damage taken in phase 1.
2011-07-19 20:32:31 +02:00
click
7fe3f55b5e
Core: Fix non-PCH build + clean up some sporadic warnings
2011-07-18 14:49:08 +02:00
DrTenma
cf9ce100ed
Core/Spells: Fix talent Dirty Deeds
...
Closes #542
2011-07-16 22:21:15 +07:00
QAston
f35d8c9bc4
Core/Spells: Temporary workaround for Summon Eye of Acherus (this time working)
2011-07-16 08:03:36 +02:00
tobmaps
3c780bb0b4
Core/Spells: Fix exploit with Fiery Payback talent
...
Closes #182
2011-07-16 05:56:57 +07:00
tobmaps
66b217991c
Core/Spells: Fix Unstable Affliction
...
Closes #94
Closes #1244
Closes #1528
2011-07-16 01:24:15 +07:00
tobmaps
8a112a5c10
Core/Spells: Replace spell power coefficient for Divine Hymn by value from dbc
2011-07-16 01:02:50 +07:00
tobmaps
f7737f5660
Core/Spells: Moved part of improved presences code to spell scripts
2011-07-16 00:46:58 +07:00
tobmaps
99530dcde2
Core/Vehicles: Move most of hardcoded vehicle immunities to DB
2011-07-15 21:37:09 +07:00
tobmaps
0b40d39dcf
Core/Vehicles: Add more immunes to mechanical vehicles
2011-07-15 20:17:55 +07:00
Ramusik
37185c7749
Core/Spells: Fix Divine Hymn spell power coefficients
...
Closes #438
2011-07-15 20:04:18 +07:00