Kitzunu
f0e6b0f1ab
chore(Core/GameObjectAI): Cleanup register macro ( #19409 )
2024-07-17 00:17:49 +02:00
Kitzunu
2008d64e7b
fix(Scripts/Commands): Ticket response ( #19406 )
...
* fix(Scripts/Commands): Ticket response
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/19390
* Implements two new commands
* ticket response delete - Delete a ticket response
* ticket response show - Show current ticket response
* this better
* English?
* bette rlogic
* Update cs_ticket.cpp
2024-07-16 03:22:23 +02:00
avarishd
e92a5829a0
fix(Scripts/ZG): Jin'do using wrong hex spell ( #19389 )
2024-07-14 13:24:23 -03:00
Benjamin Jackson
05f4fa1a35
fix(Core/Unit): Adjust melee attack stop logic. ( #19397 )
...
Init.
2024-07-14 12:31:40 -03:00
Gultask
8eb7b24670
fix(Scripts/Netherstorm): Rewrite Phase Hunter AI ( #19401 )
...
* Update zone_netherstorm.cpp
* Update zone_netherstorm.cpp
* db
2024-07-14 12:27:32 -03:00
sudlud
7b8e2514bf
fix(Scripts/Midsummer): correctly despawn gameobjects ( #19387 )
2024-07-14 12:24:06 -03:00
avarishd
c3d98054dd
fix(Core/Spells): BT - Summon Shadowfiens should spawn 11, instead of 1 ( #19391 )
...
* fix(Core/Spells): BT - Summon Shadowfiens should spawn 10, instead of 1
* Revert "fix(Core/Spells): BT - Summon Shadowfiens should spawn 10, instead of 1"
This reverts commit e5040484b6bf1bce9343b5d2fae0b24057eeaf7f.
* 39649
* spellscript
* should summon 11
* Validate
2024-07-14 12:22:24 -03:00
avarishd
f109768665
fix(Scripts/TK): KT Mindcontrol should respect Line of Sight ( #19398 )
2024-07-14 05:41:10 -03:00
Jelle Meeus
a69d02e513
fix(Scripts/Spells): warlock demonic pact ( #19386 )
...
* add Demonic Pact Aura script
2ff855054f (diff-ea612aafadff90005e88b243eb000369be9e5cb6f8dc85a008d31e42b156e0ec)
Co-authored-by: ariel- <ariel-@users.noreply.github.com >
* spell_warlock aura:spell_warl_demonic_pact_aura
* fixup! spell_warlock aura:spell_warl_demonic_pact_aura
* remove not needed spell correction, flag is already set
* subtract current proc bonus before calculating new bonus
* also increase healing done
* remove Demonic Pact handling in Unit
* refactor indent, remove bonus from spell group effects e.g. totem of wrath
* Revert "refactor indent, remove bonus from spell group effects e.g. totem of wrath"
This reverts commit 104041172d34f542cc934e9f468407c36912cc7f.
* refactor indent
* manually set proc cooldown
---------
Co-authored-by: ariel- <ariel-@users.noreply.github.com >
2024-07-13 12:38:59 -03:00
Benjamin Jackson
c7d086862a
fix(Scripts/HyjalSummit): Adjust Azgalor's Rain of Fire timings. ( #19393 )
...
* Init.
* Bad number.
2024-07-12 20:07:25 -03:00
Benjamin Jackson
70eb920b10
feat(Core/Unit): Implement munching as a configurable option. ( #19188 )
...
* Init.
* Correct description.
* Adjust boolean to integer in config.
2024-07-10 12:26:53 -03:00
Kitzunu
793f87fd61
fix(Core/GameObject): Use correct spell at meeting stone ( #19311 )
...
* fix(Core/GameObject): Use correct spell at meeting stone
* cleanup
2024-07-09 19:39:58 -03:00
Andrew
6b50570247
refactor(Scripts/BlackTemple): Update Mother Sharahz script ( #19378 )
...
* refactor(Scripts/BlackTemple): Update Mother Sharahz script
* Update boss_mother_shahraz.cpp
2024-07-09 18:56:13 -03:00
avarishd
7d08758f1f
fix(Core/Totem): Totems shouldn't be immune to intervene. ( #19372 )
...
* fix(Core/Totem): Totems shouldn't be immune to intervene
* cs is my enemy
2024-07-09 14:39:05 -03:00
Francesco Borzì
4040f93f85
refactor(Scripts/Commands): remove unused imports ( #19340 )
...
* refactor(Scripts/Commands): remove unused imports
* chore: fix build
* chore: revert unwanted change
2024-07-09 14:17:06 -03:00
Jelle Meeus
ee4d728573
fix(Core/Pets): Correct Pet size for pets 3 ( #19319 )
...
* revert
* override maxScale for some families
add more families
sort
* add turtle
2024-07-09 14:16:30 -03:00
Benjamin Jackson
ccf5f06128
fix(Scripts/HyjalSummit): Correct Soul Charge color assignments. ( #19345 )
...
Init.
2024-07-09 14:15:34 -03:00
Jelle Meeus
2763625498
refactor(Scripts/Northrend): spell scripts registry macros ( #19346 )
...
* zone_sholazar_basin spell:spell_q12726_song_of_wind_and_water
* zone_sholazar_basin spell:spell_q12620_the_lifewarden_wrath
* zone_sholazar_basin spell:spell_q12589_shoot_rjr
* zone_sholazar_basin spell:spell_shango_tracks
* zone_borean_tundra aura:spell_q11919_q11940_drake_hunt_aura
* zone_borean_tundra spell:spell_arcane_chains_character_force_cast
* zone_borean_tundra spell:spell_q11719_bloodspore_ruination_45997
* isle_of_conquest aura:spell_ioc_repair_turret_aura
* isle_of_conquest spell:spell_ioc_bomb_blast_criteria
* isle_of_conquest spell:spell_ioc_gunship_portal
* isle_of_conquest aura:spell_ioc_parachute_ic_aura
* isle_of_conquest spell:spell_ioc_launch
* zone_dragonblight spell:spell_q12478_frostmourne_cavern
* zone_dragonblight aura:spell_q12243_fire_upon_the_waters_aura
* zone_dragonblight spell:spell_q24545_aod_special
* zone_dragonblight spell:spell_q12096_q12092_dummy
* zone_dragonblight spell:spell_q12096_q12092_bark
* zone_storm_peaks aura:spell_q13003_thursting_hodirs_spear_aura
* zone_storm_peaks spell:spell_q13007_iron_colossus
* zone_storm_peaks aura:spell_close_rift_aura
* zone_wintergrasp spell:spell_wintergrasp_force_building
* zone_wintergrasp spell:spell_wintergrasp_create_vehicle
* zone_wintergrasp spell:spell_wintergrasp_rp_gg
* zone_wintergrasp spell:spell_wintergrasp_portal
* zone_wintergrasp spell:spell_wintergrasp_water
* zone_wintergrasp aura:spell_wintergrasp_hide_small_elementals_aura
* zone_wintergrasp spell:spell_wg_reduce_damage_by_distance
* zone_icecrown spell:spell_switch_infragreen_bomber_station
* zone_icecrown pair:spell_charge_shield_bomber
* zone_icecrown spell:spell_fight_fire_bomber
* zone_icecrown spell:spell_anti_air_rocket_bomber
* zone_icecrown spell:spell_onslaught_or_call_bone_gryphon
* zone_grizzly_hills spell:spell_shredder_delivery
* zone_grizzly_hills aura:spell_infected_worgen_bite_aura
* zone_grizzly_hills spell:spell_vehicle_warhead_fuse
* zone_grizzly_hills spell:spell_warhead_detonate
* zone_grizzly_hills aura:spell_z_check_aura
* zone_grizzly_hills aura:spell_warhead_fuse_aura
* fixup! zone_icecrown pair:spell_charge_shield_bomber
2024-07-09 13:07:41 -03:00
Gultask
02104ca89b
fix(Scripts/AuchenaiCrypts): Remove double scheduling of Carnivorous Bite ( #19353 )
...
Update boss_shirrak_the_dead_watcher.cpp
2024-07-09 13:05:09 -03:00
sudlud
37e3d89f91
fix(CI): linux-build: add -Werror parameter ( #19240 )
...
* fix(CI): linux-build: add -Werror parameter
* add KI
tzunu
* Revert "feat(CI): enable fail-fast for pch/nopch (#19058 )"
This reverts commit 564cbca7d3 .
* Update midsummer.cpp - drop unused variable
* initialize variable
* Update core-build-nopch.yml - drop gcc12
* fix(Core/CalendarMgr): do not use element after delete, but before
* attempt to fix Socket.h error
* Revert "attempt to fix Socket.h error"
This reverts commit c1a59145ed3c49d0f76be2f81925434ea969db97.
* fix Socket.h error - attempt 2
* Update Socket.h
* Update Socket.h
* npc_shattrath_daily_quest: init variable templateID
* fix(Scripts/Karazhan): use size_t within loop in boss_shade_of_aran:Reset()
* boss_archimonde: drop unused variable
* Revert "fix(Scripts/Karazhan): use size_t within loop in boss_shade_of_aran:Reset()"
This reverts commit 1f71aaef256990c5cdc16561676be302c954ea9d.
* SmartScripts: SMART_TARGET_RANDOM_POINT: fix unintended fallthrough
* Revert "Revert "feat(CI): enable fail-fast for pch/nopch (#19058 )""
This reverts commit d13df293624e0f50d9374272bfd05ab56242511d.
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2024-07-07 22:00:24 +02:00
Kitzunu
f41b80ddf1
fix(Build): -Wsign-compare ( #19320 )
2024-07-07 20:02:31 +02:00
avarishd
3db58e7086
fix(Core/Spells): Greater Fireball should ignore resistances ( #19326 )
...
* fix(Core/Spells): Greater Fireball should ignore resistances
* SPELL_ATTR4_IGNORE_ALL_RESISTANCES
* Revert "SPELL_ATTR4_IGNORE_ALL_RESISTANCES"
This reverts commit 2480fac3d5b295121a79989b4257ab990fd90f5e.
2024-07-07 18:59:59 +02:00
Gultask
8279d9c272
fix(Scripts/HyjalSummit): Rage Winterchill Spells ( #19335 )
...
Update boss_rage_winterchill.cpp
2024-07-07 13:48:24 -03:00
Benjamin Jackson
d0cd435807
fix(Scripts/HyjalSummit): Add damage over time component to Doomfire debuff. ( #19317 )
...
* Init.
https: //github.com/mangostwo/server/commit/6a2e23cac09a88d7ec1221393ba96482d71187f6
Co-Authored-By: Miroslav Drbal [ApoC] <apoc@nymfe.net >
* Don't forget the query.
* Add spell attribute.
* Adjust tick script.
More dynamically calculates damage from ticks.
Co-Authored-By: avarishd <46330494+avarishd@users.noreply.github.com >
* Remove unnecessary `aurEff`
Co-Authored-By: avarishd <46330494+avarishd@users.noreply.github.com >
* #include
---------
Co-authored-by: Miroslav Drbal [ApoC] <apoc@nymfe.net >
Co-authored-by: avarishd <46330494+avarishd@users.noreply.github.com >
2024-07-06 20:02:35 +02:00
Kitzunu
ebf5f6710a
feat(Core/Chat): Provide a fully-formed protocol for addons to intera… ( #19305 )
...
* feat(Core/Chat): Provide a fully-formed protocol for addons to interact with GM commands
* Send success/fail state, allow interleaving, and indicate end of output. Add framework for supporting non-human-readable output in commands.
* cherry-pick commit (508c9d2fc1 )
This PR implements a well-formed protocol for addons to communicate with the server, outlined below:
- All communication happens over the addon channel (`LANG_ADDON` in terms of the core, `CHAT_MSG_ADDON`/`SendAddonMessage` for the client). The prefix used for all messages is `AzerothCore` (in client terms - in core terms, every message starts with `AzerothCore\t`).
- In each message, the first character is the opcode. The following four characters are a unique identifier for the invocation in question, and will be echoed back by the server in every message related to that invocation. Following is the message body, if any.
- The following opcodes are supported:
- Client to server:
- `p` - Ping request. The core will always respond by ACKing with the passed identifier. No body.
- `i` or `h` - Command invocation. The message body is the command text without prefix. `i` requests machine-readable output, `h` requests human-readable.
- Server to client:
- `a` - ACK. The first message sent in response to any invocation (before any output). No body.
- `m` - Message. Sent once per line of output the server generates. Body = output line.
- `o` - OK. Indicates that the command finished processing with no errors. No body.
- `f` - Failed. Indicates that command processing is done, but there was an error. No body.
Expected overhead is minimal, and this integrates seamlessly with existing command scripts (no changes necessary).
PS: There's also a client-side addon library that exposes this protocol in a developer-friendly way over at https://github.com/azerothcore/LibAzerothCore-1.0
---------
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com >
2024-07-06 19:13:24 +02:00
Kitzunu
3c50b1a135
fix(Core/Player): Vertical Message distance ( #19302 )
...
* cherry-pick commit (297541e9c9 )
* Get rid of unused param
* Merge SendMessageToSetInRange_OwnTeam into SendMessageToSetInRange
Co-authored-by: Badgersson <83663557+dekz120@users.noreply.github.com >
2024-07-06 10:05:34 -03:00
Kitzunu
f42ed2efa5
feat(Core/SAI): SetData now has invoker ( #19296 )
...
* cherry-pick commit (cfc77fd843 )
* cherry-pick commit (beb333738d )
* Move IsSmart function from headerfile
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com >
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2024-07-06 13:46:10 +02:00
Kitzunu
9e6eca979b
fix(Scripts/ShadeOfAran): Make immune to Mind-numbing and Cure of Tongue ( #19309 )
...
* closes https://github.com/chromiecraft/chromiecraft/issues/6900
2024-07-06 11:22:13 +02:00
Gultask
76b6da1b3f
fix(Scripts/BlackTemple): Move Teron Gorefiend to scheduler and add Berserk ( #19288 )
...
Update boss_teron_gorefiend.cpp
2024-07-05 21:16:41 -03:00
Kitzunu
fc8b67bbe4
chore(Scripts/Commands): QOL server debug ( #19297 )
...
* chore(Scripts/Commands): QOL server debug
* England
* might as well do updatetime while we are at it. Consistency right?
* Hey let's sneak this ENGLAND in
2024-07-06 01:18:38 +02:00
Anton Popovichenko
04acfd96a0
fix(Core/Unit): Invalidate update object cache when changing health in the same world update tick. ( #19287 )
...
* fix(Core/Unit): Invalidate update object cache when changing health in the same world update tick.
Should fix an issue when the client sees dead NPCs when they are not.
* Fix styling
* Another codestyle fix
2024-07-05 15:42:22 -03:00
Gultask
89a6996628
fix(Scripts/SmartAI): Rewrite ACTION_MOVE_TO_POS ( #19190 )
...
* init
* Update SmartScript.cpp
* combatReach
* Update SmartScript.cpp
2024-07-05 15:07:56 -03:00
Kitzunu
172f73db92
fix(Core/Misc): unused param ( #19286 )
2024-07-05 15:06:03 -03:00
天鹿
34edcefc8b
fix(Core/dbc): GlyphPropertiesfmt ERROR ( #19284 )
...
Add files via upload
2024-07-05 07:45:58 -03:00
Benjamin Jackson
620c40b010
fix(Core/Handlers): Adjust start swing handler. ( #19267 )
...
* Init.
* Flesh out packet info.
https: //github.com/TrinityCore/TrinityCore/commit/af6d207addfef177fb5ac3e7fa61ec93ced83d16
Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com >
---------
Co-authored-by: ForesterDev <11771800+ForesterDev@users.noreply.github.com >
2024-07-05 07:45:26 -03:00
Andrew
d9f4ba5e1d
fix(Scripts/Item): Fix Fel Mana Potion not benefiting from Alchemist'… ( #19281 )
...
fix(Scripts/Item): Fix Fel Mana Potion not benefiting from Alchemist's Stone
2024-07-05 06:32:33 -03:00
Jelle Meeus
37431cd7a6
fix(Core/Pets): Correct Pet size for bigger pets 2 ( #18867 )
...
* scale displayInfo, cap scale to maxScale
* prevent scaling with displayInfo if scale is already increasing the size
2024-07-04 16:34:14 -03:00
avarishd
7cf25c94ab
fix(Scripts/Shattrath): Daily Dungeon quests holograms ( #19233 )
...
* fix(Scripts/Shattrath): Daily Dungeon quests holographs
* Move to single script + doaction SAI
* ocd
* use NEAR_PLAYER
* use only Wind Trader as SAI
* use creature_guid target
* rename action
* cleanup
* zzz
* Update zone_shattrath_city.cpp
2024-07-04 15:50:11 -03:00
Dan
b959d5cc87
refactor(Scripts/ZulAman): Nalorakk refactored ( #19010 )
...
* init
* update movement
* updates and debug
* stuck :/
scheduler doesn't seem to update when at the end of wp movement???
* fix wps and implement fight
* finalise
* unused
* Update boss_nalorakk.cpp
* keep oprientation
* ran_intro
2024-07-04 20:13:41 +02:00
Jelle Meeus
9de2178eb5
fix(Scripts/Naxxramas): Razuvious' Death Knight Understudy RP ( #19183 )
2024-07-04 14:59:53 -03:00
Kitzunu
8bca8a45ed
chore(Core/Spells): Fix compile warning ( #19278 )
...
* chore(Core/Spells): Fix compile warning
* s
2024-07-04 14:47:36 -03:00
Benjamin Jackson
c3e22c0fe2
fix(Scripts/HyjalSummit): Couple Archimonde adjustments. ( #19193 )
...
* Init.
Co-Authored-By: cyberium <cyberium@users.noreply.github.com >
Co-Authored-By: killerwife <killerwife@users.noreply.github.com >
* Corrections.
* Adjust fear timer.
* Wrong spell.
* Whitespace.
* Use the much cooler and more hip scheduler.
* Correct teleport timers.
Matches up with sniffed 3.4.3 data.
* Swap magic number for constant.
Co-Authored-By: killerwife <killerwife@users.noreply.github.com >
* Adjust notation.
* Public.
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Kitzunu's fault.
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
---------
Co-authored-by: cyberium <cyberium@users.noreply.github.com >
Co-authored-by: killerwife <killerwife@users.noreply.github.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2024-07-04 14:31:22 -03:00
Kitzunu
bd29e9e1b3
fix(Core/Spell): Implement SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT ( #19254 )
...
feat(Core/Spell): Implement SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/19248
2024-07-04 14:30:59 -03:00
Kitzunu
aebb99ecda
fix(Core/Character): TeleportTo() in HandlePlayerLoginFromDB() causes… ( #19237 )
...
fix(Core/Character): TeleportTo() in HandlePlayerLoginFromDB() causes breakdown in the network communication
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/16307
2024-07-04 14:30:25 -03:00
Kitzunu
e8f7d70ee0
refactor(Script/Dalaran): Minigob Manabonk ( #19244 )
...
* refactor(Script/Dalaran): Minigob Manabonk
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/16841
* Update src/server/scripts/Northrend/zone_dalaran.cpp
2024-07-04 14:28:10 -03:00
Kitzunu
6031ae2eb9
chore(Core/Conf): Show better logging when fatal config options are m… ( #19236 )
...
chore(Core/Conf): Show better logging when fatal config options are missing
* Show better log when the server halts due to missing fatal config option
* Change error to warning for missing config options. As they are not errors
* Update output when autoupdater is disabled for all databases
2024-07-04 14:25:28 -03:00
Kitzunu
385d7fd515
chore(Core/DBC): define unused unknown dbc fields ( #19262 )
...
* chore(Core/DBC): define unused unknown dbc fields
* Name unused unknown dbc fields using WDBX and wowdev.wiki
* rename SpellShapeshiftEntry to SpellShapeshiftFormEntry to properly match the DBC used
* rename sSpellShapeshiftStore to sSpellShapeshiftFormStore to properly match the DBC used
* Comment out unused field for GlyphPropertiesEntry
* Comment out unused field for MapEntry
* forgot one
* SpellShapeshiftfmt to SpellShapeshiftFormfmt
* SpellShapeshiftFormEntryfmt
2024-07-04 14:23:25 -03:00
Kitzunu
193e906a84
fix(Core/Spells): Shapeshift should show in Old Hillsbrad Foothills a… ( #19274 )
...
fix(Core/Spells): Shapeshift should show in Old Hillsbrad Foothills as horde
2024-07-04 14:21:33 -03:00
Kitzunu
8745ac9c2e
fix(Core/Loot): implement automatic pass in group loot for items that… ( #19272 )
...
* fix(Core/Loot): implement automatic pass in group loot for items that cannot be looted
* cherry-pick commit (00fdf6e99a )
* closes https://github.com/chromiecraft/chromiecraft/issues/4523
Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com >
* whoopise
---------
Co-authored-by: Wyrserth <43747507+Wyrserth@users.noreply.github.com >
2024-07-04 14:21:00 -03:00
Kitzunu
e878cedb7f
feat(Core/SAI): implement new removeObjectFromWorld param for SMART_A… ( #19275 )
...
feat(Core/SAI): implement new removeObjectFromWorld param for SMART_ACTION_FORCE_DESPAWN
2024-07-04 14:20:41 -03:00