Commit Graph
12830 Commits
Author SHA1 Message Date
QAston 045dec19fa CoreSpells: Typofixes: fix area auras autocast and usage of items in combat. 2011-07-28 13:21:31 +02:00
QAston f33a0c23ca Core/Spells: Fix passive auras stacking logic after recent changes.
Closes #2417
2011-07-28 03:08:42 +02:00
QAston 7094f57841 Core/Spells: Don't unload sSpellStore on startup, to allow access to dbc strings. 2011-07-28 02:03:47 +02:00
Machiavelli e291464e06 Fix a warning 2011-07-27 21:27:43 +02:00
QAston 4c8c0ce193 Core/Spells: Use correct spell target in Spell::EffectEnvirinmentalDMG - fixes area damage of spells using this. 2011-07-27 21:23:15 +02:00
QAston 46851c3fda Core/Spells: Drop obsolete code for Demonic Sacrifice. 2011-07-27 20:37:28 +02:00
Machiavelli 0dcc229071 Core/Commands: Allow muting offline players - the mute will become effective on next player login. 2011-07-27 17:51:57 +02:00
Machiavelli 2eb69330b4 Core/DBLayer: Fix Field::GetInt64 parsing for non-prepared statements 2011-07-27 17:45:49 +02:00
Spp- 0b5c03f66b Core/Scripts: ScriptRegistry is no longer the part of ScriptMgr public interface, it is not required by caller side. Also remove extra function call to GetScriptId in scripts 2011-07-27 14:52:59 +02:00
Shauren 3e5aa2d1ff Core/Movement: Implemented methods to animate creatures landing and takeoff and use them in Sindragosa script 2011-07-27 12:40:14 +02:00
Shauren b9a6e2333c Core/Spells: Removed implicit casts from SpellImplicitTargetInfo, fixed copypaste mistakes and one crash 2011-07-27 12:35:59 +02:00
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