Commit Graph

12838 Commits

Author SHA1 Message Date
Lopin
06b46ba203 Scripts/Ulduar: Fixed disappearing of Hodir's Rare Chest 2011-07-29 13:48:21 +02:00
Azazel
c5d0c6b464 Core/Misc: cleanup npc_professions script (shouldn't the whole script go to DB?). Fix some warnings. 2011-07-29 15:25:52 +06:00
tobmaps
cf643e5150 Core/Arenas: Removed some outdated stuff 2011-07-29 07:55:00 +07:00
Machiavelli
0c6079790b Core/Misc: Make 64-bit abs function 'portable'. Should fix build on MSVC versions =< 9 2011-07-29 00:59:30 +02:00
QAston
41593a79e3 Core/Spells: Check if spell has range entry before trying to access property (some spell do not) - fixes a crash. 2011-07-29 00:01:08 +02:00
QAston
fe913bf66c Core/Spells: Fix a crash on checking school immunity added to unit manually (not by aura) - this time without additional changes (argh!) 2011-07-28 23:45:57 +02:00
QAston
495ead5f7f Revert "Core/Spells: Fix a crash on checking school immunity added to unit manually (not by aura)"
This reverts commit 07badd7385.
2011-07-28 23:44:39 +02:00
QAston
07badd7385 Core/Spells: Fix a crash on checking school immunity added to unit manually (not by aura) 2011-07-28 23:41:29 +02:00
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