684 Commits

Author SHA1 Message Date
Shauren
ed599208ea Core/Movement: Change MoveJump to use min/max height argument instead of vertical speed 2025-11-23 11:54:42 +01:00
Shauren
4676cbc4d7 Scripts/Misc: Update Wind-Up Train Wrecker 2025-11-20 19:09:19 +01:00
Shauren
ace6342aea Core/Spells: Refactor SpellHistory ModifyCoooldowns and ResetCooldowns callbacks to use CooldownEntry argument instead of internal iterator 2025-01-30 18:27:38 +01:00
Shauren
069771e22e Core/AreaTriggers: Replace fixed movement times in database for areatriggers with speed 2025-01-10 21:22:28 +01:00
ModoX
309ba22a15 Core/AI: Implemented conversation ai (#30538) 2024-12-28 23:25:10 +01:00
Shauren
68db469ee1 Core/PacketIO: Updated SMSG_UPDATE_OBJECT for 11.0.5 2024-10-30 14:41:27 +01:00
Shauren
c4b710446d Core/Realms: Realmlist refactors
* Removed global realm variable from World and use RealmList everywhere
* Match auth build key with client version
* Restored allowedSecurityLevel checks for realmlist packet building
* Restored updating population field, mysteriously removed 15 years ago in f20b25d1c9
2024-08-18 18:59:58 +02:00
lee
4862033a44 Scripts/Misc:fix npc_professions locale text (#27894)
* fix npc_professions locale text

fix npc_professions locale text load from db

* fix dup sql

fix dup sql

* add condition and gossip option

add condition and gossip option for money cost depends on player level

* add missing update statements

* Rename 9999_99_99_world.sql to 2023_03_24_00_world.sql

---------

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit 60b75e3b6e)
2024-07-16 22:27:00 +02:00
ModoX
d54ee7a280 Scripts/StormsongValley-ish: Added scripts for old god forces for Kul Tiran unlock questline in Port Fogtide Part 1 / K'thir (#30000) 2024-06-04 00:53:18 +02:00
Meji
def601b4ff Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801) 2024-03-30 20:21:28 +01:00
Shauren
e121ed81d1 Core/Logging: Improved generated code for log statements (length of text is computed at compile time) 2024-03-15 20:46:10 +01:00
Ovahlord
ea093fef27 Core/Units: moved CharmInfo class and its definitions into a own file (#29583) 2024-01-16 18:43:32 +01:00
Shauren
605e5f94c0 Core/Creatures: Moved autoattack handling from scripts to game 2024-01-08 22:23:12 +01:00
Shauren
78bcc3f52a Core/Misc: Minor code modernization - kill std::bind 2023-12-08 20:27:41 +01:00
ModoX
b2393d6ade Scripts/World: Dropped deprecated npc_innkeeper script
* costume stuff should be handled by candy buckets
2023-10-22 13:38:07 +02:00
Jeremy
30f57de184 Scripts/AreaTrigger: Added CanCaptureFlag and CaptureFlag hooks (#29237)
* also added related areatrigger script
2023-08-24 22:25:15 +02:00
Jeremy
f5461a1161 Battlegrounds/Buffs: Rework using areatriggers (#29171)
* Rework GameObject trap handling for buffs (removed radius hack)
* Add script for Old AreaTriggers
* Add script for new AreaTriggers
* Spawn AreaTriggers in Arathi Basin
2023-07-30 19:49:12 +02:00
Shauren
2e7e49b749 Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses 2023-07-24 10:48:50 +02:00
Teleqraph
88ff97c1f9 Core/Units: Added helper functions to modify UNIT_FLAG_UNINTERACTIBLE (#29159)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-07-20 19:09:27 +02:00
ModoX
89e09dc44e Core/AI: Drop script_waypoints and move data to waypoint_data (#28879) 2023-04-10 04:04:33 +02:00
ModoX
356c98579b Core/SAI: Drop waypoints table and move existing rows to waypoint_data table (#28834) 2023-04-08 01:33:05 +02:00
Shauren
3df16c12b7 Core/Scripts: Move EvadeReason outside of CreatureAI class 2023-01-19 21:23:06 +01:00
Malcrom
d81db584b4 Scripts/Quests: Help Those That Cannot Help Themselves (#28304)
(cherry picked from commit f98e2bcab4)
2023-01-10 19:15:08 +01:00
Shauren
d791afae1d Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api) 2023-01-08 21:16:53 +01:00
Shauren
d8a4668c77 Core/Misc: Add missing Containers.h include where neccessary 2023-01-06 16:44:11 +01:00
Shauren
ba9bbbc9d0 Core/Misc: Fixed deprecation warnings for c++20 2023-01-01 00:26:53 +01:00
Shauren
e65fae7bcd Scripts/Gossips: Set gossip menu id for scripts that load menu items from database
(cherry picked from commit 900a2f6d88)
2022-10-13 12:41:34 +02:00
Meji
ba49dbfdcb Core/Gossip: Drop OptionNpcFlag from gossip_menu_option (#28254)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-10-09 22:03:04 +02:00
M'Dic
400b8e3192 Scripts/Events: Ironforge hourly bell event correction (#28234)
Changes go_bells script to play the BellTollDwarfGnome once at every hour.

References:
https://www.reddit.com/r/classicwow/comments/ou0rw5/question_what_is_that_super_loud_bellowing/
cherry-pick commit (Hourly bell: Dwarf horn sound should only play once vmangos/core#1569)

Co-authored-by: schell244 <9536270+schell244@users.noreply.github.com>
(cherry picked from commit 5ec5e1e1d0)
2022-09-29 21:44:13 +02:00
Meji
69e0249807 Core/Gossip: Drop OptionType for gossip_menu_option and rename OptionIcon to OptionNpc as it also determines functionality on client side (#28220)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-09-08 14:49:03 +02:00
offl
d02989e9e6 Scripts/Quest: Update few quests (#28108)
(cherry picked from commit 1c96eebcc1)
2022-09-05 21:01:44 +02:00
ModoX
ed93a97068 Core/Units: Replace UNIT_DYNFLAG_DEAD with UNIT_FLAG3_FAKE_DEAD (#28117) 2022-07-15 22:34:06 +02:00
Shauren
5dbfaecd5c Core/WorldStates: Migrate battleground worldstates to new system 2022-07-10 18:59:29 +02:00
Shauren
daafde7518 Scripts/Gossip: Fixed money not being removed when enabling/disabling experience gains
Closes #27772

(cherry picked from commit b73d031fe0)
2022-06-10 16:56:34 +02:00
Shauren
36dde87249 Core/Movement: Delay creating MoveSplineInit objects used by GenericMovementGenerator to spline launch time
* This fixes inconsistent transport state detection for players exiting vehicles that are on transport (ICC gunship battle), fixes players being telerpoted to middle of nowhere on that fight

(cherry picked from commit b1a94bf94c)
2022-06-10 15:16:39 +02:00
Shauren
94aac14b4d Core/Spells: Rename SpellAttr6 to use official attribute names 2022-05-06 20:23:13 +02:00
Shauren
fda65981c7 Core/Conversations: Conversation actor improvements
* Store NoActorObject in database
* Support adding player as conversation actor using database
* Send actor id in packets

Co-authored-by: funjoker <funjoker109@gmail.com>

Closes #27911
2022-04-19 22:15:12 +02:00
Shauren
5558769405 Core/Battlegrounds: Replaced overriding m_team with more fine grained approach 2022-04-16 12:15:37 +02:00
Shauren
b47185cabf Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag 2022-03-27 18:14:47 +02:00
Grindelwald
e811387bde Update inkeeper content (#27507)
* Update localized hotel content

Update localized hotel content

* Using the database to display GOSSIP

The broadcast_text_locale has the relevant gossip_menu_option data, but C++'s strong coding makes them appear only in the default English.

(cherry picked from commit 27cb415c13)
2022-03-24 23:33:59 +01:00
offl
c3368fd5fc Scripts/Quest: Rework 'The Cleansing' (11317,11322) (#27413)
(cherry picked from commit a8464d34bb)
2022-03-24 14:41:00 +01:00
offl
4281049e0c Scripts/Misc: Migrate world event scripts to separate files 2 (#27309)
(cherry picked from commit eb812bf3d5)
2022-03-23 00:03:14 +01:00
offl
7698203122 Scripts/Creature: Replace trigger_periodic with unique scripts (#27240)
(cherry picked from commit 7a307ebb6d)
2022-03-21 23:12:00 +01:00
Malcrom
64933d033e Script/World: Brewfest Reveler Script (#27031)
(cherry picked from commit 83ae8fc519)
2022-03-19 23:47:01 +01:00
offl
c4906ce60b Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE (#26913)
(cherry picked from commit c4741a131a)
2022-03-15 23:03:26 +01:00
offl
2d4f087f85 Scripts/Creature: Update Dancing Flames (#26883)
(cherry picked from commit 70c3e58327)
2022-03-15 00:11:06 +01:00
offl
94840f791c DB/GameObject: Update Toy Train Set
(cherry picked from commit fd9d04062c)
2022-03-14 23:51:23 +01:00
Gildor
20c8698bc4 Scripts/World: improve Training Dummy script (#26778)
(cherry picked from commit c7ae9d761a)
2022-03-12 14:45:19 +01:00
Giacomo Pozzoni
71c2f0af46 Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken (#26787)
* Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken

* Update scripts

(cherry picked from commit 0800ab20a8)
2022-03-12 14:45:04 +01:00
jackpoz
d0fe16b787 Core/Misc: Fix issues reported by static analysis
(cherry picked from commit 33dace231c)
2022-03-11 11:48:18 +01:00