Commit Graph

2679 Commits

Author SHA1 Message Date
Skjalf
96cf1e60e9 fix(Scripts/Spells): fix a crash with Scent of Blood talent (#10078) 2022-01-15 21:10:06 -03:00
Kargatum
7f05e20994 fix(Core/Pets): fix crash at pet resurrect (#10120) 2022-01-15 19:08:54 -03:00
Malcrom
dfac47a562 feat(Core/Creature): Allow 3 ids per spawn point. TESTING (#10169)
* feat(Core/Creature): Allow 3 ids per spawn point.

* Move GetRandomId to a function

* Update id to id1

* Fixed some errors crashing core and text

* Set ids to lowercase for GetRandomId function

* Update src/server/database/Database/Implementation/WorldDatabase.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-01-14 19:21:50 -04:00
Kitzunu
d1cc65b1c7 refactor(Core/Misc): isEmpty to IsEmpty (#10011) 2022-01-13 21:43:15 -05:00
acidmanifesto
f5aed756e5 fix (core\script) Double to Float Fix (#10161) 2022-01-13 19:45:10 -05:00
Kitzunu
707685d633 fix(Core/Build): Fallthrough (#10165) 2022-01-13 19:34:57 -05:00
Malcrom
d811d89c88 fix(Core/GM Commands): Update NPC Info command (#10157)
* fix(Core/GM Commands): Update NPC Info command

* Update rev_1642085410673517853.sql

* Update rev_1642085410673517853.sql

* Prevent temp spawn crashing

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
2022-01-13 19:28:40 -04:00
Nefertumm
8d78f4b8c2 fix(Core/BWL): Suppression traps can be disarmed (#10163)
* Fix(Core/BWL): Suppression traps can be disarmed

* missing override (why not present before?)
2022-01-13 17:52:06 -03:00
acidmanifesto
4330e44ad0 fix (Core/CodeReduction) TC_ removal (#10162)
TC_ remove from any commit out TC_LOG in the event when we do need to run debug logging, we can just remove the // instead of // TC_
2022-01-13 14:39:54 -05:00
UltraNix
3fe82ff268 fix(Scrips/BlackrockSpires): add missing _JustDied() to Halycon script (#10065)
- Closes #9953
2022-01-13 14:58:36 +01:00
Malcrom
2fd8b00d7b feat(Core/Creature): Dual id Spawning WIP (#10115)
* feat(Core/Creature): Multi id Spawning WIP

* Update Creature.cpp

* Update PR

* Add Sql

* Update rev_1641837958335217980.sql

* Update src/server/game/Globals/ObjectMgr.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/Globals/ObjectMgr.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update rev_1641837958335217980.sql

* Update cs_npc.cpp

* Create changes_1641842959398297300.md

* Fixed issue added with random model PR

* Update GameEventMgr.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-01-10 22:09:14 -04:00
Kargatum
c1ebda66ba fix(Core/Pets): fixed crash happening when current pet is forcibly removed (#10025) 2022-01-10 09:19:43 -03:00
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
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
Malcrom
85bf69a6a1 fix(Scripts/Creature): Convert npc_ranger_lilatha script to RegisterCreatureAI (#10043) 2022-01-07 04:02:28 +01:00
Kitzunu
cb7e355291 refactor(Core/Misc): sin() to std::sin() (#9795) 2022-01-06 19:29:40 +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
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
fb249836e9 Core\Packet\Misc: Weather (#9648) 2022-01-04 13:52:13 -05:00
Nefertumm
d810ddf042 Fix(Core/Quest): Pet issues with They're Alive! Maybe... (#9918) 2022-01-03 15:09:25 -05:00
Nefertumm
b7dcf93be4 Fix(Core/Item): Wraith Scythe scales with spell power (#9901) 2022-01-03 15:05:45 -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
Nefertumm
b8c0c9bf6b Fix(Core/Creature): Disable shredder should not attack creatures nearby (#9920) 2022-01-03 13:51:40 -04: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
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
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
Kitzunu
913e65f97f refactor(Core/Misc): fabs() to std::fabs() (#9790)
- prefer std functions over C functions
2021-12-31 20:41:00 -03:00
Kitzunu
ac99eb48e1 refactor(Core/Misc): abs() to std::abs() (#9789) 2021-12-31 19:29:39 -03:00
Kitzunu
69683a3472 chore(Scripts/Misc): Cleanup some more JustDied hooks (#9768) 2021-12-31 12:00:40 -03:00
Kargatum
e12494d993 feat(Core/Pets): Management refactoring (#9712)
* feat(Core/Pets): rework managment

* 1

* 2

* 3

* 4

* 5

* cs pet

* check before ressurect

* pet DECLINED_NAMES

* display

- https://github.com/azerothcore/azerothcore-wotlk/issues/9297

* ArenaSpectator

* 1
2021-12-30 18:45:13 -03:00
Noxies
bbf08c1aaa fix(Core/TemporarySummon): Implement TEMPSUMMON_TIMED_DESPAWN_OOC_ALIVE (#9915) 2021-12-30 08:05:46 -03:00
Skjalf
1a75b3ef0d fix(Scripts/Silithus): Solve issues with bosses despawing too fast (#9914) 2021-12-29 09:23:34 -03:00
Kargatum
c81891fc11 feat(Core/AI): convert SelectAggroTarget to enum class (#9893) 2021-12-28 19:13:12 -03:00
Noxies
3412c3e219 fix(Scripts/Silithus): Wind Stone summons roleplay & despawn (#9899) 2021-12-28 10:46:39 -03:00
Skjalf
58302e4196 feat(Core/Player): Implement player specific settings (#9483) 2021-12-26 08:39:15 -03:00
Kitzunu
c9f54ddfb3 refactor(Scripts/Pets): Move Mojo to SAI (#9662) 2021-12-25 15:46:50 -03:00
Malcrom
5abfe27365 fix(Script) Quest "Deactivating the Spire" (#9874)
* fix(Script) Quest "Deactivating the Spire"

* Update go_scripts.cpp

* Update go_scripts.cpp

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
2021-12-25 12:50:52 +01:00
Noxies
21a5968349 fix(Scripts/Silithus): Wind stone summons (#9859) 2021-12-23 15:51:54 -03:00
IntelligentQuantum
0c1880f694 feat(Scripts/Commands): additem (#9759) 2021-12-23 11:55:03 -03:00
Noxies
9c4f1035cf fix(Scripts/MoltenCore): Ragnaros targetting dead player 2021-12-23 11:10:28 -03:00
UltraNix
3ca99c5683 fix(Scripts/Spell): Removed doubled damage from Deep Freeze. (#9810) 2021-12-22 19:53:12 -03:00
Skjalf
a576dcbcce fix(Scripts/Commands): fix additem (#9843) 2021-12-22 15:44:47 -03:00
UltraNix
07c93c2dfa fix(Core/Movement): Fixed adding wrong flag on root. (#9803)
* fix(Core/Movement): Fixed addind wrong flag on root.

Fixes #5891
2021-12-22 13:54:23 -03:00
IntelligentQuantum
11a734bf2b refactor(Core/Scripts): Spell To Scripts (#9718) 2021-12-21 11:13:45 -03:00
IntelligentQuantum
838c88f45a refactor(Scripts/Commands): convert cs_misc to new system (#8939) 2021-12-21 19:32:21 +07:00