Commit Graph

5847 Commits

Author SHA1 Message Date
offl
354a45b09d DB/Creature: Get rid of more Feign Death flags
Ref #25764
2021-08-22 19:18:54 +03:00
jackpoz
b64ef1a39a Scripts/Commands: Fix ".wp show info" showing wrong event chance values 2021-08-21 14:38:27 +02:00
ccrs
b226c88ba2 Revert "Scripts/ICC: add missing break in npc_frostwing_ymirjar_vrykul script"
This reverts commit 31ea74b96e.

They do actually both cast the spell, my mistake
2021-08-20 20:52:42 +02:00
ccrs
31ea74b96e Scripts/ICC: add missing break in npc_frostwing_ymirjar_vrykul script 2021-08-20 20:37:57 +02:00
ccrs
3e886c5561 Scripts/Pet: implement Dance Rune Weapon + minor tweaks to npc_pet_mage_mirror_image script
damage is now halved, years ago it wasn't, so we got that going at least
stat scaling missing - the low damage might even come from this instead of the aura
periodic auras still unknown
2021-08-20 03:41:49 +02:00
ccrs
0bdc55b07c Scripts/Ahnkahet: adjust timer on Conjure Flame Spheres in Prince Taldaram encounter
values sniffed
2021-08-19 19:36:22 +02:00
ccrs
b00486e108 Scripts/Ahnkahet: 57fe05f2 followup
cause staging is hard
2021-08-19 18:43:02 +02:00
ccrs
994227fbb3 Build: fix no-pch build 2021-08-19 18:34:52 +02:00
ccrs
57fe05f270 Scripts/Ahnkahet: rescript Ahn'kahar Spell Flinger SAI + spell scripts + spelldifficulty_dbc entries 2021-08-19 18:20:50 +02:00
Shauren
50ab4254a3 Scripts: Fix warnings introduced in 7360c2d156 2021-08-19 16:28:39 +02:00
ccrs
7360c2d156 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
2021-08-19 03:16:46 +02:00
Shauren
7c7b4760d8 Scripts/Commands: Avoid copies of RBACCommandData
Silences the PVS V1002 warning:
"The 'RBACCommandData' class, containing pointers, constructor and destructor, is copied by the automatically generated copy constructor."
2021-08-16 22:42:23 +02:00
ccrs
f8f50bef50 Scripts/Ahnkahet: small corrections to boss_prince_taldaram script 2021-08-16 02:15:42 +02:00
ccrs
f087850508 Scripts/Ahnkahet: corrections to boss_jedoga_shadowseeker script 2021-08-16 01:51:52 +02:00
Keader
9153ad621e Scripts/Misc: Moved Submerge script to spell_generic 2021-08-15 16:35:59 -03:00
Carbenium
b90a4f1798 Scripts/Commands: Convert argument parsing of instance commands to new system 2021-08-15 19:17:30 +02:00
Keader
bea682f95c Scripts/Spells: Fixed Anti-Magic Zone amount calculation
Spell is casted by a trigger, not a player, so script need get owner instead caster
2021-08-14 21:12:46 -03:00
Keader
8014054ef9 Scripts/Ulduar: Moved UNIT_FLAG_NOT_SELECTABLE to inside XT002 Script
Spell is used for some world quests too
2021-08-14 21:12:46 -03:00
Carbenium
cd1ef2de06 Scripts/Commands: Convert title commands to new system 2021-08-14 14:00:05 +02:00
Jinnaix
6bcda49e98 Core/Script: fix Silithus Wind Stone exploit (#26808)
* Core/Script: fix Silithus Wind Stone exploit

* corrections

Closes #23577
2021-08-14 13:34:51 +02:00
Carbenium
f620befc37 Scripts/Commands: Convert rbac commands to new system
Note: To enable rbac commands for administrators permissions 202-206 have to be linked to permission 196.

Sample SQL for auth DB:
INSERT INTO `rbac_linked_permissions` VALUES (196, 202), (196, 203), (196, 204), (196, 205), (196, 206);
2021-08-14 12:50:18 +02:00
offl
1c174987c8 DB/Quest: Rework 'Relief for the Fallen' (12937) 2021-08-12 21:26:59 +03:00
ccrs
2870a99d1a Scripts/Ahnkahet: corrections to boss_elder_nadox script 2021-08-11 15:18:23 +02:00
offl
2d2b73c905 DB/Quest: Rework 'The Tome of Divinity' (1783,1786) 2021-08-11 00:49:55 +03:00
ccrs
71b5466cd7 Build: fix no-pch build 2021-08-10 14:12:36 +02:00
ccrs
9c7f2544c8 Scripts/Ahnkahet: corrections to npc_amanitar_mushrooms script 2021-08-10 13:17:47 +02:00
offl
8186e6deca Scripts/Spells: Fix support for 'Teleport This!' (10857) (#26789)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-08-10 10:18:28 +02:00
Gildor
c7ae9d761a Scripts/World: improve Training Dummy script (#26778) 2021-08-09 22:36:14 +02:00
Giacomo Pozzoni
0800ab20a8 Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken (#26787)
* Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken

* Update scripts
2021-08-09 17:00:34 +02:00
offl
ec3b571eca Scripts/SWP: Update M'uru to new register model (#26793) 2021-08-09 14:18:24 +03:00
offl
365a95bc94 Scripts/BM: Update scripts to new register model (#26792) 2021-08-09 14:18:12 +03:00
offl
97140cd195 Scripts/BFD: Update scripts to new register model (#26791) 2021-08-09 14:18:02 +03:00
offl
bc26ddaf8c Scripts/Spells: Update quest spell scripts to new register model (#26790) 2021-08-09 14:17:43 +03:00
Gildor
39a1fd4890 Core/Spell: Fix Mage Frostfire bolt, now it will not put target into combat at expire (#26775) 2021-08-08 13:17:00 +02:00
Giacomo Pozzoni
96dc110f4a Core/DBLayer: Add QueueSize() method (#26733)
* Core/DBLayer: Add QueueSize() method

Add QueueSize() method to database objects (Login, Character and World) that returns how many tasks are queued.
Include the queue size of the 3 databases in ".server debug" command

* Make the code less threadsafe

* Send data to InfluxDB

* Update grafana dashboard
2021-07-24 14:50:30 +02:00
Jinnaix
39e1d293bf Game/Event: zone_hellfire_peninsula.cpp (#26724)
* Game/Event: zone_hellfire_peninsula.cpp
Convert script timer into game event

* _events.Reset(); - just in case

* Rename 9999_99_99_99_world.sql to 2021_07_21_03_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-07-21 19:57:01 +02:00
jackpoz
5094363a94 Scripts/Commands: Fix ".server debug" crashing in some special conditions 2021-07-17 16:07:44 +02:00
Giacomo Pozzoni
8c42b3bd88 Core/Pet: Don't allow to tame pets that have already a owner (#26674) 2021-07-17 12:54:29 +02:00
Giacomo Pozzoni
aa7279df09 Core/SAI: Warn when an unused parameter is set in the database (#26628)
* Core/SAI: Warn when an unused parameter is set in the database

* Warn when an unused parameter is set in the database as all unused parameters are supposed to be set to 0.

* Remove unused struct from union.

* Add a new struct simpleTalk for SMART_ACTION_SIMPLE_TALK instead of reusing only some fields of struct talk from SMART_ACTION_TALK

* Add addAura and flag structs to be used instead of generic ones to match the parameters used by actions

* Add randRangeTimedActionList struct to be used instead of generic ones to match the parameters used by actions.

* Remove unused action structs.
2021-07-17 11:22:11 +02:00
offl
863635dbf9 Scripts/Molten Core: Update remaining scripts to new register model (2/2) (#26710) 2021-07-17 02:37:53 +03:00
offl
09da8dae0e Scripts/Molten Core: Update remaining scripts to new register model (1/2) (#26709) 2021-07-17 02:37:43 +03:00
offl
514519d33e Scripts/ToC: Update Twin Val'kyr to new register model (#26708) 2021-07-17 02:37:08 +03:00
offl
d7d27ff95c Scripts/ToC: Update remaining scripts of Beasts of Northrend to new register model (#26707) 2021-07-17 02:36:54 +03:00
offl
60f9847f66 Scripts/ToC: Update Faction Champions to new register model (#26706) 2021-07-17 02:36:38 +03:00
offl
fa85face47 Scripts/ToC: Update Anub'arak to new register model (#26705) 2021-07-17 02:36:29 +03:00
offl
da1b32db8b Scripts/Azjol Nerub: Update Krik'thir to new register model (#26704) 2021-07-17 02:36:03 +03:00
offl
da7dc2f8ad Scripts/Azjol Nerub: Update Hadronox to new register model (#26703) 2021-07-17 02:35:49 +03:00
offl
24bd519f5c Scripts/FoS: Update remaining scripts to new register model (#26700) 2021-07-15 01:55:10 +03:00
offl
f91e6c6b3b Scripts/Ruby Sanctum: Update instance scripts to new register model (#26699) 2021-07-15 01:54:08 +03:00
offl
d7f80132c9 Scripts/Ruby Sanctum: Update Saviana to new register model (#26698) 2021-07-15 01:53:58 +03:00