offl
3b863f6a20
Scripts/BRS: Update scripts to new model (3/3) ( #26418 )
...
Co-authored-by: offl <offl@users.noreply.github.com >
2021-04-15 14:20:51 +02:00
offl
0fc3a05d3c
Scripts/BRS: Update scripts to new model (2/3) ( #26417 )
...
Co-authored-by: offl <offl@users.noreply.github.com >
2021-04-15 14:20:20 +02:00
offl
747333149d
Scripts/BRS: Update scripts to new model (1/3) ( #26416 )
...
Co-authored-by: offl <offl@users.noreply.github.com >
2021-04-15 14:19:16 +02:00
offl
62594c62f6
Scripts/Misc: Let core take care of Feign Death related flags
2021-03-12 18:06:10 +02:00
Shauren
a34519bded
Core/Units: Renamed unknown unit flag (UNIT_FLAG_UNK_29 -> UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT)
2021-03-02 23:11:49 +01:00
offl
3cb70ee62a
Core/Scripts: Move some speed values & UNIT_FLAG_NOT_SELECTABLE to DB
2021-02-04 15:11:22 +02:00
offl
1ed79d7a2e
Core/Scripts: Verify & migrate spell school immunities to DB
...
Some already are stored in DB. Looks like they all are still valid for master
2021-01-26 23:43:50 +02:00
Giacomo Pozzoni
661f554b9e
Core/Misc: Fix static analysis issues ( #25924 )
...
* Core/Misc: Fix static analysis issues
* Fix infinite loop in ".debug send opcode"
Fix using uninitialized memory in ".debug send opcode"
2021-01-24 16:04:47 +01:00
offl
7b79adf5b1
DB/Creature: Remove UNIT_FLAG_STUNNED in more cases
...
Ref #25764
2021-01-15 01:53:43 +02:00
Kargatum
a32b6b8ac4
Core: whitespace cleanup, reduce double blank line to single ( #25795 )
...
* Core/Misc: fix double empty line
* worldserver.conf
2021-01-03 11:47:07 +01:00
Ovah
850b88546f
Scripts/Misc: Use InstanceMap* in InstanceScript instead of Map* ( #25655 )
...
# Conflicts:
# src/server/game/Instances/InstanceScript.cpp
# src/server/game/Instances/InstanceScript.h
# src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockCaverns/instance_blackrock_caverns.cpp
# src/server/scripts/EasternKingdoms/MagistersTerrace/instance_magisters_terrace.cpp
# src/server/scripts/EasternKingdoms/TheStockade/instance_the_stockade.cpp
# src/server/scripts/EasternKingdoms/ZulGurub/instance_zulgurub.cpp
# src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp
# src/server/scripts/Maelstrom/Stonecore/instance_stonecore.cpp
# src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2020-11-17 19:45:13 +01:00
Keader
3c201b7554
Scripts/ScarletMonastery: Decrease boss number
...
Headless Horseman do not use BossAI anymore (since it can be done multiple times)
2020-10-28 11:59:41 -03:00
Keader
a93abcf803
Scripts/ScarletMonastery: Headless Horseman Rewrite ( #25614 )
2020-10-26 14:04:36 -03:00
Trond B. Krokli
22a1797731
Scripts/Stormwind City: Tyrion talks to player ( #25613 )
...
Add player parameter to the `Talk()` command to resolve an issue where
the creature_text `SAY_TYRION_1` shows $n in-game during the course of
events of the quest "The Attack!" in Stormwind City.
Soon to be replaced by SAI scripting. This is a temp solution.
Ref. #25608 & #24735
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
2020-10-25 10:10:07 +01:00
offl
8c303e4f97
DB/Quest: Convert & update Homing Robot chickens to SAI
...
Closes #25239
2020-09-12 22:18:32 +03:00
Maks Szokalski
41188eb535
Add "On" to some gossip methods in AI ( #25415 )
...
* Add "On" to some methods
* Update npc_innkeeper.cpp
* Update zone_borean_tundra.cpp
2020-09-10 16:57:11 +02:00
NoName
dad187615d
Core/Movement: Corrected Animation Tier handling (PR #24875 )
...
Co-authored-by: Warpten <vertozor@gmail.com >
Co-authored-by: Ovahlord <dreadkiller@gmx.de >
Co-authored-by: Carbenium <carbenium@outlook.com >
2020-09-08 17:12:52 +02:00
Treeston
0c7f6ac89f
Scripts/AreaTrigger: Rename OnlyOnceAreaTriggerScript::_OnTrigger to TryHandleOnce, and make its return value useful.
2020-09-07 18:25:49 +02:00
Shauren
7d4fbf706a
Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it
2020-08-20 16:03:47 +02:00
Peter Keresztes Schmidt
6c7837f947
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
2020-08-15 15:29:43 +02:00
Aokromes
681c738c61
Script/Quest: The Light of Dawn ( #25243 )
...
remove incorrect check, source:
https://www.wowhead.com/spell=53606/the-light-of-dawn
Flags
Can be used while dead
https://www.wowhead.com/quest=12801/the-light-of-dawn#comments:id=1495830
https://www.wowhead.com/quest=12801/the-light-of-dawn#comments:id=374127
2020-08-15 11:10:47 +02:00
Jinnaix
de56ed8736
Scripts/BlackwingLair: Suppression Device Room (PR #25199 )
...
Co-authored-by: offl <11556157+offl@users.noreply.github.com >
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-authored-by: Treeston <treeston.mmoc@gmail.com >
2020-08-08 00:27:16 +02:00
Giacomo Pozzoni
07fd84b679
Core/Misc: Fix static analysis issues ( #25194 )
2020-08-04 11:36:47 +02:00
Peter Keresztes Schmidt
c88234727b
Scripts/MoltenCore: Update Golemagg encounter to current coding standards ( #25183 )
...
* Scripts/MoltenCore: Update Golemagg to current coding standards
* no functional changes
* Scripts/MoltenCore: Update Core Ranger to current coding standards
* no functional changes
2020-08-01 23:12:54 +02:00
Carbenium
799d5376d8
Scripts/AV: Update Vanndar's script to use TaskScheduler
...
* No functional changes
2020-08-01 21:13:30 +02:00
Carbenium
228696bf80
Core/Common: Merge TimeTrackerSmall with TimeTracker
2020-08-01 12:43:55 +02:00
Carbenium
e55516348d
Core/Common: Add a std::chrono interface to TimeTrackerSmall
...
New methods:
TimeTrackerSmall(Milliseconds expiry);
void Update(Milliseconds diff);
void Reset(Milliseconds expiry)
Milliseconds GetExpiry() const
Removed methods:
int32 GetExpiry() const
Also add basic unit tests.
Core/Scripts: Use std::chrono interface of TimeTrackerSmall
2020-08-01 12:43:55 +02:00
Giacomo Pozzoni
7cf122fc2a
Core/Misc: Fix static analysis issues ( #25178 )
2020-07-31 22:53:13 +02:00
Jinnaix
e3aa87641f
Scripts/BlackrockSpire: Fix encage event of Pyroguard encounter ( #25177 )
2020-07-31 13:58:26 +02:00
Somebody
81f3ed1d0c
Scripts/Deadmines: Doors after Rhahk'Zor, Sneed and Gilnid ( #25107 )
...
* Fix doors opening after killing Sneed and Gilnid in the Deadmines dungeon
* Add SQL file
* Update 2020_99_99_00_world.sql
SQL conventions
* Change SAI door opening into C++ door opening and make it use SetBossState.
* Delete 2020_99_99_00_world.sql
Replaced by different sql file
* Make CircleCI happy
* Change const to constexpr for EncounterCount variable
* Update src/server/scripts/EasternKingdoms/Deadmines/deadmines.h
Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com >
* Update src/server/scripts/EasternKingdoms/Deadmines/deadmines.h
Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com >
* Rename 9999_99_99_00_world.sql to 2020_07_30_00_world.sql
Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com >
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
2020-07-30 14:14:08 +02:00
Carbenium
1245833cdd
Core/CreatureAI: std::chrono-ify DoSummon* methods
2020-07-28 17:25:51 +02:00
Carbenium
8642aaaf92
Core/WorldObject: Replace non-std::chrono SummonGameObject overloads
...
Also fix intended despawn time of GOs used by the "Engineering a Disaster" quest
2020-07-27 23:00:51 +02:00
Carbenium
3620b47c41
Core/WorldObject: Replace non-std::chrono SummonTrigger overloads
2020-07-27 14:58:18 +02:00
Carbenium
a41f599be7
Core/WorldObject: Remove non-std::chrono SummonCreature overload
...
Remove
TempSummon* SummonCreature(uint32 entry, Position const& pos, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0, uint32 vehId = 0, uint32 spellId = 0);
2020-07-27 14:53:25 +02:00
Carbenium
92a02a5c87
Core/EventProcessor: std::chrono-ify CalculateTime
...
uint64 CalculateTime(uint64 t_offset) has been replaced with Milliseconds CalculateTime(Milliseconds t_offset).
Also add the std::chrono-ified overload void AddEvent(BasicEvent*, Milliseconds, bool)
2020-07-27 13:36:25 +02:00
Carbenium
1131229ee9
Core/WorldObject: Partially std::chrono-ify SummonCreature overloads
...
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0);
to
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime = 0s);
2020-07-26 23:30:32 +02:00
Carbenium
d1a39a2ebf
Scripts/EasternKingdoms: Use std::chrono overload of Creature::DespawnOrUnsummon
2020-07-26 22:12:24 +02:00
Carbenium
f5076112cb
Core/ScriptedAI: std::chrono-ify DoSpawnCreature
2020-07-25 23:16:04 +02:00
Carbenium
d7ff8c272a
Core/InstanceScript: std::chrono-ify DoRespawnGameObject
2020-07-25 23:10:14 +02:00
Peter Keresztes Schmidt
e6e5775be8
Build: Enable -Wimplicit-fallthrough on clang ( #25056 )
...
* Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs
Related: #25006
* Misc: Add some missing breaks (no-ops) to satisfy clang
Related: #25006
Closes #25055
* Build: Enable -Wimplicit-fallthrough on clang
Closes #25006
2020-07-18 20:43:16 +02:00
Peter Keresztes Schmidt
88314660b6
Scripts/Magisters Terrace: Use std::chrono::duration overloads of EventMap ( #25038 )
...
Contributes to #25012
2020-07-14 20:47:10 +02:00
Peter Keresztes Schmidt
5ef576d223
Scripts/EasternKingdoms: Use std::chrono::duration overloads of EventMap ( #25019 )
...
Contributes to #25012
2020-07-14 19:10:30 +02:00
Peter Keresztes Schmidt
ac27c922d1
Scripts/Blackrock Mountain: Use std::chrono::duration overloads of EventMap ( #25018 )
...
Contributes to #25012
2020-07-14 19:05:24 +02:00
Giacomo Pozzoni
203573db83
Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT. ( #23 ) ( #24997 )
...
* Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT. (#23 )
Original research by @xvwyh.
# Conflicts:
# src/server/game/DataStores/DBCStores.cpp
# src/server/game/DataStores/DBCStructure.h
# src/server/game/DataStores/DBCfmt.h
# src/server/game/Entities/GameObject/GameObject.h
# src/server/game/Entities/GameObject/GameObjectData.h
# src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
# src/server/scripts/Kalimdor/HallsOfOrigination/boss_temple_guardian_anhuur.cpp
* Add missing sql update
* Fix some build errors
* Remove unused enum values
* Change artkits from 0-4 to 0-3
* Remove unused code
* Code review feedback
* Fix sql
* Remove artkit4 special case handling
* Default initialize artKits
* Code review feedback
* Split sql into structure and data files
Co-authored-by: Warpten <vertozor@gmail.com >
2020-07-14 09:34:03 +02:00
Peter Keresztes Schmidt
c92950b3e1
Core/DataStores: Update DBC field names to generated ones ( #24999 )
2020-07-12 15:36:55 +02:00
genion18
32aebc14ab
DB/Quest: Rumors for Kravel outro event
...
Closes #24835
2020-06-29 01:32:49 +02:00
offl
eea3cf1401
DB/Quest: Convert & update support for 'Escorting Erland' to SAI
...
Closes #24834
2020-06-29 01:24:45 +02:00
offl
fb58ca0bf5
DB/Quest: Convert & update support for 'Pyrewood Ambush' to SAI
...
Closes #24833
2020-06-29 01:11:10 +02:00
offl
f621173748
DB/Quest: Convert Galen's Escape to SAI
...
Closes #23684
2020-06-26 16:05:08 +02:00
NoName
51b221c8f8
Script/ScarletEnclave: Eye of acherus now rooted at spawn ( #24725 )
2020-06-21 12:56:41 +02:00