Commit Graph

2439 Commits

Author SHA1 Message Date
Skjalf
2eac8fd67b fix(Scripts/MoltenCore): Solve edge case that caused Majordomo to spawn double adds (#10076)
* fix(Scripts/MoltenCore): Remove minions from Majordomo's spawn list if they still exist

* fix domo for good
2022-01-09 11:02:42 -03:00
Kitzunu
14c0b62be5 refactor(Core/Unit): Split spell things into SpellDefines.h (#10009) 2022-01-09 12:37:51 +01:00
IntelligentQuantum
aaf85d0984 refactor(Core/Packet): Combat log (#9673) 2022-01-09 05:21:41 +01:00
Kitzunu
dbc35e3495 feat(DB/Creature): Allow to set swim and flight speeds (#10067) 2022-01-09 01:34:39 +01:00
Kitzunu
9d96adeb6b fix(Scripts/Icecrown Citadel): Ensure Deathbringer Saurfang casts Frenzy (#10048)
* cherry-pick commit (a0a64b10b5)

Co-Authored-By: Gildor <521036+Jildor@users.noreply.github.com>
2022-01-08 16:12:33 +01:00
Skjalf
0e29319d8f fix(Scripts/MoltenCore): Ensure Majordomo minions that completely despawned respawn on wipes (#10061) 2022-01-08 11:31:37 +01:00
IntelligentQuantum
725b1266b4 refactor(Core/Packet): Chat (#9509)
* Chat

* .

* Update GameObject.cpp

* Update Object.cpp

* Update Player.cpp
2022-01-08 07:11:06 -03:00
UltraNix
2c6a692000 fix(Core/Entities): extend combo point system to all Units (#9816)
- Closes #1140
2022-01-07 11:18:03 +01:00
IntelligentQuantum
2e6213d526 feat(Core/SmartScripts): SMART_ACTION_ATTACK_STOP #10053 2022-01-07 04:19:32 -03:00
Tim Fleschenberg
3085f64e50 fix(Core/Handlers): remove the uint8 cap from guild bank max stacks per day 2022-01-07 02:56:32 -03:00
Malcrom
85bf69a6a1 fix(Scripts/Creature): Convert npc_ranger_lilatha script to RegisterCreatureAI (#10043) 2022-01-07 04:02:28 +01:00
Cláudio Costa
5d45c52c3e fix(Core/Creature): Fire Elemental Invasion changes (#9372)
* fix(DB): Blazing elemental invasion event

- Fixed Elemental Invader's SmartAI;
- Re-arranged Elemental Rifts SmartAI for controlled spawning of
  Invaders.

* SmartAI: SetCounter to be able to subtract

* Target unit or summoner changed for worldobjects

* extra checks and last sql file

* Codestyle

* codestyle

* adding Baron to elemental invasions

* changed owner or summoner target (SmartAI)

* codestyle
2022-01-06 19:30:23 +01:00
Kitzunu
cb7e355291 refactor(Core/Misc): sin() to std::sin() (#9795) 2022-01-06 19:29:40 +01:00
killerwife
66e6d33116 fix(MMAP): Build ADT floor just like WMO floor below liquid (#9990) 2022-01-06 19:26:34 +01:00
Malcrom
73d5772cf6 fix(DB/Script): Eastvale Logging Camp, Elywnn Forest (#10036)
* fix(DB/Script): Eastvale Logging Camp, Elywnn Forest

* Update rev_1641426458023302944.sql

* Update zone_elwynn_forest.cpp
2022-01-06 13:58:28 -04:00
acidmanifesto
2d4e17fd16 refactor(Core/Creature): Remove Inhabit Type (#9272)
This is in reference to issue: https://github.com/azerothcore/azerothcore-wotlk/issues/4361
This is comprised of a cherry pick and partial tc cherry pick:
592516ae69
dbadb6369c
34cfa69efd
12de860b4a
a22bc236eb
2022-01-06 10:33:22 -03:00
acidmanifesto
d504a62293 fix(Core\OpCode): HandleFarSightOpcode (#9965)
* Change TO ThreadUNSAFE

This will process the far sight packet as a is not thread-safe - process it in World::UpdateSessions() compared to the former packet is thread-safe - process it in Map::Update().
This matches up with tc in everything we have with the HandleFarSightOpcode.

* Further Adjustments

* Move to Debug Loggin

TC has it as move to Debug Logging. Stating its a weird opcode handling issue which is not really known why.
2022-01-06 09:22:08 -03:00
IntelligentQuantum
93322bcb4d refactor(Core/Packet): Character packets (#9546)
* Character

* Update CharacterHandler.cpp
2022-01-06 08:55:00 -03:00
IntelligentQuantum
c377c62c7a feat(Core/SmartScripts): Add support to friendly+hostile to SMART_EVENT_OOC_LOS and SMART_EVENT_IC_LOS (#10037)
* .

* .
2022-01-06 06:46:12 -03:00
acidmanifesto
7354b14ffd Fix (Core\Script) Grammar Correction (#10031)
* Fix (Core\Script) Grammar Correction

GAME_EVENT_CHILDEREN_OF_GOLDSHIRE to GAME_EVENT_CHILDREN_OF_GOLDSHIRE

* SQL correction
2022-01-05 18:21:09 -05:00
acidmanifesto
6f98d32790 Feat (Core\DB\Event) Children of Goldshire (WIP) (#10022)
* (WIP\Event) Children of Goldshire

Currently Compiles with no issues, sql runs fine, Can't seem to get cameron to trigger on the event start.

* Capitalization

* Remove Include

Not sure why it says it isnt found. Most likely was not needed.

* Rename Per Suggested

Rename per @Malcrom 's request

* SQL

Sorry i forgot to push it from my local

* Update zone_elwynn_forest.cpp

* Update rev_1641388762527715027.sql

* NPC's Move Fix

Now to audit the whole event naturally

* remove double

* White space removal

* added override per testing recommendation

* Utiilizing Malcroms PathEndReached

Co-Authored-By: Malcrom <malcromdev@gmail.com>

* Final Draft

All works now.

* abc order adjustment

* Adjust Time for Runaway Lisa

Co-authored-by: Malcrom <malcromdev@gmail.com>
2022-01-05 13:54:30 -05:00
IntelligentQuantum
2bc373b4f6 feat(Core/SmartScripts): SMART_ACTION_SET_MOVEMENT_SPEED (#10018) 2022-01-05 14:10:19 -03:00
Malcrom
911e8b4d12 feat(Core/Pathing): Add path_id to PathEndReached (#10021) 2022-01-05 09:59:33 -04:00
IntelligentQuantum
e28bdf9bde feat(Core/SmartScripts): SMART_ACTION_SET_HEALTH_PCT 2022-01-05 09:38:14 -03:00
Malcrom
86f1b87fe6 NewFunction(Core/Pathing) Path End Reached (#10017) 2022-01-05 00:22:51 -04:00
IntelligentQuantum
fb249836e9 Core\Packet\Misc: Weather (#9648) 2022-01-04 13:52:13 -05:00
UltraNix
f593f624b0 fix(Core/Spells): Add Target Processing (SMSG_SPELLLOGEXECUTE) to LAUNCH_TARGET phase. (#9765)
* Move EffectInterruptCast to LAUNCH_TARGET Phase.

* Source: TrinityCore.

* Fixes #8484
2022-01-04 13:49:15 +01:00
IntelligentQuantum
8fd757a152 feat(Core/SmartScripts): ACTION_GO_SET_GO_STATE 2022-01-04 06:44:02 -03:00
IntelligentQuantum
9faec8ef1b feat(Core/SmartScripts): SMART_ACTION_SET_CORPSE_DELAY 2022-01-04 06:41:19 -03:00
Nefertumm
d810ddf042 Fix(Core/Quest): Pet issues with They're Alive! Maybe... (#9918) 2022-01-03 15:09:25 -05:00
UltraNix
d90e368166 Fix (Core/Movement): During escort movement, do not stop moving if unit is casting channeled spells. (#9815)
Fixes #9286
2022-01-03 15:06:41 -05:00
Nefertumm
b7dcf93be4 Fix(Core/Item): Wraith Scythe scales with spell power (#9901) 2022-01-03 15:05:45 -05:00
UltraNix
880f35c0d2 fix(Core/Spells): Judgement spells should always set combat event spe… (#9709)
* fix(Core/Spells): Judgement spells should always set combat event spell missed the target.

Fixes #5874

* typo
2022-01-03 14:37:21 -05:00
Nefertumm
9df725e265 fix(Core/CullingOfStratholme): Chromie start (#9898) 2022-01-03 15:44:55 -03:00
IntelligentQuantum
84f060eb7f fix(Scripts/Commands): Look item (#9892)
* Add files via upload

* Update cs_lookup.cpp
2022-01-03 15:44:05 -03:00
UltraNix
d8712455c7 fix(Core/Spells): Multi-Shot should not be affected by Glyph of Aimed… (#9897)
* fix(Core/Spells): Multi-Shot should not be affected by Glyph of Aimed Shot.

Fixes #9707

* Update.
2022-01-03 15:15:24 -03:00
Nefertumm
b8c0c9bf6b Fix(Core/Creature): Disable shredder should not attack creatures nearby (#9920) 2022-01-03 13:51:40 -04:00
Noxies
67f8688460 fix(DB/SAI): BWL Grethok arcane missiles & immunity flags (#9985)
* prevent interupt & cc

* let the world know the duration index meaning

* make Grethok use correct arcane missiles spell
2022-01-03 14:43:23 -03:00
IntelligentQuantum
e57582accb Core/Packet: WorldState (#9435)
* Core/Packet: WorldState

* Test

* WRONG

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
2022-01-03 11:50:56 -05:00
Kitzunu
317e793b12 refactor(Core/Misc): atan2() to std::atan2() (#9793)
- prefer std functions over C functions
2022-01-03 13:24:06 -03:00
Malcrom
f03b87f7e1 fix(Scripting/Spawning/Pathing) An'owyn, Ghostlands (#9935)
* fix(Scripting/Spawning/Pathing) An'owyn, Ghostlands

* Update zone_ghostlands.cpp

* Update zone_ghostlands.cpp

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
2022-01-03 12:17:21 -04:00
Kitzunu
f04709a326 refactor(Core/Misc): ceil() to std::ceil() (#9791)
- prefer std functions over C functions
2022-01-03 10:11:39 -03:00
Kitzunu
61649b7e6d fix(Scripts/Spells): fix logic mistake in spell_generic (#9799)
- chery-picked from commit (25e01b0402)

Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com>

Co-authored-by: Wyrserth <43747507+Wyrserth@users.noreply.github.com>
2022-01-03 09:55:37 -03:00
IntelligentQuantum
002e62d689 feat(Core/SmartScripts): SMART_EVENT_SUMMONED_UNIT_DIES (#9979) 2022-01-03 08:24:13 -03:00
IntelligentQuantum
8a5b96349b feat(Core/SmartScripts): SMART_TARGET_LOOT_RECIPIENTS (#9967) 2022-01-02 21:54:27 -03:00
Noxies
e71d902027 fix(Core/DB): adjust commands sec level to follow wiki (#9978)
* sql: update gm list to security 3

* gm list SEC_ADMINISTRATOR fallback

* Update `gm on/off` to SEC_MODERATOR fallback

* update code style
2022-01-02 19:28:03 -03:00
Francesco Borzì
b748730bc8 refactor(Core): remove unused imports (#9969) 2022-01-02 20:22:09 +01:00
Skjalf
980f420746 fix(Core/Scripting): Solve issue with client crashes on login (#9971) 2022-01-02 12:36:14 -03:00
Francesco Borzì
6d7b024deb fix(Core/Object): macOS build (#9968) 2022-01-02 09:08:33 -03:00
dantav
ea3e140f94 fix(Core): Suppress status opcode after gossip (#9962)
Co-authored-by: Dan Tavares <dantavar@publicisgroupe.net>
2022-01-02 08:26:46 +01:00