Commit Graph

2316 Commits

Author SHA1 Message Date
Krudor
c8aeadc949 Remove reportUse parameter on GameObjectAI::GossipHello and give it its own event.
Ported from 3.3.5
2017-12-10 13:59:13 +01:00
Krudor
843c21048a Fix some warnings introduced in a previous commit 2017-12-10 12:56:35 +01:00
Erik Strandberg
a3b16c040b Port f913f3bb89 2017-12-10 00:37:21 +00:00
Aokromes
5efa54d11c Core/Misc: Fix static analysis issues 2017-12-09 00:00:27 +01:00
jackpoz
21cad46097 Core/Misc: Fix static analysis issues 2017-12-08 15:24:13 +01:00
Keader
06861235a7 Core/Scripts: Fixed Enervating Brand in Baltharus encounter
Closes #21027
By Mihapro
2017-12-07 18:10:42 +01:00
Keader
b09ba9d915 Build fix
yes, i'm blind
2017-11-26 14:03:53 +01:00
Keader
ce7d10c3da Scripts/Ulduar: Fixed a clang6 warning 2017-11-26 13:57:19 +01:00
Aokromes
b93430ee08 Misc: More cleanup 2017-11-25 02:25:18 +01:00
Aokromes
91affef0c6 Misc: Kill trailing white spaces 2017-11-25 01:36:21 +01:00
Aokromes
be9a73c0ad Core/Misc: Fix static analysis issues 2017-11-12 13:24:06 +01:00
Aokromes
6acf8d0e62 Scripts/Northrend: Move Sholazar Basin NPCs to SmartAI 2017-11-10 20:28:29 +01:00
Wyreth
cccc032b44 Scripts/Northrend: talk event for quest A Suitable Test Subject (#20462)
- When using the quest item for A Suitable Test Subject and the spell aura vanishes,
  Bloodmage Laurith should turn toward the player and whisper a line.
- This is handled via spell event for Bloodspore Ruination (45997)
2017-10-29 11:18:27 +01:00
Aokromes
f33299e1cb Scripts/Northrend: talk event for quest A Suitable Test Subject 2017-10-29 11:14:51 +01:00
Aokromes
5e1a7bcfbb Core/Misc: Moved CharacterInfo out of world to separate class 2017-10-27 17:52:30 +02:00
ccrs
9c7160e028 Scripts/AzjolNerub: minor corrections
ref #19072
2017-09-10 15:25:32 +02:00
Foereaper
f4a72fe03a Scripts/Naxxramas: Fix Heigan the Unclean eruption event (#20129)
By scheduling the eruption event without cancelling the previously registered eruption events, Heigan's eruption (or dance) would overlap and cause a runaway scenario, where eruptions would not follow a proper timer.

By using Reschedule and not locking the Eruption event to the fighting phase, the dance now works as intended.
2017-08-20 18:19:39 +02:00
Gustavo
da40bace9e Core/Scripts: More fixes in boss Lich King (#20147)
* Core/Scripts: More fixes in boss Lich King

Fix Valkyr charge spell, they will no longer ignore Z position and become unreachable.
Correct height of Spirit Bomb and added the 3 seconds delay on his explosion.
Set the Trigger inside frostmourne room as active, to avoid problems with reseting the room, e.g: Spirit Bombs not despawning and Wicked Spirits stuck in evade.
Use correct InhabitType for Wicked and Vile Spirits, this avoid a situation where they could spawn falling.
2017-08-20 07:08:48 +02:00
Aokromes
139cea3d26 Scripts/ICC: Minor Fixes for Lich King
- Fixed Shadow Trap and Defile Targets

- Fixed Shadow Trap Summon Delay and Duration

- Fixed Berserk Timer (15 Minutes)

- Fixed Shadow Trap Despawn when Snowstorm starts
2017-08-14 11:53:05 +02:00
Treeston
584a302f3c Scripts/IcecrownCitadel: Prevent players from becoming inaccessible when killed by Lord Marrowgar's Impale spell (the initial damage, not the DoT). Also fix the underlying bug in vehicle logic. 2017-07-27 16:46:47 +02:00
vincent-michael
c9e25147cc Scripts/Misc: Fixed static analysis issues 2017-07-16 12:21:13 +02:00
Aokromes
1c6197a0e3 Build fix 2017-07-15 17:24:05 +02:00
Aokromes
33c7f9d471 Core/Misc: Fix static analysis issues 2017-07-15 16:36:41 +02:00
Aokromes
1a5c0f5c3b Core/Grids: Ported cmangos/mangos-wotlk@ea99457
(cherry picked from commit 9299e9b)
2017-06-19 20:20:26 +02:00
ariel-
5e37e99ffa Core/Scripts: fix array out of bounds in Pit of Saron doorData 2017-06-18 10:43:37 +02:00
Aokromes
461ba1cb56 Fix (C) for multiple files 2017-06-15 08:46:45 +02:00
Aokromes
6c686876d0 Core/Scripts: fix some /W4 warnings 2017-06-12 17:49:39 +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
ariel-
e05083ad4b Core/Scripts: remove non-player objects (ie corpses) from Sindragosa's Fury targetlist 2017-06-11 17:50:11 +02:00
jackpoz
2102bd28a3 Core/Scripts: Simplify code
Partially revert 753e7074d8 and 12c680f9b1 to simplify the code and to only remove GMs from the target list.
2017-06-09 13:25:59 +02:00
ariel-
307cc1e36f Core/Scripts: filter out corpses from Sindragosa's Fury targetlist
- This would incur in a crash after attempting to convert the Corpse object into Player

Closes #19227
Closes #19862
2017-06-09 13:22:40 +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
sirikfoll
519af6e6e6 Core/Scripts Properly set Freya's BossState do DONE and avoid some loot exploits
Closes #19823
2017-05-30 09:57:03 +02: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
3fa862ab38 Instances/Ulduar: Fix a super edge case bug where Algalon would evade if his tank successfully tanked a Cosmic Smash and got knocked up. Shadow priests everywhere rejoiced. 2017-05-28 03:18:18 +02:00
ariel-
f8a222aab9 Scripts/VioletHold: fix stack overflow when reflecting 'Splash'
Closes #19514
2017-05-28 03:11:40 +02:00
Aokromes
2f5086479f Fix build 2017-05-23 14:38:41 +02:00
Aokromes
f0e36b0863 Core/Defines: define faction templates and replace magic numbers from scripts 2017-05-23 14:37:54 +02:00
ccrs
b2b6d55cb4 Scripts/ICC: add missing cases for Dark Martyrdom difficulty entries
how come nobody noticed this?
2017-05-23 13:33:24 +02:00
Aokromes
092c566ad3 Core/Scripts: improvements on the Thorim script
Improvements done to initial work by joschiwald:

- Fixed stormhammer casting and visuals
- Fixed spell credits
- Implemented removal of Impale when HP is higher than 90%
- Corrected faction templates for the pre combat creatures
- Implemeted Leap on the arena adds (thanks to joschiwald for implementing conditions)
- Scripted lighting charge using AuraScript periodic
- Fixed timings
- Corrections on the hallway encounters (added knockback immunity to minibosses too)
- Fixed multiple blizzards issue
- Lever will now reset properly, should players fail to get inside. This allows the door to be opened more than once during the combat
- Corrections in the outro event
- Implemented paralytic field traps on the hallway.
- Implemented Ancient Gate of the Keepers opening.
- Changed blizzard bunny targetting to conditions entirely.
- Removed obsolete scripts
- Standards: delete spell script names by ScriptName instead of spell_id
- Swapped factions for pre-adds (alliance should get horde trash and vs)
- Fixed Leap setting home position for adds
- Removed a bunch of magic numbers
- Runic Colossus should finish current Runic Explosion before beginning to attack
- Fixed UpdateAI logic to put it in line with other scripts (ie don't stop casts)

Special thanks to:
- chaodhib for the blizzard trigger waypoints and investigation on spell radius
- Malcrom for creating the Conditions Creator :P
2017-05-23 13:31:44 +02:00
joschiwald
364dfc9c4c Scripts/Ulduar: Initial implementation of the Thorim Encounter
Closes #7651

Fix logic fail in achievement:
SPELL_LIGHTNING_CHARGE aka 62279 is casted on Thorim itself to buff him, not the damage spell tracked by the achievement.
2017-05-23 13:26:10 +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
0242bd6f20 Build fix 2017-05-05 03:51:07 +01:00
ariel-
c62077237d Core/Spell: restore old proc system behaviour on auras self proc. 2017-05-04 02:21:58 +01:00
ariel-
b7b69b88ba Core/Unit: damage immune improvements 2017-05-04 01:48:16 +01:00
ariel-
a6b4f239a4 Add some DamageInfo null checks 2017-05-04 00:17:13 +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
Aokromes
c015a5cf10 Core/Misc: camelize GetFaction/SetFaction properly 2017-05-02 02:02:31 +02:00