12 Commits
Author SHA1 Message Date
HelloKitty 816543ef26 Core/ObjectAccessor: Use FindConnectedPlayerByName in FindPlayerByName (#31137)
(cherry picked from commit 5d5fc623632bed78e443ce88ecc2aba428d71ab6)
2026-06-26 11:59:59 +02:00
HelloKitty a8a1dc749e Script/Commands: Fix crash in .pet create command if Unit::CreateTamedPetFrom returns nullptr (#31218)
(cherry picked from commit 33a8d42bd79265dcc6930b67f8ceb26622d5e0fe)
2026-06-25 23:45:10 +02:00
HelloKitty c47bd80ff1 Core/Items: Fix BuyItemFromVendorSlot slot validation (#29511)
Closes #29510

(cherry picked from commit 013a5710cadaf4eef8c42c22556730d4e180c99c)
2026-05-26 23:08:27 +02:00
HelloKitty 194a0daed5 Core/Object: Fix WorldObject::SetZoneScript unsafe cast to InstanceMap (#27877)
(cherry picked from commit e9992066a5ccd7f085a56de09ea027240e8da873)
2022-03-26 16:01:01 +01:00
HelloKitty c50c877bdb Core/QuestHandler: Fix potential crash caused by QUEST_FLAGS_PARTY_ACCEPT with conditions (#26880)
(cherry picked from commit 5a60082e5d3a5290f142168c3142c54b000cb2b0)
2022-03-14 23:55:09 +01:00
HelloKitty a67bb1f575 Core/Map: Added Map::SetZoneOverrideLight std::chrono overload (#26486)
* Core/Map: Added Map::SetZoneOverrideLight std::chrono overload

* Scripts: Replace Map::SetZoneOverrideLight usages with new std::chrono overload

* Core/Map: Remove non-chrono Map::SetZoneOverrideLight overload

(cherry picked from commit e33c4b8f7f18c89fec3d95531fdccad526c12c10)
2022-03-09 14:56:04 +01:00
HelloKitty 406c7219ad Further improve ChrRace DBC handling (#24508)
* Core/DBC: Added ChrRacesAllianceType for ChrRaces.dbc

* Core/Character: Check ChrRace DBC playable in HandleCharCreateOpcode

* Core/DBC: Implement ChrRacesFlags removing literals

Cannot take credit for this enum, derived from documentation in
https://wowdev.wiki/DB/ChrRaces

* Core/Character: Check CHRRACES_FLAGS_NOT_PLAYABLE on creation

* Core/DBC: Fix formatting of ChrRaces enums

* Core/DBC: Use ChrRaces CreatureType instead of hardcoded humanoid assumption

* Address enum style code changes

(cherry picked from commit 43b595111dce03258c29fd926201660b9d3acb8d)
2022-01-04 15:33:04 +01:00
HelloKitty a20526077d Core/DataStores: Use ResSicknessSpellID from ChrRaces instead of hardcoding it (#24504)
(cherry picked from commit f1ad04b31bf04f8c523b7e80914bb3c2b28c84c3)
2022-01-01 21:45:52 +01:00
HelloKitty 80d920dab5 Fix issue in Creature::UpdateEntry and CMSG_GOSSIP_SELECT_OPTION (#22469)
Address #22467 making it so that script doesn't look like it was reload
and thus causing gossip to fail once after update.

(cherry picked from commit d5888a5f8f498790dccde186325ab5bec87b066d)
2021-11-11 21:39:29 +01:00
HelloKitty c10ea61491 Core/Spells: Include RealPointsPerLevel when determining if aura is negative (#22427)
(cherry picked from commit 0d1eed5dabdc86e4a7ae2d5dfc8f5c17636f69a1)
2021-10-31 01:39:10 +02:00
HelloKitty 46c69df3a7 Core/Vmaps: Stop M2s from occluding for spellcast LoS
Closes #18528

(cherry-picked from 01d715eaef99e91f0959dc85fb7f69eb26d01a22)
2018-12-09 14:18:42 +01:00
Andrew Blakely 06e1990af2 Core/Scripts: Fixed Vaelastrasz bomb mechanic (#18260)
* Core/Scripts: Fixed Vaelastrasz bomb mechanic

Vaelstraz was suppose to bomb raid members that are mana users every 15
seconds. He was not doing that with the current implementation.

This implementation allows him to bomb the raid and to select the proper
targets. This is also done in a cleaner way.

* Added AuraScript for SPELL_BURNINGADRENALINE

Needed to define an AuraScript for custom behavior that would denatonate
the damaging aura when the debuff falls off.

SpellId - 18173

* Added SQL for Burning Adrenaline Script Ref

* Fixed Multiple Application of BA

* Add unit null check in lambda

* Remove DB name from sql query

* Added Newline in SQL update file.

* Added SQL delete query for potential existing spell

* Fix SQL newline again.

* As suggested a simpler SpellCast overload works

I don't know if there are any consequences but it seems to function fine
in in-game.

I'd like more information on the overload that involves an AuraEffect.

* Remove duplicate Unit null check in lambda

* Update boss_vaelastrasz.cpp

(cherry picked from commit 60ac53ff07333a62c3d76b6daf072d4fbcb11d1c)

# Conflicts:
#	src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_vaelastrasz.cpp
2018-02-11 16:00:49 +01:00