Commit Graph
332 Commits
Author SHA1 Message Date
ModoX 6b96facee3 Core/AI: Remove default arguments for inter-script communication 2024-12-29 00:17:07 +01:00
Ovahlord 11f32a2427 Core/Creatures: moved combat pulse into heartbeat handling and implemented CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT (#29946) 2024-04-28 16:09:43 +02:00
Shauren 605e5f94c0 Core/Creatures: Moved autoattack handling from scripts to game 2024-01-08 22:23:12 +01:00
ModoX 0e2f041728 Core/InstanceScript: Refactored door types to reflect its behavior (#29406) 2023-11-06 00:11:42 +01:00
Shauren e9b0d347a4 Core/Spells: Store BasePoints as float in SpellEffectInfo 2023-11-03 10:38:43 +01:00
Shauren 98007f859b Core/Misc: Turn ChrSpecialization into enum class 2023-08-07 00:05:36 +02:00
Nyr d2784d4c65 Core/Misc: Move TalentSpecialization together with other db2 enums and rename it to ChrSpecialization 2023-08-07 00:05:36 +02:00
Shauren 054723241e Core/Misc: Reduce number of player spec hardcoded checks 2023-08-07 00:05:36 +02:00
Shauren 2e7e49b749 Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses 2023-07-24 10:48:50 +02:00
TeleqraphandShauren 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
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 3df16c12b7 Core/Scripts: Move EvadeReason outside of CreatureAI class 2023-01-19 21:23:06 +01:00
Shauren d8a4668c77 Core/Misc: Add missing Containers.h include where neccessary 2023-01-06 16:44:11 +01:00
Shauren c3f385c48f Core/Phasing: Reduce differences between branches in GridNotifiers 2022-12-25 00:44:12 +01:00
Shauren 46e0056196 Scripts/Instances: Add dungeon encounter data 2022-10-04 00:19:38 +02:00
Shauren 76be303351 Core/Scripts: Save instance data in JSON format 2022-10-04 00:19:38 +02:00
Shauren 1c62b0b90f Scripts/Instances: Replace manual criteria timer starts in instances with new GameEvents api 2022-04-24 13:58:18 +02:00
Shauren e1abd8256b Core/Achievements: Implemented criteria flag "Reset on Start" and removed manual script workarounds for it 2022-04-24 12:36:28 +02:00
Shauren b47185cabf Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag 2022-03-27 18:14:47 +02:00
offl d86bc562cb Scripts/Misc: Adjustments to previous fixes (#27821)
(cherry picked from commit 9ee6f4fb115d177d907ab48a9f9c5f39ba239046)
2022-03-26 15:20:10 +01:00
offl 00f002b68c Scripts/Spells: Script A Mysterious Voice from Ahn'kahet (#27779)
Closes #25683

(cherry picked from commit 75db924e91ec52661151040bf2aa8f69a312238a)
2022-03-26 15:01:35 +01: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
ccrs 1e9327d92c Scripts/Ahnkahet: adjust timer on Conjure Flame Spheres in Prince Taldaram encounter
values sniffed

(cherry picked from commit 0bdc55b07c9b0d26cd3609ac7313564b7a91efbf)
2022-03-13 16:32:25 +01:00
ccrs f097b8ab74 Scripts/Ahnkahet: 57fe05f2 followup
cause staging is hard

(cherry picked from commit b00486e1086688f4a4b3d5417e10e7669bec1070)
2022-03-13 16:21:10 +01:00
ccrs c92003b0ab Build: fix no-pch build
(cherry picked from commit 994227fbb39c940511b1b31b18747b0ff596d7ec)
2022-03-13 16:20:45 +01:00
ccrs ec70cff006 Scripts/Ahnkahet: rescript Ahn'kahar Spell Flinger SAI + spell scripts + spelldifficulty_dbc entries
(cherry picked from commit 57fe05f270ec150b05e101f1325d3b27e2e5a655)
2022-03-13 16:19:47 +01:00
Shauren 9d437961a2 Scripts: Fix warnings introduced in 7360c2d1567be05f81bdb51d0b74f5fd4e263d6a
(cherry picked from commit 50ab4254a3a4d1131859e0304d473b587a4886f1)
2022-03-13 14:27:30 +01:00
ccrs eff9b5042d Scripts/Ahnkahet: implement Herald Volazj's Twisted Visage AI + small corrections to Herald's own AI
sorry about indentation
timers are guessed
summoning logic unchanged, remains not blizzlike
visage's spells missing spelldifficulty_dbc entries

(cherry picked from commit 7360c2d1567be05f81bdb51d0b74f5fd4e263d6a)
2022-03-13 14:15:01 +01:00
ccrs e1115e30c2 Scripts/Ahnkahet: small corrections to boss_prince_taldaram script
(cherry picked from commit f8f50bef50d34245e86f016bf99132812b57e38f)
2022-03-13 00:23:10 +01:00
ccrs a0736c4544 Scripts/Ahnkahet: corrections to boss_jedoga_shadowseeker script
(cherry picked from commit f087850508a74b9dcdacb8ec5e8d59216faddfa3)
2022-03-13 00:22:28 +01:00
ccrs de72593821 Scripts/Ahnkahet: corrections to boss_elder_nadox script
(cherry picked from commit 2870a99d1af3d440381b21266aaaa2d3916a5263)
2022-03-12 15:37:10 +01:00
ccrs a13def29e8 Build: fix no-pch build
(cherry picked from commit 71b5466cd723d74e7813ce4ae7cb772632723cdf)
2022-03-12 14:49:07 +01:00
ccrs 51d842a8bd Scripts/Ahnkahet: corrections to npc_amanitar_mushrooms script
(cherry picked from commit 9c7f2544c872d820fbf649c2d5d509f04f38a899)
2022-03-12 14:48:45 +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 e01a432fb1 Scripts/Azjol Nerub: Update Krik'thir to new register model (#26704)
(cherry picked from commit da1b32db8b1cd4c2ef6fba0fa4949bde0e3b7091)
2022-03-11 17:37:17 +01:00
offl a4843f65a2 Scripts/Azjol Nerub: Update Hadronox to new register model (#26703)
(cherry picked from commit da7dc2f8ad8425565d48a2fbc3dd923b09359db6)
2022-03-11 17:37:09 +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
offl b8dab39d5c Scripts/Azjol-Nerub: Preparing for updating to new model (#26425)
(cherry picked from commit 4ee6b67a84afb62b7c4b93e754b0dc5dd1ef8670)
2022-03-08 22:43:00 +01:00
offl 20b2032845 Scripts/Ahn'kahet: Update Taldaram to new model (#26415)
Co-authored-by: offl <[email protected]>
(cherry picked from commit ae7dd5bd18536648d319186cdde071414059c4e8)
2022-03-08 22:33:34 +01:00
offl 8f069e197f Scripts/Ahn'kahet: Update Nadox to new model (#26414)
Co-authored-by: offl <[email protected]>
(cherry picked from commit 576befdc07ee4647ae052f070ca06e9f7e7fc656)
2022-03-08 22:32:32 +01:00
offl f87aa64a14 Scripts/Ahn'kahet: Herald Volazj texts (#26202)
Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 1a624cad36f3067481ca54563a322cb85f90ad11)
2022-03-07 20:59:28 +01:00
Kargatum 373ed8f46b Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf

(cherry picked from commit a32b6b8ac4c81128a56b282f20837fb085bdd9e7)
2022-03-05 20:07:57 +01:00
Shauren 439b027d48 Core/Misc: Cleanup unused includes 2022-02-13 15:07:00 +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
NoName ee620856ad Core/Movement: Corrected Animation Tier handling (PR #24875)
Co-authored-by: Warpten <[email protected]>
Co-authored-by: Ovahlord <[email protected]>
Co-authored-by: Carbenium <[email protected]>
(cherry picked from commit dad187615df603ad8614531a0ec84c1a5e136838)
2022-02-05 15:40:31 +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
Carbenium c302ace100 Scripts/AzjolNerub: Fix potential error in pound spell script
Cast damage spell in AfterEffectApply instead OnEffectHitTarget. This avoids the scenario where we try to apply an aura to a potential dead target.

Ref #21856

(cherry picked from commit 0dd4b685df53d9b61a53aaf3a577c2a9ed8cdd47)
2022-01-26 14:37:05 +01:00
Peter Keresztes Schmidt 43591bb4d5 Scripts/AzjolNerub: Update Anub'Arak encounter to current coding standards (#25192)
* Scripts/AzjolNerub: Update Anub'Arak to current coding standards

* no functional changes

* Scripts/AzjolNerub: Update Anub'Arak Darter to current coding standards

* no functional changes

* Scripts/AzjolNerub: Update Anub'Arak Assassin to current coding standards

* no functional changes

* Scripts/AzjolNerub: Update Anub'Arak Guardian to current coding standards

* no functional changes

* Scripts/AzjolNerub: Update Anub'Arak Venomancer to current coding standards

* no functional changes

* Scripts/AzjolNerub: Update Anub'Arak Impale Target to current coding standards

* Scripts/AzjolNerub: Update Anub'Arak Pound spell to current coding standards

* Scripts/AzjolNerub: Update Anub'Arak carrion beetles aura script to current coding standards

(cherry picked from commit dab8768c183dc43f970187a65961fc8fce647c29)
2022-01-24 22:32:11 +01:00