Ovalord
b672eddd1d
Core/Spells: fixed mage Mana Adept mastery
2017-11-29 11:56:07 +01:00
Ovah
ee19cded9d
Fixed Shaman Masteries
2017-11-27 12:40:21 +00:00
Aokromes
91affef0c6
Misc: Kill trailing white spaces
2017-11-25 01:36:21 +01:00
Aokromes
5e1a7bcfbb
Core/Misc: Moved CharacterInfo out of world to separate class
2017-10-27 17:52:30 +02:00
Ovalord
34b3617184
Core/Spells: merged commits 86275a397a478a30dad7e00af73029e2b15d4668 ae070a1b64da616d4a6452793d22f80542a2c40f and
...
be7486fddb180dac66362a7ea4e0d330b6f27d37
2017-10-17 01:06:15 +02:00
Ovah
87bb6d04f5
Core/AI: implemented AI hook for interrupting spells ( #20610 )
2017-10-13 22:19:39 +02:00
Treeston
244e9c6a15
Core/Creature: Fix an oversight in Creature::SelectVictim that was causing creatures to evade when chased by another creature from outside their own aggro range. Closes #19998 .
2017-09-10 15:24:38 +02:00
Aokromes
93e0e0c291
Core/Movement: MotionMaster & MovementGenerators cleaning
2017-08-13 14:55:54 +02:00
Keader
abbdb9744e
Revert "Core/Npc: Remove bytes1 once the npc start a combat"
...
This reverts commit 21b03e7d9bc9165f5e0cf4fbdc5bd9b1534dbcd7.
2017-08-13 03:30:34 +02:00
Treeston
867ca8817f
Core/Unit: Don't apply liquid effects to game masters.
2017-08-03 19:39:45 +02:00
Killyana
7b714a7033
Core/Npc: Remove bytes1 once the npc start a combat
...
Closes #16832
By Rushor
2017-07-22 09:13:12 +02:00
Aokromes
8b6261c809
Core/Misc: Fix static analysis issues
2017-07-16 19:05:26 +02:00
treeston
af36d491a1
Fix an overly strict check that was causing guardians to evade loop. Also make players properly enter combat when their pets are engaged by a creature.
2017-06-20 03:55:07 +02:00
Aokromes
1a5c0f5c3b
Core/Grids: Ported cmangos/mangos-wotlk@ea99457
...
(cherry picked from commit 9299e9b)
2017-06-19 20:20:26 +02:00
Aokromes
f8d9d954d1
Get zone/area IDs from vmap data in the liquid update
...
* Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup
* Use this lookup in Map:: relocation methods to update m_areaId and m_zoneId fields on WorldObject
* Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields
* Clean up liquid state handling on Unit and Player
* Hand floor's Z coord up through GetFullTerrainStatusForPosition, use it to update a new field in WorldObject, and use that to feed a new GetFloorZ call on WorldObject.
2017-06-09 13:20:37 +02:00
Aokromes
0bb27ecd4b
Pet/Guardian AI hook re-organizing ( #19824 )
...
* Pet/Guardian AI hook re-organizing:
- Adjust OwnerAttacked/OwnerAttackedBy hooks on CreatureAI to fire for all owned units, not just player pets. This should allow guardians to more reliably recognize valid targets.
- Kill off the AttackedBy hook. While it was defined in CreatureAI.h as virtual, it was only ever invoked for player pets in specific situations. This makes it classic developer bait.
- Adjust PetAI to use DamageTaken instead of AttackedBy.
- Adjust behavior of AttackStart on PetAI to compensate.
2017-06-07 02:50:14 +02:00
Treeston
16e60ba408
Partial revert of 15a207f, which was causing issues (ref #4943 and #19768 ). Instead, fix the underlying issue from 15a207f one level further down - Unit::getAttackerForHelper() shouldn't return units that we aren't in combat with (victim can be such a unit for players/player pets, which can startattack from a distance without entering combat). ( #19814 )
...
Fixes the following issues:
- Player pets would aggro neutral mobs as soon as they start autocasting (Imp's Firebolt) if they're in react range (due to victim != null, autocast counts as autoattack and sets victim)
- Neutral mobs would randomly evade when aggro switched between targets.
Closes #19768 , #19485 and #10921 .
(from PR #19814 )
2017-05-30 09:21:38 +02:00
Treeston
e80602f048
Fix evade issues when a spell hits the target just before evading. ( #19815 )
...
- Creatures should no longer get stuck in evade mode following a target if a spell hits the creature just as it's entering evade mode.
- Fixes and closes #4943 . Finally.
2017-05-30 09:20:49 +02:00
Ryan
e054036742
Fix SMSG_POWER_UPDATE
2017-05-28 20:19:33 +01:00
Ryan
5e50bb9481
Fix warning and whitespace
2017-05-28 18:39:41 +01:00
Ryan
20726edec2
Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
2017-05-19 23:49:46 +01:00
ariel-
ddb787482c
Core/Unit: don't clear low health aura states on death
...
- Confirmed with sniffs, healthless states aren't cleared
- Prevents some procs from happening
Closes #19754
2017-05-16 06:50:39 +02:00
ariel-
4eaa6b50b6
Core/Entities: allow guardian pets to inherit spellmods
2017-05-07 06:06:34 +02:00
Aokromes
0fbcdca05e
Core/Collision: Replaced phasemask with proper phases in GameObject c…
...
…ollision calculation
2017-05-06 01:55:17 +02:00
xinef1
b88200cd58
Core/Misc: Various crash fixes
2017-05-05 01:59:34 +01:00
roc13x
7d6884dcb5
Core/Spells: Fix SPELL_AURA_PROC_ON_POWER_AMOUNT
...
Will re-implement the eclipse handling in spellscripts later
2017-05-04 21:16:50 +01:00
ariel-
eee81e3748
Core/Spell: fix nopch build x2
2017-05-04 05:02:26 +01:00
ariel-
76349ea8ce
Core/Spell: fixed SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT to actually check effects
...
- This commit enables stack rule 3 to be properly used to fix auras that should be active but only one providing effects, even if the spell has multiple auras
Closes #19454
2017-05-04 05:01:47 +01:00
ariel-
091100f795
Core/Spell: check aura positivity per effect on spell hit
...
- Fixes applying DR to positive effects, and changing duration of whole aura
Closes #19447
2017-05-04 05:01:17 +01:00
ariel-
ba2e4d90ec
Core/Spell: fix SPELL_ATTR3_IGNORE_HIT_RESULT bypassing reflects
...
Closes #19440
2017-05-04 05:00:28 +01:00
ariel-
948335f911
Core/Spell: add missing null caster check
...
01d272d6cb348c968c531620c341f760e50cb97b follow-up
Closes #18875
2017-05-04 04:09:07 +01:00
ariel-
c89bf30b4d
Missing change
2017-05-04 03:59:33 +01:00
ariel-
62f9b5a0a1
Core/Misc: readd some codestyle changes inadvertently reverted
2017-05-04 03:42:24 +01:00
ariel-
4f3f455de4
Core/Spell: partial revert of SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE immunity handling
...
- Bonus: without breaking Banish... yay!
Closes #18370
2017-05-04 03:35:47 +01:00
ariel-
aee4958ed8
Core/Unit: added GetTotalAuraXXX overloads taking a predicate
2017-05-04 03:33:13 +01:00
ariel-
f12035a600
Core/Unit: added missing nullptr check in IsImmunedToSpellEffect
...
Closes #18461
2017-05-04 03:29:20 +01:00
ariel-
6e62130e96
Core/Spell: improved immunity logic for dispels
2017-05-04 03:26:54 +01:00
ariel-
1cffe99136
Core/Spells: proc spells after damage apply, not before. Fixes #13025
2017-05-04 02:57:40 +01:00
roc13x
9dca905ea4
Add some missing code
2017-05-04 02:53:10 +01:00
ariel-
c7e27dd511
Core/Unit: do not allow judgement spells to bypass damage immunity
...
3f19eea5e41fd47b571c17529e08d9f8caa91705 follow-up. Without the #16658 regression
2017-05-04 02:36:54 +01:00
ariel-
938f43302c
Core/Entities: fix interaction of traps with ffa pvp and sanctuary flags
2017-05-04 02:34:25 +01:00
ariel-
6aac0c2073
Core/Entities: better support of absorb, resist and block procs
2017-05-04 02:25:01 +01:00
ariel-
c62077237d
Core/Spell: restore old proc system behaviour on auras self proc.
2017-05-04 02:21:58 +01:00
ariel-
cb77d33cb9
Core/Spell: Added the possibility to explicitly disable auraEffect procs using attributes
...
- Renamed IsProcTriggeredOnEvent to GetProcEffectMask, since long ago this function returned bool, new name should better reflect its use
2017-05-04 02:16:50 +01:00
ariel-
39f5cfafc5
Core/Spell: spells with ignore hit result should pierce damage immunities
2017-05-04 02:16:30 +01:00
ariel-
a6c7f2b98c
Core/Spell: Fixed irregular handling of SPELLMOD_DOT
2017-05-04 02:15:54 +01:00
roc13x
31b1b42b07
Remove duplicate code
2017-05-04 02:10:38 +01:00
ariel-
b7b69b88ba
Core/Unit: damage immune improvements
2017-05-04 01:48:16 +01:00
ariel-
746cb97dce
Core/Unit: don't use damage immunity to calculate hit result for the whole spell. Should be used only for damage
2017-05-04 01:45:58 +01:00
ariel-
045bf711c2
Core/Unit: improved handling of some spell attributes
...
- SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE
- SPELL_ATTR2_UNAFFECTED_BY_AURA_SCHOOL_IMMUNE
- SPELL_ATTR3_IGNORE_HIT_RESULT
2017-05-04 01:44:49 +01:00