aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Events
AgeCommit message (Collapse)Author
2025-06-08Core/Misc: Kill AnyPlayerInObjectRangeCheck (duplicate of ↵Shauren
AnyUnitInObjectRangeCheck)
2025-05-19Core/Position: Remove Position implicit object slicingShauren
2025-01-30Scripts/Anniversary: Implement Lord Kazzak encounter (#30606)Aqua Deus
2025-01-18Scripts/Anniversary: Implement Doomwalker encounter (#30591)Aqua Deus
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2025-01-01Scripts/Spells: Removed unneccessary hacks - reagent consumption by ↵Shauren
triggered spells fixed in 54a83b4b689b7d2bbddb91fc79319dd806da8cc0
2024-12-31Core/Spells: Split TRIGGERED_IGNORE_POWER_AND_REAGENT_COST into separate ↵Shauren
POWER and REAGENT flags
2024-12-31Core/Misc: Include cleanup - remove MapUtils.h from Containers.hShauren
2024-01-08Core/Creatures: Moved autoattack handling from scripts to gameShauren
2023-11-25Scripts/HallowsEnd: Implement Children's Costume Aura (#29457)Meji
2023-11-08Scripts/HallowsEnd: Implement quest: "Foul Fertilizer" (#29407)Meji
2023-10-31Core/Random: Changed random functions returning doubles to return floatsShauren
* They were all cast to float at use anyway * Improves roll_chance_f performance (rand32() is now called internally by uniform_real_distribution once instead of twice)
2023-07-24Scripts/Spells: Removed unneccessary PrepareSpellScript and ↵Shauren
PrepareAuraScript uses
2023-06-09Core/Spells: Added enum flag operators to TriggerCastFlags to prevent ↵Shauren
accidentally using CastSpellExtraArgs(bool) constructor when CastSpellExtraArgs(TriggerCastFlags) was intended
2023-06-03Scripts/Spells: Converted remaining spell scripts to use ValidateSpellEffectShauren
2023-02-09Scripts/Events: Fixed infinite loop with auras 71507 and 71508 casting each ↵Shauren
other when unit is removed from map (cherry picked from commit 70e985c7f715951035b0e168c0222405d62758b3)
2023-01-06Core/Misc: Add missing Containers.h include where neccessaryShauren
2022-09-05Scripts/Events: Update few Love is in the Air quests & items (#28084)offl
(cherry picked from commit b339fbaaf3832a468acdc35d5dfa2f7024b67ff0)
2022-07-02Scripts/Events: Implemented Selina Dourman / Darkmoon Faire (#28036)Meji
2022-06-10Scripts/Items: BOTM Wild Winter Pilsner & Izzard's Ever Flavor & ↵offl
Stranglethorn Brew (#27898) (cherry picked from commit 2d9c9fd61762c2cb5638c7d6c1189a3c0252d761)
2022-06-10Scripts/Items: BOTM Blackrock Lager & Springtime Stout & Metok's Bubble Bock ↵offl
& Binary Brew (#27891) (cherry picked from commit c02b829788cb274a68b125aee4dab35b9a56a2b8)
2022-06-10Scripts/Spells: BOTM Empty Bottle (#27889)offl
(cherry picked from commit cedd95f9850d2c6d25d7dfda59d3e16e97a26b40)
2022-03-27Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlagShauren
2022-03-26Scripts/Events: Update event scripts to new register model 2 (#27824)offl
(cherry picked from commit 3abcbcd4a2f432e5230da3d20b32dd5d3f5a7ee4)
2022-03-26Scripts/Events: Update event scripts to new register model 1 (#27823)offl
(cherry picked from commit 2ccad770bddde55a9f3c561b8e721a0610816880)
2022-03-23Scripts/Misc: Migrate world event scripts to separate files 2 (#27309)offl
(cherry picked from commit eb812bf3d510d9c6712448c4bb35983c91f97b4c)
2022-03-22Scripts/Misc: Migrate world event scripts to separate files (#27284)offl
(cherry picked from commit 542c10094f8660302708e24cf3c8b2903ac25607)
2022-03-21Scripts/Misc: Migrate Operation Gnomeregan & Zalazane's Fall scripts to own ↵offl
files (#27163) (cherry picked from commit d42c89aa04e58f74069ac1fdda94d7fbba1a7a52)
2022-03-12Core/Misc: Fix mac buildShauren
2022-03-09DB/Creature: Fix recently broken The Etymidian's scriptoffl
(cherry picked from commit 79944605c644c597bada8535d9edd1fc3c77e4cc)
2022-02-05Add "On" to some gossip methods in AI (#25415)Maks Szokalski
* Add "On" to some methods * Update npc_innkeeper.cpp * Update zone_borean_tundra.cpp (cherry picked from commit 41188eb535e445b73909659980257da2939e4be4)
2022-01-26Core/Unit: Make HandleEmoteCommand typesafe (#25249)Peter Keresztes Schmidt
* Scripts/ScarletMonastery: Fix wrong emote during Headless Horseman encounter * Scripts/HoR: Fix wrong emote during escape event * Core/Unit: Make improve type safety of HandleEmoteCommand Change argument type to the expected enum type Emote * Scripts/CoS: Use SetUInt32Value to set UNIT_NPC_EMOTESTATE UNIT_NPC_EMOTESTATE is no flag field (cherry picked from commit 6c7837f947ff4eb5110a116a371daa6f9e2b3bbe)
2022-01-24Core/WorldObject: Replace non-std::chrono SummonGameObject overloadsCarbenium
Also fix intended despawn time of GOs used by the "Engineering a Disaster" quest (cherry picked from commit 8642aaaf9268364454b409db7eb62f31210e6d6c)
2022-01-23Core/DataStores: Port refactors from Update DBC field names to generated ↵Peter Keresztes Schmidt
ones (#24999) (cherry picked from commit c92950b3e1f6366d85d707365a8ad2caddafeecc)
2021-11-10Scripts/Areatriggers: Fixed all areatrigger scripts triggering both on enter ↵Shauren
and exit instead of only on enter
2021-11-09Core/Scripts: Unify Chrono Literals (#22420)DanVS
* Unify Chrono Literals * Retire IN_MILLISECONDS * Build fix * Build fix (sequel) * Retire urand() * Edge cases * Build * Whitespaces * More edge cases * Additional cases (cherry picked from commit 5b0f4009df4cde413c92c73467ca9a63e79a772b)
2021-05-16Core/Scripts: Remove deprecated overload of QuestReward without LootItemType ↵Shauren
argument
2020-09-04Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup ↵Shauren
port
2020-05-03Core/Scripts: unified scripted gossip/quest apiariel-
- Changed self-accessor on GameObjectAI to "me", like UnitAI - Moved all related functions to AI, now Unit and GameObject have the same function names with identical behaviour - Remove "OnUpdate" from CreatureScript/GameObjectScript, was never used and we already have AI Update method - Quest methods no longer return a bool, the return value was used to call the AI version if the ScriptMgr one returned false - Implemented GameObjectAI::Destroyed hook (was never called), implemented Damaged method - Rename OnStateChanged to OnLootStateChanged to reflect when it's really called, and created a new hook OnStateChanged that only gets called on GOState change - Since the functions are now only getting called from AI, made GetAI methods full virtual. (CanSpawn method is anyways going to be used on creatures with AI) (cherry picked from commit f913f3bb8977c127d200d5d4a608ab434b21bbcd)
2020-01-02New YearAokromes
2019-08-17Ensure that all actions are compared to fixed point in time (ie. world ↵xinef1
update start) (#18910) - Actions will not be dependent on processing moment - Increased GameObjects cooldown resolution to milliseconds, fixes arming time of traps to be exactly one second and not something from range (1000, 1999) - Created GameTime namespace and UpdateTime class and moved there some code out of world (cherrypicked from 7567cafec84080d26ea513242a1f540a823b8f9d)
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-03-18Core/Events: Fixed logic for Fireworks Show at New Years AdjustmentsKittnz
591fba581052880cf80d45d61f9707d531d8aa49
2018-03-18Core/Events: Adjust timings and occurrence for Fireworks Show at New Years EveKittnz
(cherry picked from commit ef4b8da56bbb502c86b5593656acc2e06632a0ee)
2018-03-12Fix non-PCH build.Gacko
2018-03-12Core/Event: Add Fireworks Spectacular (4th of July) & New Year's Eve event!Kittnz
(cherry picked from commit 8f674e83a082b78627f5b1bdf7c1529f12128543) Update 2016_12_07_01_world_335.sql (cherry picked from commit d29221eda296ed06de6022d0303b66b66846863a) Fix pch (cherry picked from commit 643b196180a623375dfee9f3f58c60d2aac19af9) Fix pch - second attempt (cherry picked from commit c08b11ccef448554bb3d1e390072cd9ddfbf82ad)
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-11-19Core/Auras: don't save auras casted by itemsjoschiwald
* Core/Auras: don't save auras casted by items - This type of auras (like Water Bucket, Precious Ribbon, etc) will be recasted on login anyways. This reverts commit 16cfd59f5b368fd1d05eeeab3afbacfccf0a6870 (partial cherry picked from commit e84dfff4cee74baf2c02cc7752df5bf392eae180) Core/Auras: fix elixir aura saving (cherry picked from commit 697147a596515c82817a161e7a9a5f07cdf9a8f3)
2017-11-05DB/SAI: Zebu'tan and Alys Vol'tyr's conversations.SnapperRy
Also add forgotten creature_template change in 145bf1d. (cherry picked from commit b52e774ccf324fbdce90f77b58b9b6efaa887ba9)
2017-10-15Fixed buildjoschiwald
2017-10-15Script/Spell: remove cosmetic effect for Water Bucket item at login if it ↵SnapperRy
expired after the player logged out. (cherry picked from commit 16cfd59f5b368fd1d05eeeab3afbacfccf0a6870) Add forgotten override. (cherry picked from commit c6f94ba42ec7e66419b636ac09aacc1ee7320a77) Fix non-PCH build. (cherry picked from commit 02cea9c0bac2f999b461d3679a32672b6f0ac2da)