Commit Graph
14706 Commits
Author SHA1 Message Date
ariel- 60b390a3e8 Core/Auras: allow damage from periodics to trigger auras if they're not fully resisted/absorbed 2017-05-04 01:08:39 +01:00
ariel- 759e19cee7 Core/Unit: CalculateMeleeDamage should use unmodified damage to compute HitInfo
d3a71a83387f757f87c7d27e1054498c8cc49c8f follow-up
2017-05-04 01:07:58 +01:00
ariel- 3d9c4fd3fc Core/Spells: use DamageInfo struct to calc spell absorbs and resists, and use calculated proc hitMask on aura ticks 2017-05-04 01:07:05 +01:00
ariel- 8bf21ad927 Core/Unit: fix chain cc's not being diminished properly
Logic fail in 9b0fa51022fba3d5ece96dd0ac8399be01ea5b0f (now diminishing info is always initialized)
2017-05-04 01:01:44 +01:00
ariel- 21ac6296be Core/Spells: moved handling of SPELL_ATTR0_CU_DONT_BREAK_STEALTH inside proc system.
Fixes additional issues with spells that shouldn't be breaking stealth and had this attribute
2017-05-04 01:01:24 +01:00
ariel- b3eb7c121f Core/Unit: Change aura proc pair container to vector 2017-05-04 00:59:01 +01:00
ariel- 44a779ad38 Core/SpellMgr: some changes in default proc generation. Fix an issue of stealth breaking with positive and/or healing spells 2017-05-04 00:57:39 +01:00
roc13x d30237fb1e Core/Globals: compute aura diminishing return info at startup and cache it 2017-05-04 00:57:24 +01:00
ariel- 7ccd58615a Fix dynamic linking 2017-05-04 00:28:36 +01:00
ariel- 9b5c40a201 Mark Slice and Dice as positive 2017-05-04 00:25:18 +01:00
ariel- e0c8a379c8 Core/Spell: do not automatically set proc Family Name if no Family Flags present
Closes #18075
2017-05-04 00:21:36 +01:00
ariel- a47ee2ac5a Core/Spells: fix auto repeat spells triggering auras
Auto repeat spells are casted as triggered and didn't register procs properly if the aura can't proc with triggered
2017-05-04 00:21:13 +01:00
ariel- c71dc17135 Core/Auras: moved check for CC auras out of proc handler, and fixed its logic 2017-05-04 00:18:01 +01:00
ariel- a6b4f239a4 Add some DamageInfo null checks 2017-05-04 00:17:13 +01:00
ariel- 754c22d3d0 Core/Auras: prevent stack overflow while processing SPELL_EFFECT_ADD_EXTRA_ATTACKS 2017-05-04 00:14:02 +01:00
roc13x da9de6de36 Add missing change 2017-05-04 00:13:26 +01:00
roc13x 0b2e5adeb1 Core/Globals: cache SpellSpecific and AuraState information instead of computing them each time they're needed 2017-05-04 00:12:11 +01:00
ariel- c6aa63536e Core/Unit: fix weapon skill up.
Closes #18044
2017-05-03 23:52:34 +01:00
ariel- a7a024d1d6 Core/Auras: reset periodic aura timers by default. Except when aura comes from triggered spell 2017-05-03 23:51:47 +01:00
ariel- 805c10a365 Core/Spells: add proc cooldown on item equip. 2017-05-03 23:44:15 +01:00
ariel- 91c4b5edb0 Core/Scripts: add even more headers 2017-05-03 23:43:57 +01:00
ariel- 627a285a71 Core/Scripts: add more headers required for NoPCH 2017-05-03 23:43:45 +01:00
ariel- baf1f027c1 Core/Scripts: add headers required for NoPCH build 2017-05-03 23:39:34 +01:00
ariel- a40b85f8b2 Core/Scripts: convert some instance/item spells to scripts 2017-05-03 23:37:32 +01:00
ariel- 51f26dfe51 Core/Spells: Implementation of QAston proc system 2017-05-03 20:08:08 +01:00
Shauren 1f96c1f268 Merge 1e1fcd6847619629f4b6642faaccb81c4cf3755e 2017-05-03 17:26:32 +01:00
Shauren a9d5fab271 Core/Spells: Calculate hitMask and store it in DamageInfo/HealInfo structures 2017-05-03 17:14:00 +01:00
Aokromes 4dbb2ac9bf build fix 2017-05-03 06:23:56 +02:00
Aokromes 4c4698c33d Core/Misc: Update locales_achievement_reward to simple system 2017-05-03 06:16:21 +02:00
Chaouki Dhib 4565c2f8c2 Core/Spells: change to the way the spell effect SPELL_EFFECT_JUMP work 2017-05-03 06:01:08 +02:00
ccrs e2153e5280 Core/Transport: fix logic error
justStopped was always set true, but when transports spawn and remain stationary timer, _currentFrame->ArriveTime and _currentFrame->DepartureTime are set to 0, making justStopped always remain true and triggering incorrect calls.
2017-05-03 05:59:48 +02:00
Aokromes 83680656fb compile fix 2017-05-02 03:52:26 +02:00
Aokromes bdac4421e2 Core/Scripts: fix Nightfall proc chance and reduce it for victims with level above 60 2017-05-02 02:59:58 +02:00
Aokromes 897a3b0633 typo fixes 2017-05-02 02:47:59 +02:00
Aokromes acd63b4259 Core/Entities: moved PetAura handling to Player where it belongs 2017-05-02 02:10:32 +02:00
ariel- f3246f835c Core/Scripts: remove OnDummyEffect hook/sOnDummyEffect ai hook
- Duplicated logic never used, sometimes only ScriptMgr version was called, sometimes only AI
- They only encourage bad scripting practices
- You can still use OnSpellHit or a SpellScript
2017-05-02 02:04:45 +02:00
Aokromes c015a5cf10 Core/Misc: camelize GetFaction/SetFaction properly 2017-05-02 02:02:31 +02:00
Aokromes c42aea1bce Coding style 2017-05-01 14:54:49 +02:00
Aokromes 3aaadcfddc Fix non-PCH build. 2017-05-01 00:28:26 +02:00
Aokromes 3563af5c60 Core/Script: Fix low level class quest 2017-04-30 23:34:31 +02:00
Aokromes b00f376482 Core/Scripts: Codestyle fixes 2017-04-29 15:43:11 +02:00
Aokromes ad9636e916 Coding style 2017-04-29 10:51:23 +02:00
Aokromes 8b20c2bbf3 warning fix 2017-04-29 01:59:19 +02:00
Aokromes 44af529a0a Core/Scripts: Dwarf Start Area scripts
By Malcrom
2017-04-29 01:55:00 +02:00
ccrs a17849bcfe Core/Unit: 2170541a51 followup
use true as default value since pretty much all the script calls will expect that
2017-04-28 12:57:38 +02:00
Keader 1a1fb6712c Core/Scripts: Re-hack Boss Loken. Followup 3a0cb90ea994e82dd8c70888fb847082f738d5dc
Loken still need ClearUnitState Hack to DoMeleeAttackifReady work
2017-04-28 12:57:27 +02:00
ccrs 748df97208 Core/Spell: move creature focus
bellow the possible interruptions
2017-04-28 12:57:16 +02:00
ccrs 8b62b4ff03 Core/CreatureAI: b6b0353bff followup 2017-04-28 12:57:06 +02:00
Aokromes 52b6941616 typo fix, fixes crash on windows 2017-04-27 04:17:11 +02:00
Aokromes d2e0ad00b6 fix some coverity issues 2017-04-26 18:08:08 +02:00