QAston
db28ae55c9
Core/Spells: Add missing braces to possession spell check - fixes problems with being unable to cast target's spells while possesing.
2011-07-31 11:13:41 +02:00
Liberate
6cfb87639c
Core/Arena: A more accurate implementation of rating gain/loss. This fixes the strange behaviour personal rating could have, as well as implements the bigger rating scale added in patch 3.1.
...
Fixes #230
2011-07-30 22:46:45 +02:00
Machiavelli
b2d37062a0
Core/Vehicles: Allow damaging NPC passengers.
...
+ Forgotten change from 2effb7
2011-07-30 21:55:06 +02:00
Machiavelli
0ecb47bc8a
Core/Spells & Vehicles: Define and implement SPELL_ATTR6_CASTABLE_WHILE_ON_VEHICLE and VEHICLE_SEAT_FLAG_CAN_CAST_MOUNT_SPELL.
...
Research done by QAston
2011-07-30 20:36:19 +02:00
Machiavelli
2effb7acdc
Core/Spells: Fix client crash on ESC when channeling certain spells (e.g. Eye of Acherus, Death Knight Understudy)
...
Fixes #1131
2011-07-30 19:16:54 +02:00
Liberate
12f5904bee
Core/Spells: Fix a crash in OnDummyEffect.
...
Fixes #2245
2011-07-30 15:26:42 +02:00
QAston
1df57ae522
Core/Spells: Don't allow passive area auras to stack.
2011-07-30 02:02:35 +02:00
QAston
c9291243c1
Core/Spells: Remove some obsolete code (stealth is no longer a ranked spell).
2011-07-29 18:01:33 +02:00
Machiavelli
981e3540c8
Core/Chat: Fix a crash in .lookup spell command
2011-07-29 15:02:20 +02:00
Spp-
e47b96af3e
Core: Append single character to stream as character, not as a string
2011-07-29 14:18:28 +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
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
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
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
3e70742e81
Core/Units: Prevent dodge/parry/block while under the effects of fear or desorientation
2011-07-24 06:22:53 +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
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
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