Shauren
a4e9542e37
Core/GameObjects: Move contents of Spell::SendLoot to GameObject::Use
2022-10-15 20:39:05 +02:00
ModoX
b6ec81fff8
Core/Spells: Take SummonProperties into account for SPELL_EFFECT_SUMMONs with default SummonTitle ( #28345 )
2022-10-09 23:41:25 +02:00
Shauren
5f1a4cf904
Core/Loot: Set loot dungeon encounter id before generating
2022-10-05 20:04:15 +02:00
Shauren
5a516fb654
Core/Loot: Send DungeonEncounter id in SMSG_ITEM_PUSH_RESULT
2022-10-04 00:19:38 +02:00
Shauren
301572212f
Core/Misc: Changed string formatting functions to accept std::string_view as format argument instead being templated on it to slightly improve compile times and reduce executable size
2022-09-19 00:33:19 +02:00
Shauren
cbf2064c62
Core/Loot: Refactored Player::SendLoot to accept Loot object directly
2022-09-18 18:24:57 +02:00
Shauren
8c20f620d7
Core/Loot: Move loot generation out of Player::SendLoot
2022-09-18 16:33:38 +02:00
Shauren
3ef5079fee
Core/Loot: Move loot rolls from Group to Loot
...
* Partial port of cmangos/mangos-wotlk@ffdf9a05d6
2022-09-16 16:58:03 +02:00
Shauren
78698463ff
Core/Spells: Remove all hardcoded restrictions for pick pocket spell effect and rely only on presence of pickpocket loot in db
2022-09-11 14:13:10 +02:00
Meji and Shauren
69e0249807
Core/Gossip: Drop OptionType for gossip_menu_option and rename OptionIcon to OptionNpc as it also determines functionality on client side ( #28220 )
...
Co-authored-by: Shauren <[email protected] >
2022-09-08 14:49:03 +02:00
Shauren
66b03acc47
Core/Auras: Improve aura interactions with immunities on spell effect level
...
* Effects that target is immune to will be suppressed instead of completely removed
Closes #28096
(cherry picked from commit 3306a4d06cc557967c23adcc60c2e3257811b324)
2022-09-05 22:23:03 +02:00
Shauren
74dbed1d0e
Core/Loot: Updated LootType enum for 9.2.7
2022-09-01 21:31:56 +02:00
Shauren
80a5d475ee
Core/Spells: Fixed crash in triggered spells with SPELL_ATTR2_RETAIN_ITEM_CAST
...
Closes #28047
2022-06-22 15:35:23 +02:00
Shauren
f820ff178d
Core/Transmog: Implemented TransmogIllusionFlags::PlayerConditionGrantsOnLogin and fixed transmog illusion validation when transmogging items
2022-06-09 21:27:02 +02:00
fluxurion
125ada42f6
Core/Transmog: Implemented Transmog Illusions + Spelleffect to unlock them
2022-06-09 21:27:02 +02:00
Meji
a1f673d1ca
Core/BattlePets: Move BattlePet stuff from SpellMgr to BattlePetMgr ( #27986 )
2022-06-09 13:58:54 +02:00
Shauren
8d16a79dea
Core/Spells: Rename SpellAttr4 to use official attribute names
...
* Corrected implementation of SPELL_ATTR4_CLASS_TRIGGER_ONLY_ON_TARGET
* Implemented SPELL_ATTR4_NO_HELPFUL_THREAT
* Implemented SPELL_ATTR4_NO_PARTIAL_IMMUNITY
* Implemented SPELL_ATTR4_ALLOW_PROC_WHILE_SITTING
* Implemented SPELL_ATTR4_USE_FACING_FROM_SPELL
* Implemented SPELL_ATTR4_BOUNCY_CHAIN_MISSILES
* Implemented SPELL_ATTR4_AURA_NEVER_BOUNCES
* Implemented SPELL_ATTR4_AURA_BOUNCE_FAILS_SPELL
* Implemented SPELL_ATTR4_AURA_IS_BUFF
* Implemented SPELL_ATTR5_MELEE_CHAIN_TARGETING
* Implemented SpellEffectAttributes::ChainFromInitialTarget
2022-05-01 20:01:13 +02:00
Shauren
dda375b986
Core/Spells: Rename SpellAttr2 to use official attribute names
...
* Corrected implementation of SPELL_ATTR1_ALLOW_WHILE_STEALTHED
* Implemented SPELL_ATTR2_RETAIN_ITEM_CAST
* Implemented SPELL_ATTR2_ALLOW_WHILE_INVISIBLE
* Implemented SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE
* Implemented SPELL_ATTR2_PROC_COOLDOWN_ON_FAILURE
* Implemented SPELL_ATTR2_NO_TARGET_PER_SECOND_COSTS
* Implemented SPELL_ATTR2_DO_NOT_REPORT_SPELL_FAILURE
* Implemented SPELL_ATTR1_REQUIRE_ALL_TARGETS
* Implemented SPELL_ATTR2_CHAIN_FROM_CASTER
* Implemented SPELL_ATTR2_NO_ACTIVE_PETS
* Implemented SPELL_ATTR2_ENCHANT_OWN_ITEM_ONLY
2022-04-28 18:31:26 +02:00
Shauren
c88b602a2c
Core/Spells: Rename SpellAttr1 to use official attribute names
...
* Implemented SPELL_ATTR1_NO_SKILL_INCREASE, SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT, SPELL_ATTR1_DISPEL_ALL_STACKS
2022-04-25 22:16:56 +02:00
Shauren
a31e681944
Core/Spells: Rename SpellAttr0 to use official attribute names
2022-04-24 18:40:10 +02:00
Shauren
41a04a0c49
Core/Scripts: Begin unifying triggering gameevents (not the game_event db stuff)
2022-04-24 00:16:13 +02:00
Shauren
372c84e998
Core/Items: Implemented item effect trigger type 7 (On Looted)
2022-04-22 20:57:05 +02:00
Shauren
5558769405
Core/Battlegrounds: Replaced overriding m_team with more fine grained approach
2022-04-16 12:15:37 +02:00
Shauren
b47185cabf
Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
2022-03-27 18:14:47 +02:00
Shauren
4eba978670
Core/Misc: Rename SetXXXFlags updatefield functions to ReplaceAllXXXFlags
2022-03-26 18:59:44 +01:00
Giacomo Pozzoni
791b759332
Core/SAI: Add SMART_ACTION_ACTIVATE_GAMEOBJECT action ( #27216 )
...
Closes #27196
(cherry picked from commit 0817be8f76dead48e2c0eeb7d5a7434a452f0dcf)
2022-03-21 22:59:21 +01:00
trickerer
6c9bde098b
Core/Combat Improve extra attacks handling ( #26859 )
...
* Core/Combat Improve extra attacks handling
* Remove unnecessary _lastDamagedTargetGuid check
* Add missing initialization of _lastExtraAttackSpell. Do not use hardcoded spell ids.
* Partially revert 9f90b835019b
(cherry picked from commit 084f8f3ded45150a57eabd3ad117f1152d4d046d)
2022-03-19 22:37:41 +01:00
jackpoz
d0fe16b787
Core/Misc: Fix issues reported by static analysis
...
(cherry picked from commit 33dace231c5a169375523ffa89a2cc3fa48737bd)
2022-03-11 11:48:18 +01:00
Meji
23d77ecb81
Core/Spells: Fixed spell effect 43 (SPELL_EFFECT_TELEPORT_UNITS_FACE_CASTER) ( #25945 )
...
(cherry picked from commit 28353e920b531b7dd221ac926049f5a68b75e7ec)
2022-03-06 01:38:14 +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
Jeremy
19f64e66e5
Core/GameObjects: Implemented GAMEOBJECT_TYPE_CAPTURE_POINT ( #27034 )
2022-02-26 19:01:00 +01:00
Shauren
7fbdd6473e
Core/DataStores: Updated db2 structures to 9.2.0
2022-02-25 11:40:20 +01:00
Aqua Deus and Shauren
64e8e11377
Core/Auras: Fix SPELL_AURA_MOD_DAMAGE_DONE_FOR_MECHANIC for effects mechanics ( #27783 )
...
Co-authored-by: Shauren <[email protected] >
2022-02-16 21:56:49 +01:00
Shauren
02979daf76
Core/Auras: Proc flag updates
...
* Rename to official names
* Corrected logic selecting flags for each spell cast - determine them by attributes instead of DmgClass
* Implemented new proc flags (PROC_FLAG_CAST_ENDED, PROC_FLAG_LOOTED)
2022-02-10 21:11:07 +01:00
Shauren
7295bfb6a0
Core/Spells: Implemented using db2 PositionFacing for SPELL_EFFECT_LEAP_BACK
...
Closes #19717
2022-02-10 18:20:38 +01:00
Shauren
7ff411013c
Core/Auras: Implemented ProcFlags2
2022-02-10 12:38:31 +01:00
Shauren
8e2d1e328e
Core/Spells: Pass cast item level to triggered spells
...
* Fixes value on trinkets like Ignition Mage's Fuse
2022-02-08 21:36:31 +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
Giacomo Pozzoni
c66bcc4c0e
Core/Spell: Fix name clashing between local variables and class member fields ( #25352 )
...
(cherry picked from commit 8a48ece5732a47fc36fadc63d0620072ef47f8fe)
2022-02-04 13:00:08 +01:00
Shauren
c65340e761
Core/Spells: Implement SPELL_EFFECT_TRIGGER_SPELL delay (stored in MiscValue)
2022-02-02 19:50:22 +01:00
Shauren
950db60435
Core/Pets: Updated pet summoning for latest client version (5 Call Pet spells and stable size 200)
2022-02-02 00:08:37 +01:00
Shauren
688d1d9533
Core/Pets: Fixed crash happening when current pet is forcibly removed while being temporarily unsummoned (like on a mount)
...
(cherry picked from commit d163735abdf37c8840dbb7e3151d91bc898473ef)
2022-01-31 00:24:51 +01:00
Shauren
ca92686b44
Core/Pets: Pet management refactoring ( #25191 )
...
* Core/Pets: Pet management refactoring
* Preload basic pet data on character login with async query
* Load additional pet data (declined names/auras/spells/cooldowns) using async query after we are sure pet loading will succeed
* Remove all select queries related to pet stable/unstable
* Remove all silent pet deletions except explicit UI-triggered abandons
* Fixed displaying stable master content when current pet is not summoned
* Allow to stable/swap unsummoned current pet
Closes #3610
Closes #21266
(cherry picked from commit 5c1fc5e3876549f5ed2b9051fffb6f3d94a67d7a)
2022-01-31 00:17:21 +01:00
Carbenium
3bba8d50b1
Core/WorldObject: Remove non-std::chrono SummonCreature overload
...
Remove
TempSummon* SummonCreature(uint32 entry, Position const& pos, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0, uint32 vehId = 0, uint32 spellId = 0);
(cherry picked from commit a41f599be72ccc88b13c1cf725f20cee4a5335d7)
2022-01-24 12:39:59 +01:00
Peter Keresztes Schmidt
44ea32ace4
Build: Enable -Wimplicit-fallthrough on clang ( #25056 )
...
* Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs
Related: #25006
* Misc: Add some missing breaks (no-ops) to satisfy clang
Related: #25006
Closes #25055
* Build: Enable -Wimplicit-fallthrough on clang
Closes #25006
2022-01-23 22:16:15 +01:00
Shauren
596bf2b772
Core/Misc: Replace boost::optional with std::optional part 2
2022-01-23 20:31:52 +01:00
Giacomo Pozzoni
e9cf3828ba
Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT. ( #23 ) ( #24997 )
...
* Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT. (#23 )
Original research by @xvwyh.
* Add missing sql update
* Fix some build errors
* Remove unused enum values
* Change artkits from 0-4 to 0-3
* Remove unused code
* Code review feedback
* Fix sql
* Remove artkit4 special case handling
* Default initialize artKits
* Code review feedback
* Split sql into structure and data files
Co-authored-by: Warpten <[email protected] >
(cherry picked from commit 203573db83fb1d3f141b5aadbf1d1ca0a637bf94)
2022-01-23 15:17:54 +01:00
Giacomo Pozzoni
8f4db9aa69
Core/Spells: implement corpse target type support and properly fix resurrections ( #24921 )
...
* Core/Spells: implement corpse target type support and properly fix resurrections
(cherry picked from commit df193945d9aff8596985a20e2c654105354b0af7)
* Core/Spells: implement TARGET_CORPSE_SRC_AREA_RAID and updated remaining resurrection effect handlers for updated corpse targeting
(cherry picked from commit 98b075cb4b0da126d409ab42daa63a1f531a70ea)
* Fix no-pch
Co-authored-by: Ovahlord <[email protected] >
(cherry picked from commit cc71da35b5dc74abf71f8691161525a23d870bb5)
2022-01-20 00:13:02 +01:00
Meji
ddc71206de
Core/Spells: Implemented spell effect 225 (SPELL_EFFECT_GRANT_BATTLEPET_LEVEL) ( #27506 )
2022-01-07 22:14:07 +01:00
jackpoz
e71352db6f
Core/Spells: Fix assertion triggered
...
(cherry picked from commit 740afc71358c32257540350a6d7d4071a851452f)
2022-01-01 20:11:02 +01:00