Commit Graph
1701 Commits
Author SHA1 Message Date
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- 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 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
Aokromes c015a5cf10 Core/Misc: camelize GetFaction/SetFaction properly 2017-05-02 02:02:31 +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
Aokromes 83623e0f7e Core/Spells: Add duration argument to Unit::SendPlaySpellVisualKit 2017-04-23 15:36:46 +02:00
Aokromes adae2fec26 Ensure that all actions are compared to fixed point in time (ie. world update start) 2017-04-14 15:02:49 +02:00
ariel- c17fa0bcc5 Core/Instance: stop updating the instance resettimes based on creature respawns 2017-04-14 13:50:13 +02:00
Aokromes 92816c0f17 Core/Gameobject: destroy test 2017-04-03 12:20:06 +02:00
S.V cdff8ab387 Core/Creatures: Fixed GMs being considered in party/raid with nearby creatures without CREATURE_TYPE_FLAG_TREAT_AS_RAID_UNIT
Ref #19340
2017-03-23 02:15:05 +01:00
ariel- d1382c5f23 Core/Spell: fix an issue with vehicle spells changing orientation of base vehicle
Closes #17234
2017-03-20 16:55:01 +01:00
ariel- 35e9c27c4a Core/Entities: don't finalize movesplines before deleting.
- The whole MotionMaster will be destroyed along with the unit, freeing the allocated memory.

Closes #19324
2017-03-20 16:53:54 +01:00
ariel- f2c7c5cf0c Core/Unit: properly reset displayIds when having a shapeshift aura active
Closes #19309
2017-03-20 16:45:09 +01:00
ariel- 7871583016 Core/Auras: tidy up one little hack 2017-03-13 10:09:59 +01:00
Aokromes 41c30413c9 Core/Misc: Minimize branch differences 2017-03-13 09:52:07 +01:00
Gustavo d21bb8f5ca Core/Unit: Correct speed calculus when affected by SPELL_AURA_MOD_MINIMUM_SPEED (#18136) 2017-03-03 01:26:03 +01:00
xinef1 2c05a59815 Core/Misc: Fix various crashes, also related to multithreading (#19012)
* When iterating groups we have to either do it not in multithreaded context (map updates) or start with checking maps (they are guaranteed to change in single thread update).
* Properly clear ComboPoint references on player remove 
* remove some possible references item may have when it is deleted during save. 
* Also clear all hostile references when unit is removed from map.
2017-02-05 01:58:11 +01:00
xinef1 01b43b3da0 Core/Pets: Fixed flashing pet attack button (#18906) 2017-02-05 01:57:37 +01:00
Flameshot 30732ecc5d Fixed one build error and performance warnings 2017-02-04 16:34:09 +02:00
Aokromes 30eced8380 Core/Spells: Properly send autorepeat cancel packet to self and fix s…
…ome problems with autoshot
2017-02-01 15:18:54 +01:00
Aokromes 9f6fc5f123 Core/Pets: Disable pet interface for charmed units while mounted 2017-01-21 14:55:03 +01:00
xinef1 696ac52f83 Core/Auras: Prevent remove of auras interrupted by turning if the turn could be caused by float calculation error (#18595) 2017-01-21 14:50:15 +01:00
Aokromes b7432bc39a Compile fix try 2017-01-18 15:09:57 +01:00
Aokromes 719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
xinef1 3d4a36a5bd Core/Units: Fixed bug in stun code making units summoned by npcs to never break out of stun (#18612) 2016-12-28 16:08:35 +01:00
xinef1 297fdc6e1a Core/Units: Fixed exploit where killing tamed pet could yield emblems (#18605) 2016-12-28 16:08:22 +01:00
Aokromes 949ce2d576 Core/Units: Cleanup hardcoded magic numbers for byte field offsets
(cherry picked from commit ac1dc75)
2016-12-16 19:54:22 +01:00
ariel- fb632b61fe Core/Unit: feral druid attacks should not be normalized
Closes #18460
2016-12-16 19:25:11 +01:00
ariel- 1d3fddfc6a Core/Entities: don't absolute compare positions on UpdatePosition
Closes #18415
2016-12-16 19:24:12 +01:00
ariel- eb3a90a4e8 Core/Spell: implemented dispel reflection
Closes #18323
2016-12-16 19:24:01 +01:00
ariel- 1066fe59c9 Core/Auras: calculate periodic bonuses before specific mods, fixes Imp. Devouring Plague damage 2016-12-06 11:10:30 +01:00
Chaouki Dhib 935a4cbeab Core/Movement: minor MotionMaster refactor (#18367) 2016-12-06 11:08:10 +01:00
Aokromes 0737ea9b6e Core/Spells: Fixed logic related to movement while channeling 2016-11-27 15:47:21 +01:00
Aokromes 296bd71c79 build fix 2016-11-27 05:34:51 +01:00
Aokromes 12068f4cc1 typo fix 2016-11-27 04:50:47 +01:00
Aokromes be8cb29c93 Core/Unit: add impurity attack power bonus to healing too (for Death …
…Coil for example)
2016-11-27 03:21:03 +01:00
Aokromes c0ba6c2dfe Core/Auras: Rewritten conditionally applying SPELL_AURA_MOD_WEAPON_CR…
…IT_PERCENT, SPELL_AURA_MOD_DAMAGE_DONE and SPELL_AURA_MOD_DAMAGE_PERCENT_DONE auras

* Now the entire aura is removed when changing equipment
* All aura types can now depend on equipped items
2016-11-27 03:09:29 +01:00
Aokromes 6c76eff031 Core/Unit: fix some SPELL_AURA_MOD_DAMAGE_PERCENT_DONE effects being …
…applied more than once

No more overpowered dps for you
2016-11-27 01:36:22 +01:00
ariel- 227dc4d907 Core/Unit: fix build
Ctrl-S failure
2016-11-27 01:24:19 +01:00
Aokromes e4dd97765e Core/Spell: revamp of immunities system
- Spell attributes research
- Container optimization
- Do not skip damage immunity checks on SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY present
- Added additonal arguments support to SendCastResult / CheckCast, spells can now send proper error messages
- Loads spell immune masks/states/effects at startup.
- This cached info is used whenever a spell cast requires immunities to be known beforehand (to see if an aura could be applied for example)
2016-11-19 06:10:14 +01:00
ariel- 1fcb8e0b4e Core/Unit: consider creatures with same faction to be on the same party/raid for the purposes of spell/aura targets
Ref #18233
2016-11-15 05:46:05 +01:00
Shauren 5ddf50bdee Core/Auras: Fixed removing auras triggered by aurastates
Closes #17868

(cherry picked from commit f94e6cee38241e10daed711247a18b8706cb8924)
2016-11-15 05:43:30 +01:00
Aokromes de6b2eeca1 Revert "Core/Unit: send original caster in heal packet log"
This reverts commit 7290ff87e7.
2016-11-02 04:44:36 +01:00
Aokromes 7290ff87e7 Core/Unit: send original caster in heal packet log 2016-11-02 03:16:18 +01:00
ariel- 4e61ff8c9c Core/Unit: consistency fix 2016-11-02 03:12:25 +01:00
ariel- 7a0647ec46 Core/Unit: fix warning reported by VS2015
C4146: unary minus operator applied to unsigned type, result still unsigned
2016-11-02 03:01:30 +01:00