Commit Graph

10468 Commits

Author SHA1 Message Date
ariel-
3d5584fb86 Core/Pools: fix VS dynamic linking 2017-05-28 03:18:59 +02:00
ariel-
da65d89129 Core/Misc: fix some clang 5 warnings 2017-05-28 03:18:50 +02: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
Aokromes
f3c30eabbe missing part 2017-05-26 18:43:02 +02:00
Aokromes
975e487cf9 Core/PlayerDump: general revamping 2017-05-26 18:32:37 +02:00
Shauren
d8b9d2a9da Core/Misc: Prefix all preprocessor defines from CompilerDefs with TRINITY_ to avoid conflicts (PLATFORM_WINDOWS is used/defined by CascLib)
(cherry picked from commit b8db320bf1)
2017-05-26 14:49:55 +02:00
Aokromes
06168fb412 Implement real time statistic visualization 2017-05-26 14:47:59 +02:00
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
f0e36b0863 Core/Defines: define faction templates and replace magic numbers from scripts 2017-05-23 14:37:54 +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
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
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
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
jackpoz
d01f1d31bd Core/Misc: Fix static analysis issues 2017-04-26 05:09:21 +02:00
ariel-
c697a9de2e Core/Spell: don't make creature change orientation to 0 if channeling self 2017-04-25 13:31:11 +02:00
ariel-
8e16897073 Core/Spell: define channels without movement interrupt flags as allowed move
- Remove script hacks no longer needed
2017-04-25 13:30:58 +02:00
ariel-
2e27a1f64e Core/AI: prevent launching a new MoveChase if victim didn't change
Thanks ccrs for feedback :P
2017-04-25 13:30:44 +02:00
ariel-
469be111cd Core/Spell: implement pvp trinket immunity against Judgement of Justice
By Riztazz, closes #19484
2017-04-25 13:27:41 +02:00
ariel-
e6580ad922 Core/Player: don't randomly change temporary spell status
- They shouldn't be saved in db
- Prevented temporary spell removal after a save

Closes #14373
2017-04-25 13:27:28 +02:00
Aokromes
ae8dccad31 Core/Spell: fix creature focus with channeled spells
- Remove one not needed ReleaseFocus, this is done at finish already
2017-04-25 13:27:02 +02:00