Commit Graph
139 Commits
Author SHA1 Message Date
Vincent-Michael c6dd149f1b Core/Spells: Fix Curse of Doom (thx to Warpten / joschiwald for helping) 2012-06-14 21:11:37 +02:00
Vincent-Michael 62c64920f1 Core/Spells: Fix Empowered Renew calculation 2012-06-13 22:26:35 +02:00
joschiwald 4e354d6ca9 Core/Spells: fix damage mods from caster on target 2012-05-11 22:43:06 +02:00
Chaplain 879070bc80 Core/Spells: Separation caster/target part damage/heal bonus calculations.
*Implement HoT/DoT save caster side bonuses and apply target mods on each tick
2012-04-28 23:32:25 +03:00
Subv 6cb8d607ce Spells/Scripts: Allow OnEffectAbsorb to call PreventDefaultAction in AuraScripts
closes #6172

Signed-off-by: Subv <[email protected]>
2012-04-12 05:52:20 -05:00
Gyx 360014856d Core/Game: Code style.
Signed-off-by: Gyx <[email protected]>
2012-03-29 13:42:04 +08:00
Gyx 72cdcbfced Core/Game: Code style.
Signed-off-by: Gyx <[email protected]>
2012-03-28 19:11:50 +08:00
Shauren 25c13de8b3 Core/Auras: Corrected check relying on a not yet initialized variable 2012-03-24 13:43:28 +01:00
Shauren 568e524c45 Core/Spells: Implemented CREATURE_TYPEFLAGS_PARTY_MEMBER, creature with this type_flag set can be targeted by spells that require target to be in caster's party/raid 2012-03-19 20:44:30 +01:00
Souler 05097c7fc5 Scripts/Spells: Move Demonic Circle mechanics to spell_warlock.cpp 2012-02-26 17:22:27 +01:00
click 5411e1ce52 Core: Clean up whitespace and tabs in the base sourcetree 2012-02-18 16:52:08 +01:00
QAston 0d5ae5784c Core/Spells: Make channeled auras stackable by default with other auras. 2012-02-16 17:14:32 +01:00
Spp 03c34ee507 Fix a lot of warnings 2012-02-16 13:56:28 +01:00
Subv 8a72aede16 Codestyle: Renamed some variables to fit codestyle, corrected order in structure/class fields to match alignment (they use slightly less memory now)
Signed-off-by: Subv <[email protected]>
2012-02-14 12:46:26 -05:00
QAston 84fa96efc6 Once again - a typo fix in 22bd06fc57 - rush is not the best advisor. 2012-02-05 09:18:39 +01:00
QAston 9d185c5d66 Core/Spells: Fix immunity checks on apply aura - original patch by devilcoredev, changed a bit so immunity checks are grouped together instead of being spread. 2012-02-04 15:27:47 +01:00
QAston 6b12f39b35 Merge pull request #4821 from devilcoredev/fix_001
Core/AuraScript: Add OnDispel and AfterDispel hook to AuraScript
2012-02-04 06:09:57 -08:00
Giuseppe Montesanto 271feb587f Add hook on AuraScript called when an aura is dispelled 2012-02-04 13:32:40 +01:00
QAston 7e99e5f094 Core/Spells:
- rename SpellInfo::IsAOE to SpellInfo::IsTargetingArea due to ambiguity of old name.
- add IsAffectingArea function to check whenever spell or it's effects are affecting objects in area and use new function to fix problems with hunter flares.
Closes #3310. Thanks to Kaelima and Warpten for research.
2012-02-03 22:24:03 +01:00
Shocker 08be716ef8 Core/Misc: Rename UNIT_STAT_* enums to UNIT_STATE_* 2012-02-03 19:02:17 +02:00
QAston b754f7c91d Core/Auras: Add some documentation to new proc system code to avoid confusion. 2012-01-17 21:35:27 +01:00
Shocker 2fac227480 Merge pull request #4405 from Warpten/feral
Core/Spells: Fix Druid's T10 Feral 4P Bonus
2012-01-04 13:50:17 -08:00
kiper 8299627ed9 Update headers for 2012. HAPPY NEW YEAR!!! 2012-01-01 00:32:13 +01:00
QAston afc18461d7 Core/SpellScripts: Add BeforeCast, OnCast and AfterCast hooks to SpellScripts. 2011-12-31 13:11:12 +01:00
kaelima 4b0acb7432 Core/Spells: Force Invisibility (mage) to leave combat. 2011-12-21 02:16:06 +01:00
Kapoeira a3e8ca30b7 Core/Spells: Fix Druid's T10 Feral 4P Bonus. 2011-12-19 23:29:04 -05:00
megamage 360c9dd635 Add detailed crash info when aura owner is not in the same map as target in Aura::UpdateTargetMap. 2011-11-11 11:29:59 -05:00
idostyle@zoit ae63e8b4f6 Core/Spell: Shattered Barrier should obey proc chance of talent ranks 2011-10-05 14:41:10 +02:00
Spp b16d2245bb Cosmetic: Multiple cosmetic changes
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces

Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Spp af05915b9e [Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions) 2011-09-15 14:12:57 +02:00
Chaplain bea649d045 Core: cleanup.
*remove some garbage
*little bit moore const func
*fix process of args in vmap3_extractor
2011-09-01 22:38:32 +03:00
Shocker 4eb3a9ca48 Core/Spells: Rename SPELL_AURA_POWER_BURN_MANA to SPELL_AURA_POWER_BURN 2011-08-31 12:11:38 +03:00
Spp- aa85553bfd Core: Crash fix (TemporarySummon), remove some warnings and some other minor changes
- "const uint64" and "uint64 const" --> uint64
 - Add some info in LFGDungeonEntry
 - Move some definitions from ".h" files and move to ".cpp"
2011-08-30 13:46:36 +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
Spp 7e53a73059 Core/Vehicles: Remove Vehicle.h dependency from other header files 2011-08-03 12:28:42 +02:00
QAston 1df57ae522 Core/Spells: Don't allow passive area auras to stack. 2011-07-30 02:02:35 +02:00
QAston f33a0c23ca Core/Spells: Fix passive auras stacking logic after recent changes.
Closes #2417
2011-07-28 03:08:42 +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
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
click 7fe3f55b5e Core: Fix non-PCH build + clean up some sporadic warnings 2011-07-18 14:49:08 +02:00
tobmaps 8a112a5c10 Core/Spells: Replace spell power coefficient for Divine Hymn by value from dbc 2011-07-16 01:02:50 +07:00
DrTenma ebc1baf684 Core/Spells: Fix talent Improved Unholy Presence
Closes #411
2011-07-15 04:58:14 +07:00
QAston 5f565709cf Core/Auras: Correct display stackable aura amount in client when aura has 1 stack. 2011-07-13 20:57:11 +02:00
QAston 72ea9c9fa8 Core/Spells: Add a base for brand new proc system, this is a WIP and doesn't affect currently working code. 2011-07-10 13:13:02 +02:00
Havenard 0c984bfdf5 Core/Auras: Fix problem with aura charges introduced on 42a20f1 with the reuse of existing aura objects on aura reapply.
Closes #1989
Closes #2039
Closes #2211
2011-07-09 14:59:35 +07:00
QAston faaba1aa65 Core/Auras: Improvements in spell_linked_spell table handling, now auras with using this table have linked stack amount, also linked aura removal is called now when aura is removed on target death. 2011-06-26 19:31:11 +02:00
QAston c4818f1892 Core/Auras: Fix refresh of auras with spellmodifiers applied to currently cast spell. 2011-06-21 19:59:17 +02:00
tobmaps afd524f36b Core/Misc: Some random cleanups and code style fixes 2011-06-20 04:04:20 +07:00
tobmaps 24764a674b Core/Spells: Fix crash with spellstealing of Divine Illumination 2011-06-20 03:39:07 +07:00
click f778c5e739 Whitespace cleanups... 2011-06-18 19:51:28 +02:00