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 70e985c7f7 )
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 b339fbaaf3 )
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 2d9c9fd617 )
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 c02b829788 )
2022-06-10 14:30:55 +02:00
offl
f9f65a8957
Scripts/Spells: BOTM Empty Bottle ( #27889 )
...
(cherry picked from commit cedd95f985 )
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 3abcbcd4a2 )
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 2ccad770bd )
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 eb812bf3d5 )
2022-03-23 00:03:14 +01:00
offl
d3c9c14f83
Scripts/Misc: Migrate world event scripts to separate files ( #27284 )
...
(cherry picked from commit 542c10094f )
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 d42c89aa04 )
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 79944605c6 )
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 41188eb535 )
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 6c7837f947 )
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 8642aaaf92 )
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 c92950b3e1 )
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 5b0f4009df )
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 f913f3bb89 )
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 7567cafec8 )
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
...
591fba5810
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 ef4b8da56b )
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 8f674e83a0 )
Update 2016_12_07_01_world_335.sql
(cherry picked from commit d29221eda2 )
Fix pch
(cherry picked from commit 643b196180 )
Fix pch - second attempt
(cherry picked from commit c08b11ccef )
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 16cfd59f5b
(partial cherry picked from commit e84dfff4ce )
Core/Auras: fix elixir aura saving
(cherry picked from commit 697147a596 )
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 b52e774ccf )
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 16cfd59f5b )
Add forgotten override.
(cherry picked from commit c6f94ba42e )
Fix non-PCH build.
(cherry picked from commit 02cea9c0ba )
2017-10-15 16:13:44 +02:00
Shauren
b453e12423
Core/Game: Include cleanup part 5
...
* ObjectMgr.h
* Player.h
* Unit.h
* G3D should no longer propagate everywhere from Spline/MotionMaster
2017-06-04 01:00:45 +02:00
Shauren
a0a158b5b8
Core/Scripts: Include cleanup
2017-05-28 16:34:44 +02:00
ariel-
9371c5c7d1
Core/Script: moved SAI to cpp for The Etymidian, closes #17053 ( #17330 )
...
(cherry picked from commit f03dc79959 )
Rename 9999_99_99_99_world.sql to 2016_06_13_04_world.sql
(cherry picked from commit 90ba7fe938 )
2017-01-13 00:56:29 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Naios
5534915f74
Core/Scripts: Split the huge scriptloader into smaller pieces
...
* Each subdirectory contains it's own translation unit now
which is responsible for loading it's directory
* Improves merging & decoupling between 3.3.5 <-> 6.x
* Removes unused Battleground loader
* Ref #15671
2016-02-21 15:36:41 +01:00
Vincent-Michael
478cc756eb
Update copyright note for 2016
...
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Golrag
d999caee67
Core/AreaTrigger: Added 'bool entered' to OnTrigger
2015-04-18 11:22:30 +02:00
Vincent-Michael
ab90f74486
Update copyright note for 2015
...
Happy new year
2015-01-01 00:28:09 +01:00
Intel
5f2b5a325b
Core/DataStores: Updated AreaTrigger.dbc struct
2014-11-06 01:13:06 +02:00
Shauren
034561792c
Core/Entities: Second batch of removing implicit conversions of ObjectGuid to uint64
2014-10-21 20:27:00 +02:00
Shauren
9cc7044546
Core/Entities: First batch of removing implicit conversions of ObjectGuid to uint64
2014-10-21 19:23:32 +02:00
Shauren
48deb443f9
Core/Scripts: Fixed build of misc scripts, only zone_* and instance_* remain
2014-09-15 22:52:09 +02:00
Vincent-Michael
76f1d5f221
SQL: Rename SQL after recent PR merge
2014-09-06 03:09:33 +02:00
jackpoz
6df2ff5efa
Core/Misc: Refactor scripts to fix static analysis warnings
...
Third batch of fixes targeting 100 issues reported by Coverity
2014-09-05 22:44:24 +02:00