Commit Graph

5875 Commits

Author SHA1 Message Date
Lucas Nascimento
708db54673 Scripts/Spells: Fixed Life Tap (#27003) 2021-10-09 10:16:55 -03:00
Malcrom
83ae8fc519 Script/World: Brewfest Reveler Script (#27031) 2021-10-08 18:32:31 +02:00
offl
4441d42253 Scripts/Spells: Handle quest tame spells in spell script (#27022) 2021-10-07 16:03:38 +03:00
Aokromes
e8c005df3d Scripts/Misc: Remove again LANG_ADDITEM 2021-10-06 15:58:07 +02:00
Giacomo Pozzoni
e3591b25a5 Scripts/Commands: account onlinelist (#27004)
* Script/Commands: Remove sync db queries from ".account onlinelist"

* Add additional "account onlinelist" commands

- "account onlinelist ip" to filter by ip address
- "account onlinelist limit" to limit the output rows
- "account onlinelist map" to filter by map id
- "account onlinelist zone" to filter by zone id

* Update src/server/scripts/Commands/cs_account.cpp
2021-10-06 11:32:37 +02:00
Giacomo Pozzoni
bebf1876ab Script/Commands: Allow to specify the target player in .additem command (#26997)
* Script/Commands: Allow to specify the target player in .additem command

New syntax: .additem <required item id> <optional item count> <optional player name>
Close #25875

* Move target player to new command ".additem to <player> <item> <count>"
2021-10-06 11:32:07 +02:00
Shauren
c029f21f34 Core/Misc: Fix appleclang 12 warnings
(cherry picked from commit 3bf6698116)

# Conflicts:
#	src/server/game/Handlers/BlackMarketHandler.cpp
#	src/server/game/Loot/LootItemStorage.cpp
#	src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp
#	src/server/shared/DataStores/DB2DatabaseLoader.cpp
2021-10-06 10:34:20 +02:00
Aokromes
a462daa01c Scripts/Misc: Remove 2 logs, they are handled by gm logs 2021-10-05 15:52:33 +02:00
Giacomo Pozzoni
1c1c38ae97 Skip proccing Sheath of Light when at full health (#26987) 2021-10-02 16:33:38 +02:00
Keader
bddf41e718 Scripts/ICC: Implemented spell Dark Reckoning
Closes #26941
2021-09-28 21:48:46 -03:00
offl
5f71c40b96 Scripts/Spells: Mount check aura for Gryphon Hatchling & Wind Rider Cub (#26897)
Closes #26600
2021-09-27 00:41:25 +03:00
offl
e4a82ee97a Core/Misc: Rename UNIT_FLAG_SWIMMING to UNIT_FLAG_CAN_SWIM
Ref #26912
2021-09-16 21:15:52 +03:00
offl
c4741a131a Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE (#26913) 2021-09-15 01:04:03 +03:00
offl
b2fffe674d Scripts/Misc: Remove useless comments & Varos' Centrifuge Shield adjustments 2021-09-14 22:18:30 +03:00
Mikhail Redko
5286ecfca8 Scripts/Spells: Wandering Plague should ignore targets under breakabl… (#26889)
* Scripts/Spells: Wandering Plague should ignore targets under breakable by damage crowd control effects.
Closes TrinityCore#26162
2021-09-11 17:46:16 -03:00
offl
70c3e58327 Scripts/Creature: Update Dancing Flames (#26883) 2021-09-09 23:54:27 +03:00
offl
ff8ddbfd53 Scripts/Spells: Script for 'Injured' (22269) (#26882) 2021-09-09 23:54:05 +03:00
Shauren
325bdc0ab0 Core/Spells: Remove remaining direct accesses to SpellInfo::Effects 2021-09-04 14:21:02 +02:00
offl
0e12e23f77 DB/Creature: Remove remaining non-static flags from DB, finally (#26884) 2021-09-04 02:13:45 +03:00
offl
fd9d04062c DB/GameObject: Update Toy Train Set 2021-08-31 23:51:35 +03:00
Shauren
e50102178b Core/Spells: Spell effect info access refactoring part 3 - removed direct SpellInfo::Effects field access from game 2021-08-31 00:13:44 +02:00
Shauren
7440c9cf19 Core/Spells: Removed SpellEffIndex effIndex argument from spell effect handlers 2021-08-30 23:51:37 +02:00
Keader
1fd95cef7c Scripts/Black Temple: Removed Illidari Council Enconter Frame 2021-08-29 17:09:48 -03:00
Shauren
6573395f24 Core/Spells: Spell effect info access refactoring part 2 - passing SpellEffectInfo as arguments directly instead of SpellInfo + effect index 2021-08-29 21:12:49 +02:00
ccrs
505e91a016 Scripts/VioletHold: f661bc6 follow-up - remove remnants of SetVisible calls from npc_sinclari_vh 2021-08-29 13:42:51 +02:00
ccrs
4c0ff09171 Scripts/VioletHold: corrections to violet_hold_trashAI to prevent trash npcs being stuck in place forever if SPELL_DESTROY_DOOR_SEAL is no longer being casted for w/e reason 2021-08-29 13:33:45 +02:00
offl
afafff57a8 DB/Quest: Rework 'Bitter Departure' (12832) 2021-08-24 23:27:14 +03:00
offl
2f02c2fb86 DB/Creature: Get rid of more flags
Ref #25764
2021-08-23 00:08:36 +03:00
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