Commit Graph

13347 Commits

Author SHA1 Message Date
Treeston
8a4858bdcf Core/Handlers: Spell handler no longer downranks otherwise-negative spells because they have a potentially-positive aura effect. Closes #22153. 2018-07-19 12:46:31 +02:00
Treeston
9c5fffb4c5 Core/GameObject: Fix an edge case where GOs might never respawn after being manually despawned. Closes #21792. 2018-07-18 19:07:55 +02:00
Treeston
2ef9d301f0 Misc: Pass std::chrono types by value everywhere. 2018-07-18 17:48:15 +02:00
Treeston
f93cb448f1 Scripts/Commands: Demangled typeinfo of f7466c2 for gcc/cmake 2018-07-18 17:33:43 +02:00
Treeston
f7466c28a5 Scripts/Commands: .npc info and .gobj info now show runtime AI typenames in addition to AIName/ScriptName.
Trying to figure out what base AI type a given creature is using has annoyed me one too many times (hi there, e8f9068).
2018-07-18 14:20:08 +02:00
Treeston
0c476ff9e0 Core/PassiveAI: Fix an incorrect check that was inducing evade spam with critters. Closes #19998, for real this time. 2018-07-18 14:20:08 +02:00
Gildor
e114939071 Core/Spells: Shadow of Death & Spiritual Vengeance should be negative spells (BlackTemple/Teron Gorefiend) (#22164)
Closes: #22160
Closes: #22161
2018-07-18 08:59:52 -03:00
Keader
c9b09fc2cb Scripts/Black Temple: Removing double hook call in Spiritual Vengeance
(i realy dont remember why i did it lol)
2018-07-15 19:53:31 -03:00
Maphaze
2ef3315848 Core/GameObjects: Fixed DestroyGate battleground hook for vehicles (#22145) 2018-07-11 18:14:09 +02:00
illfated
0004531081 Creature/Script: remove obsolete script npc_skywing (#22147)
- replaced with SAI script for the same quest and creature (Skywing)

Ref. https://github.com/TrinityCore/TrinityCore/issues/22078#issuecomment-399760597
2018-07-11 05:13:59 +02:00
Shauren
8411ec7ed6 Core/Players: Fixed saving quest item progress 2018-07-09 18:32:40 +02:00
Killyana
076c7a7b32 Creature/Script: Remove deprecated script 2018-07-08 15:09:14 +02:00
killerwife
16f524ff25 Core/Unit: Name and implement UNIT_FLAG_NON_ATTACKABLE_2 (PR #22087) 2018-06-26 20:17:59 +02:00
Treeston
c0a7274ff1 Core/AI: Add a new LeavingWorld AI hook 2018-06-26 12:15:57 +02:00
Killyana
029c4232a7 DB/Quest: Move Ulag the Cleaver to SAI 2018-06-23 22:57:44 +02:00
Shauren
0ead73516a Core/Misc: Improved ip2location code and set it to disabled by default 2018-06-23 21:31:09 +02:00
Gooyeth
a3198cbddc Typo fix contry -> country (#22075) 2018-06-23 02:30:26 +02:00
Gooyeth
2fe4ab94c5 Common: Replace ip2nation by ip2location. (#21957)
Replace ip2nation by ip2location.

Download: https://lite.ip2location.com/database/ip-country
2018-06-23 01:32:39 +02:00
Ovah
0dcc318e37 Core/Player: fix periodic eating and drinking emotes (#21280)
Closes: #12567
2018-06-22 20:23:46 -03:00
Alan Deutscher
81dc5a714b Flag Explosive Shot as a negative spell effect. Closes #21922. (#22045) 2018-06-23 01:19:02 +02:00
sirikfoll
35ba5aa138 Scripts/TheSlavePens: Boss Ahune fixes and updates
Fixes some visual problems
Fixes encounter start
Updated codestyle

Closes #22071
2018-06-22 13:47:02 -03:00
Gildor
eb6e240fd1 TheSlavePens/Ahune: Fix crash (#22070)
Closes: #22069
2018-06-22 09:24:52 -03:00
ZenoX92
5f69a8de70 DB/Quest: Escaping the Tomb
Closes #22033
2018-06-17 15:26:41 +02:00
ccrs
98fd8d4c74 Core/Movement: shield ChaseMovementGenerator against a potential crash
Since GenericMovementGenerator can be built with any MOTION_TYPE
2018-06-15 12:56:33 +02:00
ccrs
24a9598e2c Core/Movement: adjust deactivation/reset logic inside GenericMovementGenerator
Deactivated GMGenerators will now Initialize if they never did.
Mimiron's script needs still some movement love.

closes #22037
2018-06-15 12:49:11 +02:00
ccrs
825c5f5ec4 Core/Movement: prevent double initialization calls if the generator was deactivated before being initialized
ref #22037
2018-06-15 12:36:53 +02:00
Killyana
f6333a1f74 Npc/Script: Hide attack button from pet bar for Acherus eye 2018-06-11 20:32:40 +02:00
Андрей
5fa783bd34 Core/Spells: Make some spells negative (#21696)
Closes #21634
2018-06-09 10:10:54 -03:00
Keader
3102a6c903 Scripts/Ruby Sanctum: Fixed Baltharus target amount of Enervating Brand part 2
(I forgot the clones, ty Gildor)
2018-06-08 19:02:52 -03:00
Keader
8a312046b2 Scripts/Ruby Sanctum: Fixed Baltharus target amount of Enervating Brand 2018-06-07 22:45:06 -03:00
Keader
289b2dff33 Scripts/Spells: Fixed Berserk rank 2018-06-05 08:46:52 -03:00
Keader
ee7c0c16f1 Kill a whitespace 2018-06-04 22:18:26 -03:00
DanVS
3bd9337d9f Core/Spells: Reset Mangle cooldown in Berserk (#22000) 2018-06-04 22:01:27 -03:00
Keader
6cf8bd5ae7 Scripts/Pit of Saron: Fixed Ick not updading victim
Closes #22001
2018-06-04 21:52:22 -03:00
ccrs
982643cd96 Core/Movement: MotionMaster reimplementation (#21888)
Internal structure and handling changes, nothing behavioural (or thats the intention at least).
2018-06-03 10:06:57 -07:00
Maxwelllmj
4fe5a167d2 Scripts/Karazhan: make Barnes properly start the Opera Event (#21970)
Close: #21881
2018-06-01 10:38:07 -03:00
Keader
65bad41144 Scripts/Magtheridon Lair: Fixed a case when channelers get hit kill and not start fight
It's needed for cataclysm+
2018-05-29 11:38:37 -03:00
Gooyeth
5871c36750 Core/Battleground: Fixed a problem that did not let Arenas queue if it was in queue of Random Battleground (#21963) 2018-05-26 16:41:12 +02:00
Aokromes
e67fce6246 Core/DBLayer: Escape even more keywords 2018-05-25 16:53:07 +02:00
Aokromes
17539f1cb3 Core/DBLayer: Escape even more keywords 2018-05-24 23:00:02 +02:00
Shauren
2cd7860eca Core/DBLayer: Escape even more keywords 2018-05-21 19:12:29 +02:00
Aokromes
306f508b18 Typo fix
Closes #21948
2018-05-21 03:21:38 +02:00
Shauren
3eefbc9469 Core/DBLayer: Escape more keywords 2018-05-20 23:16:10 +02:00
Shauren
389092ab23 Core/DBLayer: Escape new mysql 8 keywords 2018-05-20 19:58:53 +02:00
Treeston
56a056a8a5 re-enable CreatureAI::MovementInform for Chase/FollowMovementGenerator - didn't realize any AI used this 2018-05-20 19:41:58 +02:00
jackpoz
7b7dc1b508 Core/Misc: Fix FreezeDetector triggered on startup
Fix FreezeDetector triggering the assert on startup if scripts took more than a few seconds to initialize.
2018-05-12 13:59:34 +02:00
jackpoz
953640d563 Scripts/Icecrown Citadel: Fix "intended" crash
Change an assert (that can happen easily using ".npc add") to a sanity check
2018-05-05 19:46:45 +02:00
jackpoz
5f6af8c6cb Core/Quest: Fix crash caused by disabled quests
Fix crash happening when a disabled quest was added and rewarded (through a GM command). Disabled quests are not validated on startup and they can reference invalid spells.
2018-05-05 19:17:52 +02:00
ccrs
76667e45a9 Core/Movement: crashfix workaround
untested
ref #18471
2018-05-05 18:53:59 +02:00
jackpoz
623bc6483a Core/Thread: Fix crash added in fd33b1cd02
Fix crash caused by dereferencing uninitialized field.
2018-05-05 16:50:22 +02:00