ModoX
6b96facee3
Core/AI: Remove default arguments for inter-script communication
2024-12-29 00:17:07 +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
ModoX
3f6f683ce4
Core/Waypoints: Drop waypoint_scripts table ( #29437 )
2023-11-24 21:08:00 +01:00
ModoX
caa4cfb569
Core/AI: Move ArcherAI to individual creature script ( #29383 )
2023-11-05 21:14:24 +01:00
Shauren
2e7e49b749
Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses
2023-07-24 10:48:50 +02:00
Teleqraph and Shauren
88ff97c1f9
Core/Units: Added helper functions to modify UNIT_FLAG_UNINTERACTIBLE ( #29159 )
...
Co-authored-by: Shauren <[email protected] >
2023-07-20 19:09:27 +02:00
ModoX
36044a9470
Core/Creature: Added possibility to give creatures multiple gossip menu ids and control them via conditions ( #28159 )
2023-04-05 23:49:46 +02: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
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 900a2f6d88f7676f5053da33d80981297b07ccde)
2022-10-13 12:41:34 +02:00
offl
2102eced8f
Scripts/Quest: Adjustments to Runeforging ( #28115 )
...
(cherry picked from commit 444928f3c5fb51056321c9fe554743e25354de27)
2022-09-05 21:18:21 +02:00
offl
d02989e9e6
Scripts/Quest: Update few quests ( #28108 )
...
(cherry picked from commit 1c96eebcc185026cac4a84875195fb93c0485d08)
2022-09-05 21:01:44 +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 b1a94bf94c500b64a5c4ae92642a95d048d9f392)
2022-06-10 15:16:39 +02:00
offl
cc8a39b42f
DB/Quest: Update 'Into the Realm of Shadows'
...
Closes #27895
(cherry picked from commit f494272e94c5229f2ebf465aae2723961c7f9c4d)
2022-06-10 14:32:31 +02:00
Shauren
b47185cabf
Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
2022-03-27 18:14:47 +02:00
offl
c4906ce60b
Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE ( #26913 )
...
(cherry picked from commit c4741a131a0a28b69c228d3637beab7090e5f1e3)
2022-03-15 23:03:26 +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 0800ab20a8039620fd271a43c173c008af68c22a)
2022-03-12 14:45:04 +01:00
offl
012444ba80
Scripts/Spells: Add comments with id & name of spells part 4
...
(cherry picked from commit e7e47866066f0b318c986c355dc4476b5948e622)
2022-03-10 23:53:31 +01:00
offl
cec9718d22
Scripts/Spells: Add comments with id & name of spells part 2
...
(cherry picked from commit 0e804c95ac1e2ae048682fd3b52a02e8f6a88c82)
2022-03-10 23:13:25 +01:00
offl
f2777596a0
Scripts/Spells: Add comments with id & name of spells part 1
...
(cherry picked from commit 80a4b7f1e2f4baae40f08e87cb8cda0a1db833b9)
2022-03-10 22:41:12 +01:00
Shauren
439b027d48
Core/Misc: Cleanup unused includes
2022-02-13 15:07:00 +01:00
Shauren
8e2d1e328e
Core/Spells: Pass cast item level to triggered spells
...
* Fixes value on trinkets like Ignition Mage's Fuse
2022-02-08 21:36:31 +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
Shauren
0a1acb9c05
Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it
...
(cherry picked from commit 7d4fbf706ae19481468901ccd65c497fcabe56bf)
2022-02-04 00:27:10 +01:00
Peter Keresztes Schmidt
111521d3c9
Scripts/EasternKingdoms: Use std::chrono::duration overloads of EventMap ( #25019 )
...
Contributes to #25012
(cherry picked from commit 5ef576d223db0ac019bd803a07976cdc549a26ac)
2022-01-23 15:41:30 +01:00
Shauren
b4952db464
Core/Units: Named unit flags linked to CreatureDifficulty flags
2022-01-22 13:21:15 +01:00
NoName
959e84e715
Script/ScarletEnclave: Eye of acherus now rooted at spawn ( #24725 )
...
(cherry picked from commit 51b221c8f8c77ca627ac175481758b1dbd30a22e)
2022-01-06 23:31:12 +01:00
ForesterDev
3171cd3fa9
Core/AI: refactor SpellHit and SpellHitTarget. ( #24691 )
...
* Core/AI: refactor SpellHit and SpellHitTarget.
- now caster/target is WorldObject instead of Unit
- remove SpellHitByGameObject / SpellHitTargetGameObject (handled by SpellHit / SpellHitTarget)
- rename parameters in scripts according parent methods
* Restore logic in Algalon script
* Changed check for REMORSELESS_WINTER hit to avoid dublicate call, because it has TARGET_UNIT_CASTER for effects 0/1 and TARGET_GAMEOBJECT_SRC_AREA for effect 2
* Fix build after merge
(cherry picked from commit e3b232fe0e5c21a87d3fe71813e9d750259823f1)
2022-01-06 20:46:25 +01:00
Sorikoff
6dd74533d1
Scripts/Ebon Hold: Improve cosmetics for q. The Gift That Keeps On Giving ( #24223 )
...
* Scripts/Ebon Hold: Improve cosmetics for q. The Gift That Keeps On Giving
* Improve cosmetics for q. The Gift That Keeps On Giving
* Fixes
* Fix
* Rename 9999_99_99_99_world.sql to 2020_03_07_03_world.sql
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit 41d80f2d43863588dc4516ee80579f965b07391b)
2021-12-22 22:36:06 +01:00
Sorikoff
f0f7cecc01
Scripts/Ebon Hold: Massacre At Light's Point ( #24106 )
...
* Scripts/Ebon Hold: Massacre At Light's Point
* Update 9999_99_99_99_world.sql
* Final stuff
* Rename 9999_99_99_99_world.sql to 2020_02_22_00_world.sql
Co-authored-by: Eridium <[email protected] >
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit 0f265b4af6c8c63539deaf781b742a743627206d)
2021-12-22 01:01:58 +01:00
Sorikoff
6433ed6014
Scripts/Spells: Gift of the Harvester ( #24111 )
...
* Scripts/Spells: Gift of the Harvester
* Scripts/Spells: nopch
* Scripts/Spells: nopch
* Scripts/Spells: validate
* Rename 9999_99_99_99_world.sql to 2020_02_01_03_world.sql
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit e10239311c95866f9316521b570f8600c08a2ff5)
2021-12-21 00:48:30 +01:00
Killyana
ac4df1d856
Spell/Script: Fix Prison chain for Unworty Initiate
...
Closes #24089
The spell 54613 is not used in the game
(cherry picked from commit 0ec2a5fd745c7bd12e96f1870689ce52751b467a)
2021-12-20 23:52:52 +01:00
Ovah
04ed6e292c
Scripts/ScarletEnclave: reworked Eye of Acherus script ( #23953 )
...
* updated script model to new standard
* corrected spell usage and timers based on sniff data
* removed hacks
(cherry picked from commit 60763fc5e2d7bb32150d8e03bfd0fb3e7cb890f3)
2021-12-19 01:05:59 +01:00
ForesterDev
4a47e1c6be
Core/Defines: define UNIT_FLAG_SWIMMING ( #23630 )
...
(cherry picked from commit c03c88d0c02c5dda9f14dec1ed151ca30a92118e)
2021-12-18 22:50:52 +01:00
ForesterDev
529ca2dd5d
Scripts/Defines: cleanup some magic numbers in factions ( #23631 )
...
(cherry picked from commit 0c317498a57b3983de61d381d684a77176b281e4)
2021-12-17 20:48:31 +01:00
Wyrserth
f6df334bb6
Script/ScarletEnclave: remove Eye of Acherus control and speed auras from player when the Eye of Acherus is dismissed.
...
(cherry picked from commit bf8741c53d299a1d167354a174f5e40ae1981551)
2021-12-17 00:29:59 +01:00
ccrs
49bc6533fd
Scripts/ScarletEnclave: 4ee84bb followup
...
(cherry picked from commit 81475f709f067eea0437361e7098b7a6b9cf3a26)
2021-12-16 00:11:25 +01:00
ccrs
8c35206bb5
Scripts/ScarletEnclave: 4ee84bb followup
...
(cherry picked from commit fa9a4ee20d6a63f2e99e9feb45cd0ecf83ccc7f5)
2021-12-16 00:10:25 +01:00
Wyrserth
3bb61af113
Script/ScarletEnclave: use spline movement for the lauch phase of the Eye of Acherus.
...
Closes #22802 .
(cherry picked from commit 4ee84bbecbccee2adb093d4c30172edc22ef8499)
2021-12-15 23:39:51 +01:00
Shauren
9951b53808
Core/Misc: Fixed some gcc warnings
2021-12-12 19:19:15 +01:00
Giacomo Pozzoni
5f545f5402
3.3.5 gameobject summoner ( #23289 )
...
* Scripts/Misc: Change IsSummonedBy(Unit*) to IsSummonedBy(WorldObject*)
* Scripts/Misc: Fix build
* Core/TempSummons: Rename GetSummoner() to GetSummonerUnit()
* Core/TempSummons: Add support to TempSummons::GetSummoner() to return GameObject too
* Fix build
* Core/TempSummons: Allow GameObject to be owner of TempSummon
* Core/TempSummons: Add support to SAI for GameObject owner of TempSummon
* Scripts/Misc: Fix no-pch build
* Core/TempSummons: Implement PR comments
(cherry picked from commit 797fba98e95da1236465a15061ec4122d7ec33fe)
2021-12-07 00:02:03 +01:00
Sorikoff
8f0afc81da
Scripts/Scarlet Enclave: Unworthy Initiate ( #23195 )
...
(cherry picked from commit 4468a538ff9bd73ed008864391b0ee4fb3172b9f)
2021-12-02 00:38:42 +01:00
Sorikoff
d72e809ecf
Scripts/Spells: Migrate Some Scripted Spells to Scripts ( #23185 )
...
* Migrate spells to scripts
* Simplify code
* I need to sleep
* Update chapter1.cpp
* Use actual damage
* No need in null check here
(cherry picked from commit 2cfaeb14004cfbb5500855472ad89ab9238df13d)
2021-11-30 22:30:53 +01:00
Sorikoff
956158d299
Core/Movement: Allow using walk when chasing v2 ( #23073 )
...
* Allow walk when chasing
(cherry picked from commit dbadb6369cf0b6d394fffaa1dedc612dfb5cbe2a)
2021-11-24 20:34:54 +01:00
Sorikoff
b3f75852c2
Allow walk when chasing ( #23069 )
...
(cherry picked from commit c2f2db08aa4f729fbd5b21528a215f6df0c131b6)
2021-11-24 00:02:13 +01:00
Sorikoff
ee0662ca3d
Scripts/Scarlet Enclave: Stable Master Kitrik's spell Repo ( #23023 )
...
(cherry picked from commit f0f4d0280daf81a841c30332f608f7acdfb1f374)
2021-11-23 23:04:34 +01:00
Sorikoff
fc9106054b
Scripts/Scarlet Enclave: Grand Theft Palomino ( #22967 )
...
* Grand Theft Palomino
* Cosmetic issues
* Address CR
(cherry picked from commit d5f565f42992d5142b30c7fbd694f8a5b1245f4c)
2021-11-23 21:28:03 +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
Treeston
e4e8c1c59c
Core/AI: Clean up charm AI handling, we now have two unique_ptr instead of a crapton of booleans
...
(cherry picked from commit 042f5515e4f3e52b0d2e23d9b9e147041849ce12)
2021-10-22 23:47:51 +02:00