QAston
a44e1c505e
Core/Spells: Add new spell implicit target categories data - will be used in future patches.
2011-08-17 11:30:47 +02:00
tobmaps
a23c4592af
Core/Spells: Diminishing returns shouldn't prevent direct damage caused by spells - fixes dispel damage of Unstable Affliction if target immune to silence now
2011-08-17 04:09:12 +07:00
QAston
a3fc4e897c
Core: Add missing forward declarations in SpellInfo.h
2011-08-16 20:08:13 +02:00
QAston
a077a26aa5
Core/Spells: update the core to the changes from 1fb1988d46 . To make your custom code work with those changes simply lookup the value of Targets enum value from prev rev, and update the name in your code.
2011-08-16 19:44:18 +02:00
QAston
73bbc3aca8
Core/Spells: Update some targeting related attribute definitions to make them more clear and consistent.
2011-08-16 16:06:21 +02:00
QAston
9936921206
Merge pull request #2580 from hacknowledge/damagemodfix
...
Core/Spells: Fixed weapon dependent damage mods for players as well as au
2011-08-16 03:41:23 -07:00
Spp
0c30139527
Cosmetic: Some cosmetic changes here and there
2011-08-15 11:46:48 +02:00
hacknowledge
0c500486f3
Core/Spells: Fixed weapon dependent damage mods for players as well as autohit damage mods for NPCs and pets. This fixes also meta sockel effects. Also fixed displaying the correct values in the char info. I also took care of applying and unapplying the weapon based damage mods when the player is being disarmed and equips/unequips his weapon.
...
Fixes #178 , #418 , #1276 , #259 and possible a few other issues.
2011-08-13 23:26:16 +02:00
Shauren
f797f9f74d
Core/Spells: Failed triggered spell casts will no longer cause the proc aura that triggered them to be removed (this behavior should only apply to channeled spells), also corrected UNIT_FIELD_CHANNEL_OBJECT setting
2011-08-12 13:22:53 +02:00
QAston
b81fb4d423
Core/Spells: Rename SPELL_ATTR2_ALWAYS_APPLY_MODIFIERS to SPELL_ATTR2_DISPLAY_IN_STANCE_BAR, and make auras to be recalculated when permament instead of using that wrongly defined flag.
2011-08-11 23:11:10 +02:00
idostyle@zoit
eedeeaf2b2
Spell: m_castItemGUID initialization
...
Closes #105
Closes #1193
2011-08-10 15:08:22 +02:00
Shauren
f4f16aea28
Core/Spells: Fixed radius of Mutated Plague (Professor Putricide encounter)
...
Closes #2521
2011-08-07 16:48:39 +02:00
Machiavelli
156d491c27
Core/Spells: Add GetTriggeringSpell() method to SpellScript and use it to properly filter server side spell 18350's script.
2011-08-06 19:40:50 +02:00
Nay
a39ea8f3e5
Core/Spells: - Apply proper unit flags to summoned minions
...
- SPELL_AURA_MOD_REPUTATION_GAIN spells (e.g Diplomacy) should increase reputation gained from spells (e.g Commendation Badges)
2011-08-06 17:22:24 +01:00
tobmaps
7c6366ca11
Core/Spells: Partial revert of b0fe236265 , thx A-Metaphysical-Drama for tip
...
Closes #2266
Closes #2442
Closes #2454
Closes #2455
Closes #2502
2011-08-06 20:42:00 +07:00
Spp
1c882084f3
Core: Cosmetic changes in Threat related code (per request) and remove of extra call to SpellMgr singleton inside that singleton
2011-08-04 13:16:09 +02:00
Silinoron
0c2cd78400
Core/Refer-a-Friend: Fix a glitch in the summoning system. Thanks gyullo.
2011-08-03 15:21:08 -07:00
Silinoron
76fe596160
Core/Refer-a-Friend: Finish base work for Refer-a-Friend.
...
Any testing would be very much appreciated.
2011-08-03 09:28:12 -07:00
Spp
7e53a73059
Core/Vehicles: Remove Vehicle.h dependency from other header files
2011-08-03 12:28:42 +02:00
Spp
e7327e7e94
Core: Fix compile without PCH and fix some warnings
2011-08-03 11:23:08 +02:00
Spp-
fcdd4d784f
Core/Transport: Minor optimization in LoadTransports (And some cosmetic changes here and there in other files)
2011-08-03 08:18:24 +02:00
Machiavelli
ff3c988ee7
Core/Entities: Allow Shaman totems to crit with spells, and add a temp workaround to make Fire Elemental Totem spawn crit with spells also.
...
Closes #252
Closes #1846
2011-08-01 18:30:00 +02:00
Shauren
fa4b659964
Compile fix for f899c92899
2011-08-01 15:58:51 +02:00
Spp-
c69b149d7e
Core: Typo fix introduced in previous commit (:S)
2011-08-01 14:57:30 +02:00
Spp-
079f292b15
Core: Some more missing changes from previous commit (Pass by const reference for simple objects replaced with pass by value). Also fix unintended change
2011-08-01 14:51:44 +02:00
Shauren
f899c92899
Core/Spells: Use ModStackAmount for CastCustomSpell with aura stack value if the aura is refreshed on target
2011-08-01 12:05:30 +02:00
Shauren
a80b36c2f3
Core/Spells: Limited SPELL_ATTR3_PLAYERS_ONLY attribute to only allow players, not pets and totems. This fixes many boss area spells incorrectly selecting pets and totems as their targets.
2011-08-01 11:17:34 +02:00
Machiavelli
6732cbbde5
Core/Spells: Fix Shaman Wind Shear (Threat reduction part)
...
Closes #860
2011-07-31 23:49:29 +02:00
Machiavelli
c074be2944
Core/Spells: Small update to TriggeredFlags and fix Glyph of Totem of Wrath with it.
...
Closes #2458
2011-07-31 23:47:11 +02:00
Machiavelli
d4a68025c7
Core/Spells: Fix Shaman talent Storm, Earth, Fire (Earthgrab part) in case of using Earthbind totem trough Call of the Elements etc.
2011-07-31 21:58:27 +02:00
Machiavelli
58f10c74f7
Core/Spells: Change low level bool triggered with bitmask TriggerCastFlags to better manipulate the behaviour of certain triggered spells.
2011-07-31 21:58:25 +02:00
Shauren
8753a18263
Core/Auras: Corrected SPELL_AURA_CLONE_CASTER and mirror image opcode handling, will no longer rely on incorrectly used creator guid
2011-07-31 16:43:54 +02:00
Machiavelli
8ceb780213
Core/Spells: Fix Shaman totem bar exploit that would allow the player to cast any spell when using Call of the Elements etc.
...
Original patch by 3kids
Closes #2356
2011-07-31 14:12:53 +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
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
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
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
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