Commit Graph

1119 Commits

Author SHA1 Message Date
Shauren 14c48272fb Core/Spells: Added missing changes for ade34a7f48 2022-12-29 20:25:01 +01:00
Shauren 0cc5ab8372 Core/Players: Implemented new talent system 2022-12-16 22:44:55 +01:00
Shauren e98e1283ea Core: Updated to 10.0.2 2022-12-04 15:13:20 +01:00
Shauren de7c03c838 Core/Spells: Extended mechanic mask to uint64 2022-12-04 15:07:36 +01:00
Shauren 734babc6e9 Core/Spells: Corrected effect handle mode for SPELL_EFFECT_SEND_CHAT_MESSAGE 2022-10-28 12:42:31 +02:00
Shauren ffd112ce6c Core/Spells: Removed unitTarget requirement from SPELL_EFFECT_CREATE_PRIVATE_CONVERSATION as it is executed in SPELL_EFFECT_HANDLE_HIT mode where no units are targeted 2022-10-28 12:42:09 +02:00
Shauren 1011cb73c9 Core/GameObjects: Implemented gathering nodes (gameobject type 50) 2022-10-22 02:07:59 +02:00
Shauren 133334a902 Core/Loot: Implemented personal loot and tag sharing for non-boss loot 2022-10-17 23:11:46 +02:00
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 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 <shauren.trinity@gmail.com>
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 3306a4d06c)
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 0817be8f76)
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 084f8f3ded)
2022-03-19 22:37:41 +01:00
jackpoz d0fe16b787 Core/Misc: Fix issues reported by static analysis
(cherry picked from commit 33dace231c)
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 28353e920b)
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 a32b6b8ac4)
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 64e8e11377 Core/Auras: Fix SPELL_AURA_MOD_DAMAGE_DONE_FOR_MECHANIC for effects mechanics (#27783)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
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 41188eb535)
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 8a48ece573)
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 d163735abd)
2022-01-31 00:24:51 +01:00