Commit Graph
332 Commits
Author SHA1 Message Date
Cron 923d5761ce Core/Spells: Fixed Survival of the Fittest armor increase bonus while in Dire Bear or Bear form. Closes #2724 2011-08-24 00:44:50 -03:00
Shauren 5f6c6d3925 Core/Auras: Implemented SPELL_AURA_PREVENT_RESSURECTION 2011-08-21 12:42:22 +02:00
QAston 3476767eb0 Fix warnings from merged pull requests. 2011-08-21 11:59:06 +02:00
QAston 396a2e588b Merge pull request #2678 from Kapoeira/master
Core/Spells: Fixed Heart of the Wild stamina and attack power bonus part.
2011-08-21 01:00:00 -07:00
Cron 7b744ebe65 Core/Spells: Fixed Heart of the Wild stamina and attack power bonus part.
Closes #2320
2011-08-20 19:36:30 -03:00
Chaplain 4b56226619 Core/Spell: case TOTAL_PCT\BASE_PCT should be processed by multiplicative function not additive.
Also get ride of hack in Player::HandleBaseModValue now it's unnecessary.
Fixes: #855, multiplicative % count for normal school for aura 79 and may be others.
2011-08-20 13:38:20 +03:00
tobmaps e1e91bacbe Core/Spells: Prevent apply spell power coefficients at bonus given by some "taken" damage mods
Closes #1991
2011-08-20 03:06:15 +07:00
Machiavelli 917ffdffac Core/Spells: More research on SPELL_ATTR6_ONLY_CAST_WHILE_POSSESSED and implement new research (original caster should be charmer or owner) and implement QAston's earlier research (only castable while possessed). 2011-08-18 20:28:07 +02:00
Chaplain 2233018f52 Core/Spells: Fixed exploit found in 9936921206.
When we count twice multipliar for spells with SPELL_SCHOOL_MASK_NORMAL.
Also now it will show correct data in character info like damage reduction % from defence stance in warrior case.
Also fixed some minor logic issues.
2011-08-17 16:11:38 +03: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
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
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
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- 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 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
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 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 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
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
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
tobmaps f7737f5660 Core/Spells: Moved part of improved presences code to spell scripts 2011-07-16 00:46:58 +07:00
tobmaps 944fb4c1b7 Core/Misc: Minor cleanup and code style fix 2011-07-15 07:12:54 +07:00
tobmaps 26b3f00dac Core/Spells: Fix bugs with improved presences at talents switch 2011-07-15 07:01:33 +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
Spp- f37a2030c0 Core: Minor optimization in AnyUnfriendlyAttackableVisibleUnitInObjectRangeCheck 2011-07-12 13:30:33 +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
Nay c572adea15 Scripts/Silithus: Fix Wind Stones gameobjects (fixes many quests in this zone). Closes #95 2011-07-05 22:07:40 +01:00
QAston fb9719c653 Core/Spells: Define SPELL_ATTR0_ABILITY (old SPELL_ATTR0_UNK4) 2011-06-30 01:47:09 +02:00
QAston d31f53c16a Core/Auras: Don't cache aura object fields in periodic damage aura handler, as it's not needed. 2011-06-30 00:00:20 +02:00
Shocker 1bc9bb6499 Core/Misc: Logic fix in previous build fix 2011-06-29 16:49:55 +03:00
Shocker 2cbff7d9ed Fix build 2011-06-29 15:43:48 +03:00
Spp- c9600143d9 Minor cleanup in SpellAuraEffect.cpp (codestyle and warning fix) 2011-06-29 13:09:32 +02:00
Machiavelli 86a48c1b63 Core/Vehicles: Fix CMSGS_CHANGE_SEATS_ON_CONTROLLED_VEHICLE after recent aura system changes. With thanks to QAston. 2011-06-28 16:48:57 +02:00
QAston e5db97a28e Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2011-06-26 19:32:41 +02: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
Shocker e05f608919 Core/Spells: Don't allow Killing Spree to hit unattackable targets 2011-06-26 16:06:23 +03:00
QAston dc8a926c8d Core/Auras: fix a typo in PowerDrain auras periodic tick handler. 2011-06-23 15:51:14 +02:00
QAston 3137a82c7c Core/Spells: Cleanup in Spell.h:
- Codestyle (fix function naming) and cleanup changes in SpellCastTargets class, also access variables of this class by getters/setters
 - Move IsQuestTameSpell function to SpellMgr.h
 - Move UnitList typedef to Unit.h
Additionally - add missing copyright notice to SpellAuraEffects.h
2011-06-23 13:28:52 +02:00
click f7b0e58a14 Core: Remove a few warnings (unused variables), clean up tabs whitespaces 2011-06-23 09:13:58 +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