Commit Graph

14173 Commits

Author SHA1 Message Date
Keader fec48caabe Core/Spells: Drain Soul need be affected by Death's Embrace
Make Warlock Affliction great again !
2019-08-13 13:02:23 -03:00
Keader 95284b23d1 Core/Spells: Fixed SPELL_EFFECT_DISPEL when target has 2 spells with same ID (#23710)
Ty sirikfoll for all help :)
2019-08-13 08:55:00 -03:00
Treeston 6590a0bfce Entities/Creature: Fix an edge case assertion failure with pets dying in specific situations while casting spells. 2019-08-12 19:43:38 +02:00
Aokromes 028db8432e Core/Spells: Survey Sinkholes will now have a bigger range to be able…
… to hit all trigger npcs

By Ovahlord
2019-08-12 16:59:52 +02:00
Treeston 1c2b1cbba8 Entities/Player: ReacquireSpellFocusTarget is now private. It should've been private all along. 2019-08-11 13:56:42 +02:00
Treeston fcce90508d Core/Creature: Fix an issue that sometimes prevented spellcast focus targets from being reacquired. 2019-08-11 13:31:46 +02:00
Treeston 4211645834 [3.3.5] Core/Authserver: TOTP rewrite: (PR #23633)
- Proper management commands (.account 2fa)
- Secrets can now be encrypted (set TOTPTokenSecret in .conf)
- Secret now stored in binary
- Argon2 and AES primitives
- Base32/64 support
2019-08-10 21:34:51 +02:00
Treeston 464b0b059b Core/Channels: Fix a bug that would cause channel settings to disappear in certain settings. Fix a bug that would cause channels to not be saved on .server shutdown without delay. Closes #23699. 2019-08-09 12:04:20 +02:00
Sorikoff 382f563571 Scripts/Spells: Runic Healing Injector (#23690)
* Scripts/Spells: Runic Healing Injector

* Rename 9999_99_99_99_world.sql to 2019_08_08_00_world.sql
2019-08-08 14:12:49 +02:00
Sorikoff 996d4f7cc4 Scripts/Spells: Port Part of Druid Scripts to New Script Registration (#23691) 2019-08-08 09:22:05 +02:00
Treeston 910da94d20 that should make gcc complain less (57b36df follow-up) 2019-08-07 13:24:00 +02:00
Treeston aa7fc4b6ef nopch fix 2019-08-07 11:21:53 +02:00
Treeston 57b36dfdc6 Scripts/Commands: Add .go boss, and do a usability pass over .go instance to match it. 2019-08-07 01:45:24 +02:00
Treeston 4320a021e9 Scripts/Commands: Cleanup some output from .go instance 2019-08-06 23:46:07 +02:00
Treeston 268384d2af coverity 2019-08-06 12:32:19 +02:00
Treeston 4fcb322010 typo fix in comment 2019-08-06 11:21:44 +02:00
ccrs 30f4aabf64 Core/Creature: 4a219ed codestyle followup, for real this time 2019-08-05 17:06:07 +02:00
Sorikoff 33807a065a Scripts/Blackrock Depths: Use DB Texts for Doom'rel (#23681)
* Scripts/Blackrock Depths: Use DB Texts for Doom'rel

* Quick Fix
2019-08-05 14:09:09 +02:00
Treeston dad1718f1b Revert "Core/Creature: 4a219ed codestyle followup"
This reverts commit 37b15e05bc.
2019-08-04 20:08:24 +02:00
Keader 7bd1b077f1 Build fix
Followup: 7b541098d5
2019-08-04 12:02:33 -03:00
ccrs 37b15e05bc Core/Creature: 4a219ed codestyle followup 2019-08-04 16:58:31 +02:00
Keader 7b541098d5 Scripts/Spells: Fixed mage Empowered Fire regain percent
You should regain 2% of your base mana. With old script, you get 15% of base mana.
2019-08-04 11:40:12 -03:00
Treeston a5e73e41c0 Core/Pooling: Quest pooling rewrite: (PR#23627)
- Split quest pooling from PoolMgr (into QuestPoolMgr)
- Proper saving/restoring on server restart
- No more hacking into sObjectMgr to insert/remove available quests
2019-08-04 12:22:57 +02:00
Giacomo Pozzoni 15e85f882f Core/Vehicle: Change vehicle accessories' phase according to the player on the vehicle (#23646)
* Core/Vehicle: Change vehicle accessories' phase according to the player on the vehicle

* Get the root vehicle to set the phase to all accessories.
Attempt to get the accessories to stay mounted on the vehicle.

* Fix the accessories to stay mounted on the vehicle
2019-08-04 11:33:29 +02:00
Treeston b159921099 no idea what happened there (4a219ed follow-up) 2019-08-04 11:12:56 +02:00
Treeston 2d74652b5b Core/Chat: Always save channel info to database on shutdown if persistence is enabled. 2019-08-04 02:19:34 +02:00
Treeston 4a219eda07 Core/Unit: Spell focusing now no longer nonsensical. HasSpellFocus always const. Error logs for various stuff. 2019-08-04 01:26:20 +02:00
Treeston 6a330214a1 This is not the critical chat system bug fix you were looking for. No sir. (Oops.) 2019-08-04 01:21:06 +02:00
Treeston 309851ea24 Core/Misc: Rewrite some old name handling functions that use raw buffers to no longer be old name handling functions that use raw buffers. 2019-08-03 23:53:10 +02:00
ccrs 8e88f4501d Core/Creature: add a const spell-focus-check method and remove a nasty const_cast from IsMovementPreventedByCasting()
closes #23670
maybe #22857 ?
2019-08-03 18:12:53 +02:00
ccrs 3a4021be50 Core/Unit: rename more things
Workaround prework till actual facing system rework arrives
2019-08-03 18:04:00 +02:00
ccrs 85ad0befc5 Core/Unit: rename more methods
Workaround prework till actual facing system rework arrives
2019-08-03 17:53:22 +02:00
ccrs ec9f15a5ff Core/Unit: rename IsFocusing method
Workaround prework till actual facing system rework arrives
2019-08-03 17:45:06 +02:00
Wyrserth 9da5e850f6 Script/Hyjal: prevent Archimode from attacking players while invisible, and fix his scale (thanks Killyana!).
Closes #16424.
2019-08-03 09:39:48 +02:00
Wyrserth 0b87dffc35 Core/Spell: honor IsStackableOnOneSlotWithDifferentCasters() when deciding if an aura should stack from different casters or not. (#23579)
Fixes #23387 and #22818.
2019-08-03 09:29:56 +02:00
Treeston 1faa54fe8b Core/SmartAI: SmartAI creatures no longer process health-based hooks after death. 2019-08-02 21:27:23 +02:00
Sorikoff 0d53a0ba98 Scripts/Spells: Devour Humanoid (#23660) 2019-08-02 18:34:09 +02:00
Treeston c444cb17e1 Scripts/Hyjal: Seriously, who calls EnterEvadeMode in a AI constructor???? 2019-08-02 18:06:57 +02:00
Giacomo Pozzoni a0f8ce14e9 3.3.5 Don't allow to summon dead hunter pets (#23271)
* Core/Player: Add support to SMSG_PET_TAME_FAILURE

* Core/Pet: Don't summon dead pets when using "Call pet"
2019-08-02 16:09:02 +02:00
Giacomo Pozzoni 543fe77d2e Core/Misc: Fix build warning 2019-08-02 08:08:11 +02:00
Treeston fedf1f557b Core/Chat: Custom channel preservation rewrite. Channel data is now loaded at startup, and written to the DB periodically, instead of both things happening in real time. 2019-08-01 23:42:14 +02:00
Keader 22c5419bf2 Core/Spells: Split ProcFlags of PROC_HIT_INTERRUPT
Followup: 3ffe570b21
2019-08-01 15:17:20 -03:00
Treeston 1a5c832559 nopch 2019-08-01 19:27:53 +02:00
Treeston 3d4bebd8d9 Scripts/FollowerAI: Some cleanup:
- FollowerAI properly resumes follow after evading.
- Removed duplicated getters from CreatureAI (IsEscorted vs IsEscortNPC), they were used to do the same thing
- FollowerAI properly assists in combat.
- FollowerAI properly despawns if quest is abandoned.
- FollowerAI now supports dynamic respawning for escort NPCs.
2019-08-01 18:32:26 +02:00
Keader 3ffe570b21 Core/Spells: Fixed PROC_HIT_INTERRUPT not triggering by PROC_FLAG_TAKEN_SPELL_MELEE_DMG_CLASS
Spells like Pummel (PROC_FLAG_TAKEN_SPELL_MELEE_DMG_CLASS) need trigger PROC_HIT_INTERRUPT
2019-08-01 11:16:03 -03:00
Ovah d629bad7a1 Core/Spells: fixed root behaivior of creatures that are being rooted via movement template while getting a root aura removed (#23216)
* Core/Spells: do not allow root auras to bypass the root movement template state when getting removed

* yeah....
2019-08-01 15:40:07 +02:00
ForesterDev 7614cab633 Core/Movement: Remove PLAYER_FLAGS_IS_OUT_OF_BOUNDS flag if player manages to move back in bounds (pretty much gms only) (#23664)
(cherry picked from commit fcb50c5e65)
2019-08-01 12:45:38 +02:00
Giacomo Pozzoni 2803269e8c Core/Misc: Fix build warning 2019-08-01 09:02:51 +02:00
Treeston 0b722e23cf Entities/Unit: fix an unrelated check from doing nothing because somebody didn't understand how type-casting works 2019-08-01 01:27:10 +02:00
Treeston a8b1b9a3c6 Entities/Unit: Add a missing underflow check to prevent really really low damage from underflowing when paired with flat damage modifiers. Closes #23655. 2019-08-01 01:27:10 +02:00