Shauren
0f9a0accf1
Core/Misc: Kill AnyPlayerInObjectRangeCheck (duplicate of AnyUnitInObjectRangeCheck)
2025-06-08 01:07:44 +02:00
Shauren
a5ca817ff6
Core/Position: Remove Position implicit object slicing
2025-05-19 15:34:32 +02:00
Aqua Deus
304a25a91d
Scripts/Anniversary: Implement Lord Kazzak encounter ( #30606 )
2025-01-30 16:25:13 +01:00
Aqua Deus and Shauren
6a1a19d938
Scripts/Anniversary: Implement Doomwalker encounter ( #30591 )
...
Co-authored-by: Shauren <[email protected] >
2025-01-18 23:18:42 +01:00
Shauren
887fcbc02b
Scripts/Spells: Removed unneccessary hacks - reagent consumption by triggered spells fixed in 54a83b4b68
2025-01-01 20:32:23 +01:00
Shauren
151a50d2aa
Core/Spells: Split TRIGGERED_IGNORE_POWER_AND_REAGENT_COST into separate POWER and REAGENT flags
2024-12-31 20:14:01 +01:00
Shauren
d778d5ec7c
Core/Misc: Include cleanup - remove MapUtils.h from Containers.h
2024-12-31 18:12:36 +01:00
Shauren
605e5f94c0
Core/Creatures: Moved autoattack handling from scripts to game
2024-01-08 22:23:12 +01:00
Meji
ece5570c10
Scripts/HallowsEnd: Implement Children's Costume Aura ( #29457 )
2023-11-25 14:06:09 +01:00
Meji
eaf84247fc
Scripts/HallowsEnd: Implement quest: "Foul Fertilizer" ( #29407 )
2023-11-08 00:54:34 +01:00
Shauren
9894f6b802
Core/Random: Changed random functions returning doubles to return floats
...
* 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-10-31 20:20:00 +01:00
Shauren
2e7e49b749
Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses
2023-07-24 10:48:50 +02:00
Shauren
c484530b0c
Core/Spells: Added enum flag operators to TriggerCastFlags to prevent accidentally using CastSpellExtraArgs(bool) constructor when CastSpellExtraArgs(TriggerCastFlags) was intended
2023-06-09 00:33:35 +02:00
Shauren
622eed752b
Scripts/Spells: Converted remaining spell scripts to use ValidateSpellEffect
2023-06-03 23:17:28 +02:00
Shauren
f79cd0f526
Scripts/Events: Fixed infinite loop with auras 71507 and 71508 casting each other when unit is removed from map
...
(cherry picked from commit 70e985c7f715951035b0e168c0222405d62758b3)
2023-02-09 10:31:48 +01:00
Shauren
d8a4668c77
Core/Misc: Add missing Containers.h include where neccessary
2023-01-06 16:44:11 +01:00
offl
a01141c426
Scripts/Events: Update few Love is in the Air quests & items ( #28084 )
...
(cherry picked from commit b339fbaaf3832a468acdc35d5dfa2f7024b67ff0)
2022-09-05 19:49:45 +02:00
Meji
1a967dcd14
Scripts/Events: Implemented Selina Dourman / Darkmoon Faire ( #28036 )
2022-07-02 00:24:11 +02:00
offl
54b16f0d16
Scripts/Items: BOTM Wild Winter Pilsner & Izzard's Ever Flavor & Stranglethorn Brew ( #27898 )
...
(cherry picked from commit 2d9c9fd61762c2cb5638c7d6c1189a3c0252d761)
2022-06-10 14:34:11 +02:00
offl
e526cad015
Scripts/Items: BOTM Blackrock Lager & Springtime Stout & Metok's Bubble Bock & Binary Brew ( #27891 )
...
(cherry picked from commit c02b829788cb274a68b125aee4dab35b9a56a2b8)
2022-06-10 14:30:55 +02:00
offl
f9f65a8957
Scripts/Spells: BOTM Empty Bottle ( #27889 )
...
(cherry picked from commit cedd95f9850d2c6d25d7dfda59d3e16e97a26b40)
2022-06-10 14:27:23 +02:00
Shauren
b47185cabf
Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
2022-03-27 18:14:47 +02:00
offl
88670c44ee
Scripts/Events: Update event scripts to new register model 2 ( #27824 )
...
(cherry picked from commit 3abcbcd4a2f432e5230da3d20b32dd5d3f5a7ee4)
2022-03-26 15:26:21 +01:00
offl
3ab87f3029
Scripts/Events: Update event scripts to new register model 1 ( #27823 )
...
(cherry picked from commit 2ccad770bddde55a9f3c561b8e721a0610816880)
2022-03-26 15:23:12 +01:00
offl
4281049e0c
Scripts/Misc: Migrate world event scripts to separate files 2 ( #27309 )
...
(cherry picked from commit eb812bf3d510d9c6712448c4bb35983c91f97b4c)
2022-03-23 00:03:14 +01:00
offl
d3c9c14f83
Scripts/Misc: Migrate world event scripts to separate files ( #27284 )
...
(cherry picked from commit 542c10094f8660302708e24cf3c8b2903ac25607)
2022-03-22 23:50:20 +01:00
offl
3fbc9d796d
Scripts/Misc: Migrate Operation Gnomeregan & Zalazane's Fall scripts to own files ( #27163 )
...
(cherry picked from commit d42c89aa04e58f74069ac1fdda94d7fbba1a7a52)
2022-03-21 00:18:17 +01:00
Shauren
becc9ba1fc
Core/Misc: Fix mac build
2022-03-12 18:35:59 +01:00
offl
b1139ada4d
DB/Creature: Fix recently broken The Etymidian's script
...
(cherry picked from commit 79944605c644c597bada8535d9edd1fc3c77e4cc)
2022-03-09 14:20:51 +01:00
Maks Szokalski
bc04acb726
Add "On" to some gossip methods in AI ( #25415 )
...
* Add "On" to some methods
* Update npc_innkeeper.cpp
* Update zone_borean_tundra.cpp
(cherry picked from commit 41188eb535e445b73909659980257da2939e4be4)
2022-02-05 22:18:19 +01:00
Peter Keresztes Schmidt
2e3c612c80
Core/Unit: Make HandleEmoteCommand typesafe ( #25249 )
...
* 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-26 21:46:51 +01:00
Carbenium
82fce41852
Core/WorldObject: Replace non-std::chrono SummonGameObject overloads
...
Also fix intended despawn time of GOs used by the "Engineering a Disaster" quest
(cherry picked from commit 8642aaaf9268364454b409db7eb62f31210e6d6c)
2022-01-24 12:55:43 +01:00
Peter Keresztes Schmidt
1e1679a1f7
Core/DataStores: Port refactors from Update DBC field names to generated ones ( #24999 )
...
(cherry picked from commit c92950b3e1f6366d85d707365a8ad2caddafeecc)
2022-01-23 00:06:16 +01:00
Shauren
f2456ff319
Scripts/Areatriggers: Fixed all areatrigger scripts triggering both on enter and exit instead of only on enter
2021-11-10 00:01:50 +01:00
DanVS
28cb2af1c5
Core/Scripts: Unify Chrono Literals ( #22420 )
...
* 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-11-09 00:26:59 +01:00
Shauren
b9d63c2009
Core/Scripts: Remove deprecated overload of QuestReward without LootItemType argument
2021-05-16 21:56:06 +02:00
Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
ariel-
6604849716
Core/Scripts: unified scripted gossip/quest api
...
- 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-05-03 03:04:32 +02:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
xinef1
60663d1374
Ensure that all actions are compared to fixed point in time (ie. world 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-08-17 20:04:14 +02:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Kittnz
88ba95e07d
Core/Events: Fixed logic for Fireworks Show at New Years Adjustments
...
591fba581052880cf80d45d61f9707d531d8aa49
2018-03-18 00:19:39 +01:00
Kittnz
53339c4312
Core/Events: Adjust timings and occurrence for Fireworks Show at New Years Eve
...
(cherry picked from commit ef4b8da56bbb502c86b5593656acc2e06632a0ee)
2018-03-18 00:19:39 +01:00
Gacko
beda9098c6
Fix non-PCH build.
2018-03-12 22:55:18 +01:00
Kittnz
ce007fef0a
Core/Event: Add Fireworks Spectacular (4th of July) & New Year's Eve event!
...
(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-03-12 16:39:32 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
joschiwald
f9067f2aab
Core/Auras: don't save auras casted by items
...
* 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-19 16:25:30 +01:00
SnapperRy
9a31e7d71f
DB/SAI: Zebu'tan and Alys Vol'tyr's conversations.
...
Also add forgotten creature_template change in 145bf1d.
(cherry picked from commit b52e774ccf324fbdce90f77b58b9b6efaa887ba9)
2017-11-05 11:37:18 +01:00
joschiwald
9c615059f8
Fixed build
2017-10-15 17:22:30 +02:00
SnapperRy
25c7849262
Script/Spell: remove cosmetic effect for Water Bucket item at login if it 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)
2017-10-15 16:13:44 +02:00