81 Commits
Author SHA1 Message Date
Matan Shukry e93ef06b05 Core/Commands: Implemented command to teleport character to npc
Closes #25870

(cherry picked from commit d2be584f99a63a165cfd1d047f460a8ebfb87ac3)
2022-03-06 16:37:42 +01:00
Matan ShukryandShauren 8fabe5a3aa Core/Phasing: Implemented db spawns in personal phases (#26345)
Co-authored-by: Shauren <[email protected]>
2021-12-28 13:24:10 +01:00
Matan ShukryandShauren b821a72973 Core/Player: Initial War Mode support (#25926)
* Enable PvP talents
* War Mode buff aura
* Forced PvP flagging

Co-authored-by: Shauren <[email protected]>
2021-12-26 19:14:46 +01:00
Matan Shukry a3d06f2f32 Scripts/Spells: Implemented various rogue spells (#26319)
* Ruthlessness
* Mastery: Main Gauche
* Venomous Wounds
* Symbols of Death
* Backstab
* Premeditation
* Grand Melee
* True Bearing
* Slice and Dice
* Roll the Bones
2021-12-25 21:25:54 +01:00
Matan Shukry 626c8f5de1 Core/Player: Add helper function to determine if war mode can be enabled in area 2021-06-06 21:06:21 +02:00
Matan Shukry be8cbab4b3 Scripts/Spells: Fixed arcane barrage + explosion 2021-05-15 17:44:31 +02:00
Matan Shukry 3b578fc6b9 Core/Chat: Load chat language data from db2 and implement serverside chat translations 2021-05-03 23:53:24 +02:00
Matan Shukry cd8edc6895 Core/DataStores: Load LanguageWords.db2 and Languages.db2 for future use 2021-04-29 21:18:08 +02:00
Matan Shukry 8b0de23d0e Core/SAI: Don't clear stored pathid if it changed after processing waypoint events (#26334) 2021-04-26 21:39:22 +02:00
Matan Shukry c99f93d53d Scripts/Spells: Implemented monk stagger (#26295) 2021-04-22 22:45:26 +02:00
Matan Shukry 60df74933f Core/Spells: Removed extra health from feed pet (#26305) 2021-04-22 22:02:19 +02:00
Matan Shukry dbc082a2b2 Scripts/Spells: Implemented Atonement
* Also renamed spell_priest_spirit_of_redemption to spell_pri_spirit_of_redemption
2021-04-21 23:14:02 +02:00
Matan Shukry 2e2dc1afc9 Core/Spells: Added spell value duration to modify aura duration of a specific spell cast 2021-04-21 23:14:02 +02:00
Matan ShukryandShauren a8fa2a03be Core/Items: Calculating item level + organized iterating over items (#26276)
* Unified iterating player items into a single function

Co-authored-by: Shauren <[email protected]>
2021-04-21 10:02:42 +02:00
Matan ShukryandShauren 81eac82656 Core/Spells: Implement priest holy words + modify cooldown for a charge (#26270)
Co-authored-by: Shauren <[email protected]>
2021-04-19 23:54:13 +02:00
Matan Shukry 530631e0a7 Core/Auras: Implemented SPELL_AURA_SCHOOL_ABSORB_OVERKILL (#26269) 2021-04-17 22:42:34 +02:00
Matan Shukry 079bc7800e Core/Cheats: Power - set max power on all powers initially + on regenerate (#26235) 2021-04-13 19:05:36 +02:00
Matan Shukry d2b70397ab Spells/Scripts: Updated Gift of the Naaru script
Closes #22468
2021-04-12 22:32:53 +02:00
Matan Shukry 8b93fc5721 Core/Quests: Show quest details windows if there's only one quest in gossip menu, even if questgiver doesn't have gossip npc flag (#26094) 2021-04-11 22:22:05 +02:00
Matan Shukry cf3ea20825 Core/Spells: Fixed multiple druid's spells (#26223)
* Tooth And Claw proc correctly (was incorrect attribute)
* Tiger Dash will now transform to cat
* Travelform doesn't require learning riding skill
* Aquatic Form only useable if player has the spell (passive at level 17)
* Doesn't allow stag form inside water
* Bristling Fur will generate rage based on max rage
* Now also removing prowl when cat form is removed
2021-04-11 21:16:41 +02:00
Matan Shukry b92e20f6c8 Script/Spells: shaman spell fixes (#26192)
* Flametongue Weapon
* Tremor Totem
* Healing Stream Totem
* Liquid Magma Totem
* Healing Rain
2021-04-11 19:23:19 +02:00
Matan Shukry 1082a6645e Core/Objects: Move personal summon handling from TemporarySummon/GameObject to WorldObject and check it using dedicated guid field 2021-03-28 20:22:05 +02:00
Matan Shukry 7885bdf8af Core/Players: Fixed regenerating powers with CenterPower regen (#26308) 2021-03-28 15:50:23 +02:00
Matan Shukry a8fb7109b7 Core/Maps: Refactor duplicated code from all ***CellRelocation and CheckGridIntegrity into single templated function (#26231) 2021-03-28 15:26:28 +02:00
Matan Shukry 1c852af7f2 Core/Spells: Implement SPELL_EFFECT_TELEPORT_TO_RETURN_POINT (#26217) 2021-03-28 00:22:34 +01:00
Matan Shukry cfb32584b0 Core/Auras: Prevent recursive infinite loops with spell mod auras affecting each other (#26165) 2021-03-27 02:16:52 +01:00
Matan Shukry abaeb12ba3 Scripts/Spells: Implemented druid eclipse system (#26090) 2021-03-24 00:50:28 +01:00
Matan Shukry 2420f4e7a1 Core/Scripts: Implemented new aura script hook OnEnterLeaveCombat 2021-03-23 00:46:47 +01:00
Matan Shukry b574be08ae Core/Auras: Implemented aura to increase armor by percentage of primary stat 2021-03-21 22:19:43 +01:00
Matan Shukry 0c73895826 Scripts/Spells: corrections to Death Knight spell Blood Mastery (#26082) 2021-03-15 22:53:30 +01:00
Matan Shukry 183f719f4e Scripts/Spells: Added druid's guardian spell scripts (#26111)
* Incapacitating Roar
* Stampeding Roar
* Thrash
* Berserk
* Brambles
* Bristling Fur
* Tiger Dash
* Galactic Guardian
* Earthwarden
* Guardian Of The Elune
* Tooth and Claw
2021-03-08 23:01:31 +01:00
Matan Shukry c019d4f10c Core/SAI: Don't require BaseObject when creating conversation from smart scripts (#26209) 2021-03-07 11:17:04 +01:00
Matan Shukry 16f95f9d32 Core/Auras: Don't save druid various flight forms to db (#26206) 2021-03-06 23:09:47 +01:00
Matan Shukry 1b4c4d2164 Core/SAI: Implement quest source for SAI (#26170) 2021-03-06 14:20:39 +01:00
Matan Shukry c0f3452286 Scripts/Spells Refactored dh & dh spells to use the new macros (#26200) 2021-03-05 22:23:56 +01:00
Matan Shukry 49b47047b8 Core/Spells: Implemented SPELL_AURA_ALLOW_TALENT_SWAPPING (#26205) 2021-03-05 21:53:42 +01:00
Matan Shukry 898f97781c Scripts/Spells: Improve druid travel form script 2021-03-05 00:28:07 +01:00
Matan Shukry 818c19ec4b Core/Movement: Add trace log message with packet content to movement opcode handler 2021-03-05 00:28:07 +01:00
Matan Shukry 931a3871f8 Core/Movement: Don't rely on client for water state detection 2021-03-05 00:28:07 +01:00
Matan Shukry a37eb18008 Core/Movement: Allow entering water from flying mounts and druid flight form 2021-03-05 00:28:07 +01:00
Matan Shukry 1086007f98 Scripts/Spells: Fixed various paladin spell scripts and removed outdated ones 2021-03-04 22:46:44 +01:00
Matan Shukry e972f84e7b Scripts/Spells: Removed unused warrior spell scripts (#26160) 2021-02-27 20:40:38 +01:00
Matan Shukry 8665323876 Scripts/Spells: Removed unused dk spell scripts (#26154) 2021-02-27 20:23:37 +01:00
Matan Shukry 1fa33b1dc8 Scripts/Spells: Removed unused warlock spell scripts (#26159) 2021-02-27 13:56:41 +01:00
Matan Shukry 18a82d9801 Scripts/Spells: Removed unused shaman spell scripts (#26158) 2021-02-27 13:51:37 +01:00
Matan Shukry 6b9ff7442e Scripts/Spells: Removed unused rogue spell scriptss (#26157) 2021-02-27 13:50:05 +01:00
Matan Shukry a681309d58 Scripts/Spells: Removed unused hunter spell scripts (#26155) 2021-02-27 13:28:42 +01:00
Matan Shukry b8f76334fe Scripts/Spells: Removed unused priest spell scripts (#26153) 2021-02-27 12:55:39 +01:00
Matan Shukry 0996d60944 Core/SAI: Add SAI action to create a conversation (#26169) 2021-02-27 11:22:55 +01:00
Matan Shukry 37db083589 Scripts/Spells: Changed palading spell scripts to use RegisterSpellScript and RegisterAuraScript (#26149) 2021-02-24 22:30:22 +01:00
Matan Shukry ed2a0b610a Scripts/Spells: Remove old paladin spell scripts (#26148) 2021-02-24 22:13:52 +01:00
Matan Shukry de77f046a0 DB/Tele: Add some new expansion teleport locations
Closes #26143
2021-02-24 22:02:57 +01:00
Matan Shukry 9e948ff4bd Core/Spells: Corrected the spell id source used in the learn spells map when loading SpellLearnSpell.db2 data (#26140) 2021-02-24 20:20:14 +01:00
Matan Shukry 428fbcb133 Core/Players: Always clear old action bars on specialization change, even if new specialization doesn't have anything on its bars (#26134) 2021-02-23 20:08:21 +01:00
Matan Shukry 2b672d807f Scripts/Spells: Fix Ferocious Bite damage increase from extra energy (#26093) 2021-02-23 20:05:39 +01:00
Matan Shukry 03f1d3cedf Core/Auras: Implemented SPELL_AURA_MOD_POWER_GAIN_PCT (#26132) 2021-02-23 17:36:36 +01:00
Matan Shukry 23aa13257a Core/Spells: Fixed spells using SPELL_EFFECT_POWER_BURN not working when combined with other effect types that hit other units and power burn hits caster (#26097) 2021-02-23 00:16:02 +01:00
Matan Shukry 4302f2ba95 Scripts/Spells: Implemented druid's Skull Bash (#26103) 2021-02-22 22:10:49 +01:00
Matan Shukry a76c08843f Core/Auras: implement mana cost modification aura (#26085) 2021-02-21 23:08:51 +01:00
Matan Shukry 19b733fefc Scripts/Spells: Fix Prayer of Mending (#26020) 2021-02-21 21:12:08 +01:00
Matan Shukry b4b13e7b38 Core/Auras: Implemented new spell modifier type to change max aura stack size (#26109) 2021-02-21 18:11:34 +01:00
Matan Shukry 3954606086 Scripts/Spells: Implemented Guardian Druid's Gore spell (#26104) 2021-02-17 22:25:10 +01:00
Matan Shukry d2641c4924 Core/Conditions: CONDITION_NEAR_CREATURE will exclude personal spawns that aren't the target's owner (#26102) 2021-02-17 00:42:53 +01:00
Matan Shukry 907fc00f19 Scripts/Spells: Casting druid spell Prowl will now auto shapeshift into cat form (#26088) 2021-02-15 23:04:04 +01:00
Matan Shukry bb0194aede Scripts/Spells: Touch of the Magi - accumulate damage and DoT duration 2021-02-13 14:08:16 +01:00
Matan Shukry 7159de62b6 Scripts/Spells: Remove const from AuraEffect argument for AuraEffectProcFn 2021-02-13 14:08:16 +01:00
Matan Shukry c261b16a32 Core/Spells: Add const to triggeredByAura argument on Unit::CastSpell(GameObject* go,... overload for consistency 2021-02-13 14:08:16 +01:00
Matan Shukry e0278f0537 Core/SAI: Added new Flags argument for SMART_ACTION_SUMMON_CREATURE (#26055)
* Added personalSpawn for SMART_ACTION_SUMMON_CREATURE
* Added flags for smart action summon creature, including prefer unit and personal spawn. When preferUnit flag is chosen only the unit will be chosen, even if nullptr
2021-02-10 21:18:01 +01:00
Matan Shukry b4bdc4eea6 Core/Players: - Fixed auto learning class abilities that are rewarded from quests if starting Exile's Reach in case player chose not to start there (#26036) 2021-02-09 23:06:45 +01:00
Matan Shukry 414338a27b Scripts/Spells: Druid Travel Form freeze fix (#26056) 2021-02-09 12:00:02 +01:00
Matan Shukry c6c583a63e DB: Remove deprecated spells from riding trainers 2021-02-06 19:09:49 +01:00
Matan Shukry 0cae71eac5 Core/Spells: Adding SpellTargetObjectTypes to spell target checker to early-eliminate alive units (#26028)
* Added object type into checker that is used by grid search to early eliminate alive units when looking for corpses
* Removed script 'spell_hun_pet_carrion_feeder'. Ability doesn't exist anymore
2021-02-05 21:29:00 +01:00
Matan Shukry b832ed2479 Core/Auras: Implement spell effect attribute NoScaleWithStack (0x40) (#26029) 2021-02-05 19:05:06 +01:00
Matan Shukry 0417c5ff5f Core/AreaTriggers: Implementation for sever side area triggers
- Spawn GridLoader to spawn area triggers correctly now
- Removed SAI completely
- Removed remnants of smart scripts. Created different issue for it
- Calling InitDbPhaseShift and not InDbPhaseShift
- changed SpawnId to uint64 rather than uint32
- not using CellGuidSet typedef as to not include ObjectMgr.h in the header
2021-01-30 18:10:21 +01:00
Matan Shukry db6eb69465 Core/Quests: Automatically add quests with AUTO_PUSH flag to player (#25938)
* Removed check for world quests on criteria tree reset
* Quests are currently filtered by their tag to only allow untagged or tag == 0 quests (other types are unsupported)
2021-01-29 10:50:02 +01:00
Matan Shukry 6dbaba7669 Core/Player: remaining XP logging overflow correction (#25934) 2021-01-26 16:48:28 +01:00
Matan Shukry afbe45091d Core/Misc: Added more quest sort enums from db2 (#25946) 2021-01-25 18:17:58 +01:00
Matan Shukry e601c6d1f9 Core/Spells: Implemented summoning a personal gameobject effect (#25917) 2021-01-23 16:44:47 +01:00
Matan Shukry 1d51013b71 Scripts/Commands: Fixed .modify gender not setting correct customizations (#25920) 2021-01-23 15:35:22 +01:00
Matan Shukry e08910deaf Core/Spells: IsAllowingDeadTargets now checks effects targets as well (#25914) 2021-01-22 21:24:07 +01:00
Matan Shukry bb24c6a11b Core/logs: added xp info on login & logout (#25867)
* Core/logs: added xp info on login & logout

* - Moved getters to header
- Changed %s to %u
2021-01-17 17:08:22 +01:00