Commit Graph

532 Commits

Author SHA1 Message Date
UltraNix
6cc1d1a497 fix(Core/Pets): Add cooldown on spell cast if pet initially was out of range or not in LoS. (#9539)
Fixes #8425
2021-12-11 23:01:21 -03:00
IntelligentQuantum
3591f69662 refactor(Core/Packet): Guild (#9411)
* Core/Packet: Guild

* Winfi
2021-12-11 10:00:06 +01:00
Skjalf
2d55974c0c Revert "fix(Core/Spells): Forward core changes (#8841)" (#9631)
This reverts commit 85d2c39a48.
2021-12-10 15:31:48 +01:00
UltraNix
52d8e1b68a fix(Core/Spells): Channeled destination spells should not interrupt flag capturing. (#9472)
Fixes #9225
2021-12-09 23:45:01 -03:00
schell244
39355fa1ee fix(Core/Players): Update the player's zone and area only after update the player's position server-side (#9419) 2021-12-09 21:58:43 -03:00
acidmanifesto
85d2c39a48 fix(Core/Spells): Forward core changes (#8841) 2021-12-09 18:24:16 -03:00
UltraNix
0300cef119 fix(Core/Auras): Always process hover/waterwalking movement flags on aura removal. (#9416)
Fixes #9056
2021-12-09 18:06:53 -03:00
acidmanifesto
fa1c2eca9d fix(Core/Player): Fix potential freeze on login after skipping cinematics (#9577)
Move to static_cast and matching it up with tc stops the error on console and first login characters from being frozen when skipping cinematics
2021-12-08 11:50:49 -03:00
UltraNix
d0167d0d6d fix(Core/Corpses): Reset corpse location data if player already resurrected in different dungeon map. (#9429)
Fixes #9210
2021-12-06 14:48:46 -03:00
acidmanifesto
1500453f59 feat(Core\Player): Added createplayerinfo_cast_spell support cast spell for some class spells (#9448) 2021-12-03 18:33:21 -03:00
Kargatum
51adbffae4 feat(Core/Modules): add separated lib for modules (#9281) 2021-12-02 20:28:58 +07:00
UltraNix
8668a03e14 fix(Core/DungeonFinder): Dead players should be able to get XP reward from random dungeon. (#9319)
Fixes #9082
2021-12-01 07:04:41 -03:00
UltraNix
fc4b5a93a0 fix(Core/Quests): Do not save queststatus for autocomplete quests . S… (#9425)
* fix(Core/Quests): Do not save queststatus for autocomplete quests . Source: TrinityCore.

Fixes #9150
2021-11-30 21:05:06 -03:00
UltraNix
5d544f6001 fix(Core/Spells) T9 2p Hunter bonus vs Mortal Shots. (#9246)
Fixed getting bonus damage from critical strikes for melee/ranged DoT spells.
Fixes #8859
2021-11-29 13:46:49 -03:00
IntelligentQuantum
683b7ae1e2 fix(Core/Entities): add missing nul pointer checks in HandleProcTrigger Spell (#9303) 2021-11-29 13:20:40 -03:00
UltraNix
0b551a055c fix(Scripts/Spells): Mind Control should put both caster and target in combat. (#9301)
Fixes #8938
2021-11-29 12:09:39 -03:00
IntelligentQuantum
0632f3baff fix(Core/CharacterHandler): Reputation + Map Explore AT_FIRST_LOGIN (#9252) 2021-11-29 00:23:25 +01:00
IntelligentQuantum
ab761c9865 fix(Core/Player): prevent crash exploit spam duel starting (#9226) 2021-11-28 16:42:53 -03:00
patou01
801a20fce2 refactor(Core): Clean-up after FD (#8586) 2021-11-28 03:04:14 -03:00
Andrius Peleckas
36fc50e1a8 fix(Core/Formations): fixed possible finite loop related to GROUP_AI_FLAG_EVADE_TOGETHER (#9279) 2021-11-25 23:46:12 -03:00
patou01
44de147a9b fix(Core/Loot) remove stealth/feign death on loot (#8982)
* remove a few auras on loot

* remove mount, doesn't work

* removed unnecessary check. Changed to vector

* exception for pickpocketing

* Update src/server/game/Entities/Player/Player.cpp

* Update src/server/game/Entities/Player/Player.cpp

* Update src/server/game/Entities/Player/Player.cpp

* Update src/server/game/Entities/Player/Player.cpp

* Update src/server/game/Entities/Player/Player.cpp

* not as elegant yadi yada but it seems to work

* extra comment

* stealth doesn't remove on containers and enchant anymore, but should it?

* moved a few lines to the right place

* remove disenchant and prospect from not breaking stealth

* typo

* comments

Co-authored-by: Kargatum <dowlandtop@yandex.com>
2021-11-25 20:38:54 +01:00
acidmanifesto
29f49108a5 chore(Core): Remove unnecessary slang Cosmetic (#9325)
* Remove unnecessary slang

Removes ZOMG! that is used in the src in logging and notes. Completely Unnecessary. Contributes to nothing useful. Inflates source. Not needed at all in any shape or form. Not Developer Lingo either.

* Further Clean Up

Removed Profanity

* sensible grammar correction

* More ZOMG! removal
2021-11-25 04:31:54 -03:00
UltraNix
140374e3e0 fix(Core): Fixed dead loop. (#9312) 2021-11-24 10:27:10 -03:00
Skjalf
bf666becd9 fix(Core/Creature): prevent useless grid searches (#9307) 2021-11-24 12:02:46 +01:00
Skjalf
fc16abc30e fix(Core/Creature): crash on creature evade (#9305) 2021-11-24 10:23:18 +01:00
Skjalf
2187470df7 refactor(Scripts/Commands): Update cs_quest to the new model (#9267) 2021-11-24 01:21:16 -03:00
UltraNix
647c91605c fix(Core/Spells): Autoshot should not interrupt Volley (#9202)
- Closes #8883
2021-11-23 20:13:06 +01:00
UltraNix
a0002afe07 fix(Core/Spells): properly handle item cooldowns (#9176)
- Closes #8918
2021-11-23 13:25:29 +01:00
patou01
0f4268bea7 fix(Core/DB): add exceptions for shield and badge. Update db for positions (#9169)
Co-authored-by: Patou01 <youdontneed@this.com>
2021-11-23 00:34:11 +01:00
UltraNix
dc9c3a5fe4 fix(Core/GameObjects): Lockpicking timer on gameobjects should reset … (#9203)
* fix(Core/GameObjects): Lockpicking timer on gameobjects should reset after 10 minutes.

Fixes #8936
2021-11-22 12:07:55 -03:00
Kargatum
f62664c987 refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
UltraNix
e747716230 feat(Core/SmartScripts): SMART_ACTION_CALL_FOR_HELP should properly call assistance in case of polymorphed creature. (#9231)
Updates #9120
2021-11-19 15:53:59 -03:00
Skjalf
731d256420 refactor(Core/Cache): move the GlobalPlayerCache to its own class (#9166) 2021-11-18 16:53:36 +01:00
acidmanifesto
de6af87bd3 fix(Core/Objects): increase sight range of objects & correct general defau… (#9180) 2021-11-17 16:00:01 -03:00
Skjalf
39425e0c1f feat(Core/Loot): Implement player_loot_template (#9198)
* Also fix AV player loot
2021-11-17 08:07:21 -03:00
Andrius Peleckas
31f028abfc feat(Core/Formations): implemented a new formation groupAI flag "GROUP_AI_FLAG_EVADE_TOGETHER" (#8758) 2021-11-16 15:14:34 -03:00
UltraNix
70fbaefa8e fix(Core/Movement): creatures should not cast while moving (#9141)
- Closes #8843
2021-11-15 14:39:36 +01:00
UltraNix
c3ed68bb5e fix(Core/Spells): health-dependent reactive states should reset on death (#9134)
- Closes #8798
2021-11-14 21:22:50 +01:00
UltraNix
3c8bcf31ac fix(Core/Spells): Steady Shoot should not suspend ranged attack timer. (#9125)
Fixes #9107
2021-11-13 22:58:22 +01:00
Kitzunu
743636c416 fix(Scripts/Spell): don't allow to tame an already owned creature (#9005) 2021-11-13 01:00:30 +01:00
UltraNix
7201d8840f fix(Scripts/BlackrockSpire): Urok Doomhowl - improvements: (#9067)
The mobs should attack the pike if there is no players around
The boss should not despawning after summon
Urok's Tribute Pile with Pike and Head should disapear after Urok appear
Fixes #9023
2021-11-12 09:46:07 -03:00
sschepens
b7f8083915 feat(Core/Misc): change how Position struct is retrieved (#9017)
Update Position::GetPosition() and similar methods signatures to reflect 2a4c9bc changes by return a Position object instead of accepting a Position parameter by reference.

Cherry pick of 2585e799f9
2021-11-10 23:43:00 +01:00
sschepens
fb2a0a8336 refactor(Core): move complex functions from Object.h to Object.cpp (#9016)
Co-authored-by: QAston <qaston@gmail.com>
2021-11-09 20:32:44 +01:00
patou01
863455736e fix(core/Creature): initialize AI before calling OnCreatureCreate 2021-11-09 14:38:59 -03:00
UltraNix
affa6f9084 refactor(Core/Combat): Cleanup DoZoneInCombat function. (#8789)
* Core/Combat: Cleanup DoZoneInCombat function.

Updates #7960

* Restore distance parameter.

* You don't belong here.

* Update
2021-11-09 00:54:44 +01:00
IntelligentQuantum
4653641a0b refactor(Scripts/Commands): Convert cs_cast to new system (#8997) 2021-11-08 09:06:51 -03:00
UltraNix
9f0a78a0ca fix(Core/Spells): Slam should suspend attack timers (#8981)
- Closes #8723
2021-11-07 20:40:48 +01:00
UltraNix
0e84538ee1 fix(Core/Players): charge should not delay player's auto attacks (#8978)
- Closes #7266
2021-11-07 20:40:34 +01:00
Francesco Borzì
c91959bba9 fix(Core/PlayerUpdates): one more C++20 compile warning (#8959) 2021-11-05 08:57:13 +01:00
acidmanifesto
70b0de4e1f fix(Core/Quest): Refresh SMSG_QUESTGIVER_STATUS_MULTIPLE after a quest change (#8902)
Co-authored-by: Malcrom <malcromdev@gmail.com>
2021-11-04 23:51:54 +01:00