Commit Graph

35603 Commits

Author SHA1 Message Date
Ovahlord
be5ccbccef DB/Elwynn: added two emote events to Goldshire, added missing emote state to Northshire Peasants and added some waypoints to Eastvale Logging Camp 2020-01-28 19:58:33 +01:00
Ovahlord
0d690e0540 Core/Scripting: dropped ModifyVehiclePassengerExitPos hook 2020-01-28 17:51:54 +01:00
Ovahlord
a11fb57342 Core/Players: re-organize SetSkill logic to cover all possible save state cases with the new skill initialization 2020-01-28 17:36:32 +01:00
Ovahlord
df4018b10d Core/Vehicles: use pointers instead of tempoary copies 2020-01-28 13:29:12 +01:00
Ovahlord
045ae21e49 Scripts/Elwynn: scripted horse riding sequence for quest 'Further Concerns' 2020-01-28 11:13:15 +01:00
Ovahlord
dfaa49c87b Core/Vehicles: expand vehicle seat addon table implementation to support passenger exit options 2020-01-28 11:09:05 +01:00
Ovahlord
f336d6032b Scripts/Spells: moved Magmaw's involved eject passenger spells to generic spell script and use vehicle exit position script hook 2020-01-28 08:17:06 +01:00
Giacomo Pozzoni
ac8bf86755 Core/Scripts: Change PlayerScript and CreatureScript inheritance
Remove UnitScript from PlayerScript and CreatureScript classes as that's how the original system that was PR'd worked, see https://github.com/TrinityCore/TrinityCore/pull/7867 for reference.
Please note these are used as global hooks and should really just invoke stateless functions.
If you need to hook methods from PlayerScript/CreatureScript and UnitScript, just define 2 different scripts (this is how the original system worked and how it was designed to work)
2020-01-28 07:41:43 +01:00
jackpoz
316986765f Core/Map: Load the grid of TempSummons owned by Players
Ensure to load the grid of TempSummons owned by Players when the relocate to another cell
2020-01-28 05:55:09 +01:00
Ovahlord
adbc729fab Core/AI: call ModifyVehiclePassengerExitPos for CreatureScript as well since it inherits from UnitScript 2020-01-28 05:54:03 +01:00
Ovahlord
6be00413a9 Core/Movement: MoveSmoothPath will now automatically flag a ground path as uncompressed when the delta is > 400 2020-01-27 21:30:20 +01:00
Ovahlord
92852a437a Core/Movement: MoveSmoothPath will no longer enable catmullrom movement when a creature is not flying 2020-01-27 20:02:46 +01:00
funjoker
cb12d57666 Synchronize broadcast_text namings 2020-01-27 16:03:48 +01:00
Ovahlord
39e40f176b Core/Packets: corrected heal prediction type field size that was causing too large packets 2020-01-27 12:57:54 +01:00
Ovahlord
6bd0412f73 Core/Spells: do not set a beacon guid for channeled spells to match sniff behaivior 2020-01-27 12:48:35 +01:00
Ovahlord
37fae4e57a Core/Player: fixed a warning 2020-01-27 11:26:36 +01:00
Ovahlord
2dd295a603 Core/Spells: updated MSG_CHANNEL_START to packet class and fixed its heal prediction 2020-01-27 11:22:30 +01:00
Ovahlord
a72411241d Core/Players: simplified mount capability update checks and removed a unneeded call uppon changing liquid status 2020-01-27 09:49:26 +01:00
Wyrserth
e410c3498b Core/SAI: add param3 to SMART_ACTION_CALL_TIMED_ACTIONLIST to allow it to override a currently running actionlist. 2020-01-27 03:23:38 +01:00
Ovahlord
65145b375a Core/Players: fixed an ancient typo in 34b3617184
thx to Artamedes for noticing
2020-01-26 16:34:56 +01:00
Ovahlord
a1c415c658 Core/Spells: implement power cost level scaling 2020-01-26 16:04:42 +01:00
Ovahlord
28b3ae6946 Core/Items: 603b71d2a7 followup. Simplified checks 2020-01-26 08:49:13 +01:00
Ovahlord
69f74c726d Core/Datastores: load all item enchantment fields instead of only the first three 2020-01-26 07:42:27 +01:00
Ovahlord
603b71d2a7 Core/Items: fixed handling of Heirloom item stat distribution 2020-01-26 07:41:51 +01:00
Ovahlord
ee41e6260d Scripts: dropped unused scripts from Halls of Origination and fixed remaining startup errors 2020-01-26 03:18:03 +01:00
Ovahlord
5cb84cc9c1 DB/Trainers: cleaned up trainer update sql and fixed some startup errors caused by it 2020-01-26 02:38:23 +01:00
Ovahlord
ede6b8caf0 Core/Creatures: fixed a db loading typo that was causing creatures to not have any creature type 2020-01-26 02:07:01 +01:00
Ovahlord
c2a33311cf DB/Trainers: added a huge number of sniffed trainer data 2020-01-25 16:34:30 +01:00
Ovahlord
a1d328b6c3 DB/Creatures: added missing byte flag to default template addon entries to fix several equipment related issues 2020-01-25 16:16:13 +01:00
Ovahlord
45b69eb3a4 Core/Gossips: fixed a typo that was causing scripted gossip menus to show wrong icon ids 2020-01-25 16:09:04 +01:00
Ghaster
97a727749a Core/PacketIO: convert all authentication related packets to packet class (#26) 2020-01-25 15:44:56 +01:00
Ovahlord
fcb79fee07 Core/Datastores: updated DBC structure names to generated member format 2020-01-25 12:36:32 +01:00
Ovahlord
06ffa70afc Misc: dropped gitlab related files and added issue and pull request templates for github 2020-01-24 22:41:05 +01:00
Artamedes
4f5e13e01f Remove duplicate include (#27) 2020-01-24 09:52:16 +01:00
Ovahlord
cf430ce61a Core/Movement: merge 335 feedback changes for interrupt handing 2020-01-22 20:42:02 +01:00
Ovahlord
7f3a2084d1 Core/Movement: restore strict aura interrupt behaivior for players 2020-01-22 09:47:39 +01:00
Ovahlord
11f9219c8e Core/Movement: improved random movement to come closer to retail behaivior 2020-01-22 08:48:06 +01:00
Ovahlord
266e2f1895 Core/Spells: defined unknown field in spell start and spell go packet struct 2020-01-21 22:26:46 +01:00
Ovahlord
42f2042279 Core/AI: removed a completely useless and braindead enum 2020-01-21 19:46:25 +01:00
Ovahlord
2374163cbb Core/Spells: make Travis happy 2020-01-21 06:54:43 +01:00
Ovahlord
ec3ff7f085 Scripts/SFK: corrected a timer check that was preventing Baron Ashbury from casting Asphyxiate 2020-01-21 06:05:04 +01:00
Ovahlord
744ac00469 Core/Spells: converted SMSG_SPELL_START and SMSG_SPELL_GO to packet class 2020-01-21 06:03:02 +01:00
Ghaster
2587802100 Core/Packets: convert CMSG_ENUM_CHARACTERS and SMSG_ENUM_CHARACTERS_R… (#24)
* Core/Packets: convert CMSG_ENUM_CHARACTERS and SMSG_ENUM_CHARACTERS_RESULT to packet class

* Cleanup some excessive large spaces

* These entire spaces must be purged

* Order members by type size and alphabetical

* Change TaggedPosition into Position
2020-01-19 23:17:26 +01:00
Ovahlord
135eb3e5a0 DB/Creatures: added template addon entries for all missing creatures and set their visbility distances once again, including difficulty entries this time
* updated guid based visibility distances once again
2020-01-18 23:25:43 +01:00
Ovahlord
05fcab82d8 Core/Spells: corrected implementation of SPELL_AURA_BLOCK_SPELL_FAMILY and implement trigger cast flag to ignore blocked spells 2020-01-18 16:21:17 +01:00
Ovahlord
221ed21ed2 Core/Units: applied feedback from TC pull request for aura interrupt checkups 2020-01-18 16:13:29 +01:00
Ovahlord
b306111498 Scripts: re-organize Scarlet Enclave and Gilneas script files to reduce build time 2020-01-16 05:30:00 +01:00
Ovahlord
d4c12df4a7 Core/Misc: make travis happy 2020-01-16 05:17:47 +01:00
Ovahlord
b210320df0 Core/Spells: unify successful spell cast and interrupt AI hooks into one helper with different cast results to reduce duplicate code
* fixed position update logic that was responsible for interrupting channeled spells because of a missing movement generator update call that was kicking in after the interrupt already happened
* improved Baron Ashburys timer layout
2020-01-16 05:01:39 +01:00
xvwyh
527064c8d6 Core/DynamicObjects: Restore the ability of DynamicObjects to be world objects which was accidentally removed in f0f4a620fb breaking Far Sight (#24046)
Fixes #17081
2020-01-14 21:03:53 +01:00