Ovah
327d515ede
Core/AI: Added CreatureAI hook that is getting triggered when a spell cast has been successfully finished. ( #21774 )
2018-04-12 20:31:53 +02:00
ariel-
5ff847159c
Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources
2018-03-28 04:41:59 -03:00
Ovahlord
ce4e137889
Core/Entities: Take terrain swaps into account when calculating LoS/height/area
2018-03-09 23:45:06 +01:00
Ovahlord
e44bb5f387
Core/Entities: Phase Rework (main commit)
2018-03-08 22:58:50 +01:00
jackpoz
86f03d79cc
Core/Spells: Revert SPELL_ATTR2_IGNORE_ITEM_CHECK to unknown
...
Revert SPELL_ATTR2_IGNORE_ITEM_CHECK to unknown, too many spells unrelated to items have this attribute and the current handling was causing exploits with "Mote of Water" and other elements.
Fix #19547
2018-02-18 18:37:00 +01:00
Cannix
c238fd1017
Core/Spells: Execute item casts immediately instead ( #21396 )
2018-02-17 17:45:28 +01:00
ariel-
66334459a6
Core/Spells: fixed server being too overzealous with autoshot
...
- Interrupting it when casting another spell and switching targets
Ref #21390
2018-02-16 03:27:16 +01:00
ariel-
23af4f93ba
Core/Spells: remove duplicated LowerPlayerDamageReq call on reflected spells
...
- It is already called at Unit::DealDamage
2018-02-10 11:36:50 +01:00
Aokromes
90033ee748
Core/Spells: Defined and implemented some new spell attributes
2018-01-14 06:53:36 +01:00
ariel-
e6e1403b2d
Core/Spells: fix casting NO_TARGET event spells
...
Closes #19978
2018-01-06 13:22:44 +01:00
ariel-
a53af26ab6
Core/Entities: fix crash
...
- m_currentSpells and spell would be different in case cancelation of a channeled spell would remove the aura, and aura scripted to cast another channeled spell on remove
- In the above situation, we would lose reference of currentSpell and remove reference from wrong one, this was fixed by clearing the pointer before spell cancelation.
Closes #20172
2018-01-01 22:21:01 +01:00
Aokromes
4bd0525edd
Update copyright note for 2018
2018-01-01 01:06:19 +01:00
ariel-
72b14ea028
Core/Spell: implement SPELL_FAILED_AURA_BOUNCED on DR spells
2017-12-26 16:58:53 +01:00
Aokromes
4d455eaedb
Core/Spells: Gathering no longer fails after patch 3.1.0
...
By Ovahlord
2017-12-10 12:28:04 +01:00
joschiwald
9ea8214254
Core/Spells: Spells with TARGET_SELECT_CATEGORY_NEARBY requires a valid target ( #20954 )
2017-12-10 11:24:27 +01:00
Ovalord
6482b222cf
Core/Spells: shaman totems no longer require totem items since patch 4.0.1
2017-11-29 11:34:23 +01:00
Aokromes
405445d564
rename files
2017-11-27 00:58:28 +01:00
Aokromes
7648284911
Core/Spells: implement CAST_FLAG_HEAL_PREDICTION
2017-11-26 07:35:09 +00:00
Aokromes
3ba5756c1c
Core/Skills: implement Archaeology
2017-11-26 07:32:16 +00:00
Aokromes
8e702b4b2e
Core/Spells: Fix timer for triggered spells
...
By Malcrom
2017-11-23 21:44:10 +01:00
Ovalord
e88789555f
Core/Spells: implement CAST_FLAG_HEAL_PREDICTION
2017-11-15 22:41:22 +01:00
Ovalord
c868e10d9b
Core/Skills: implement Archaeology
2017-11-09 03:58:28 +01:00
Aokromes
2cc4fef9d5
Fix warning
2017-10-17 01:19:52 +02:00
Ovalord
34b3617184
Core/Spells: merged commits 86275a397a ae070a1b64 and
...
be7486fddb
2017-10-17 01:06:15 +02:00
Aokromes
1b850ff3f3
Core/Misc: Build fix
2017-07-16 19:31:10 +02:00
Aokromes
8b6261c809
Core/Misc: Fix static analysis issues
2017-07-16 19:05:26 +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
9057cae219
So, I came in trying to fix gameobject LoS. So I restructured some stuff.
...
Then it turned out that gameobject LoS is already fixed. So all this does, really, is restructure some stuff.
And remove the hack from Sapphiron because I could.
2017-06-11 19:02:07 +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
ac3dbcb880
Core/Utilities: Rename RandomResizeList->RandomResize as it is no longer restricted to a list
2017-06-07 09:53:04 +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
24c89fba76
Re-check target evade state on projectile impact and adjust accordingly. This fixes the incorrect message ("Absorb" instead of "Evade"), and also removes the root cause of the original evade follow bug (that was prevented in 1945874).
2017-06-06 19:32:18 +02:00
ariel-
e778c4c628
Core/Spell: in case of immunity, check all effects to choose correct procFlags, as none has technically hit
2017-05-30 09:21:03 +02:00
Ryan
a289acff81
Core/Spells: Fix SPELL_AURA_FIXATE
2017-05-28 20:14:31 +01:00
Ryan
1442984686
Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
2017-05-28 19:10:00 +01:00
treeston
e361682377
Quickfix a bug introduced by 2f19d97 which prevented GTAoE from being cast.
2017-05-28 03:18:35 +02:00
ariel-
8082b3165e
Core/Spell: abort channeling if no valid targets are found after searching
...
Closes #17624
2017-05-28 03:11:57 +02: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
Aokromes
0fbcdca05e
Core/Collision: Replaced phasemask with proper phases in GameObject c…
...
…ollision calculation
2017-05-06 01:55:17 +02:00
roc13x
02e174d7e9
Cleanup
2017-05-05 00:10:25 +01:00
roc13x
c2fd775e5d
Add missing changes
...
Core compiles now
2017-05-04 05:24:21 +01:00
ariel-
07a182f1d3
Core/Spell: register spell mod owner properly on spell cast
...
- This fixes pets and totems getting mods from owner
2017-05-04 05:04:19 +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
xinef1
ae4b91bcf6
Fixed setting and unsetting of m_spellModTakingSpell
2017-05-04 04:32:26 +01:00
roc13x
557f714a10
Fix spell dst execution time
2017-05-04 04:26:51 +01:00
Gerhood
0e1cc63055
Core/Spells: implement Mad/Crazy Alchemist's potions
2017-05-04 04:17:24 +01:00
ariel-
1f6fa54465
Core/Spell: build fix
2017-05-04 04:14:12 +01:00
ariel-
3ccdf57f4a
Core/Spell: unified handling of SPELL_ATTR5_USABLE_WHILE_* attributes
...
Allowed mechanic mask is calculated on startup and auras checked against those mechanics
Closes #18798
2017-05-04 04:13:49 +01:00
ariel-
921efdc1fa
Core/Spell: consider spells with no targets for the purpose of finish procs
...
Closes #18799
2017-05-04 04:10:22 +01:00
ariel-
69625f32fe
Core/Spell: kill old charge restoring system. Mods are fully handled by proc system now.
...
- Fixes an edge case of spell failing due to out of range and re-adding charges to an existing aura.
2017-05-04 04:00:58 +01:00