Commit Graph

22421 Commits

Author SHA1 Message Date
ariel-
70f3879c32 Core/Player: update interaction checks, some info taken from client 2017-05-26 14:26:43 +02:00
DoctorKraft
225b6ede81 Core/Hotswap: Fix Reload on Linux
* Closes #19465
2017-05-26 14:25:08 +02:00
Shauren
aa864d57f7 Core/Hotswap: Replace #ifdef conditions with comparisons of values defined in CompilerDefs.h
(cherry picked from commit 43510a258c)
2017-05-26 14:24:42 +02:00
Aokromes
6e49330f54 Fix missing changes 2017-05-23 15:20:21 +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
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
Aokromes
a20788a8a8 Core/Misc: Fix dynamic linkin
By Krudor
2017-05-14 17:03:00 +02:00
Aokromes
7c0f5add07 Core/Logs: Reword some logs 2017-05-12 10:03:46 +02:00
Aokromes
d9f72fdb88 Core/Globals: fix array out of bounds crash on loading npc_text_locale 2017-05-07 10:35:16 +02:00
Aokromes
8020f4b6f5 Remove dead code 2017-05-07 06:51:21 +02:00
ariel-
4eaa6b50b6 Core/Entities: allow guardian pets to inherit spellmods 2017-05-07 06:06:34 +02:00
Aokromes
6a7f15ecf4 Scripts/Commands: Update reload commands names 2017-05-07 06:05:53 +02:00
Aokromes
fc20b6934b build fix 2017-05-06 02:38:01 +02:00
Aokromes
0fbcdca05e Core/Collision: Replaced phasemask with proper phases in GameObject c…
…ollision calculation
2017-05-06 01:55:17 +02:00
Aokromes
a16f3b9e0f Missing change 2017-05-04 18:09:12 +02:00
Aokromes
9bdf7bc7f0 Core/Misc: Update locales_gossip_menu_option to simple system 2017-05-04 17:57:22 +02:00
Aokromes
46d73126dd Core/Misc: Update locales_npc_text to simple system 2017-05-04 17:21:32 +02:00
Chazy Chaz
5158cca124 Core/Misc: Update locales_creature_text to simple system 2017-05-04 17:02:32 +02: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 3a0cb90ea9
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
ariel-
e53e8b8437 Core/AI: some tweaks on boundary functionality:
- Moved SetBoundary to public scope to allow for greater flexibility (ie set from external script)
- Extended to allow checking inverted boundaries
2017-04-26 13:08:01 +02:00
ariel-
8070e6ad29 Core/AI: added a function to allow 0 damage attacks (sparring) depending on target 2017-04-26 13:07:54 +02:00
jackpoz
1664c1bd2e Core/Misc: Fix static analysis issues 2017-04-26 05:09:44 +02:00
Keader
68cadd6375 Core/Scripts: Added a missing break in Illidan Stormrage script
Thanks Jackpoz
2017-04-26 05:09:32 +02:00
jackpoz
d01f1d31bd Core/Misc: Fix static analysis issues 2017-04-26 05:09:21 +02:00