Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Core/ItemScript): make some more pets play Fetch Ball #18906

Merged
merged 5 commits into from
Jun 6, 2024

Conversation

sogladev
Copy link
Contributor

@sogladev sogladev commented May 17, 2024

Changes Proposed:

This PR proposes changes to:

  • Core (units, players, creatures, game systems).
  • Scripts (bosses, spell scripts, creature scripts).
  • Database (SAI, creatures, etc).

refactor spellIds using Enum

The ball that spawns casts "ID - 48649 Pet Toy - Fetch Stick - Come Here". Conditions decide which companion entry can fetch.

This adds the following to these conditions:

creatureId petName
32841 Baby Blizzard Bear
23234 Ancona Chicken
27914 Ethereal Soul-Trader
34364 Calico Cat
15429 Disgusting Oozeling
28267 Don Carlos' Coyote Spirit

Issues Addressed:

SOURCE:

The changes have been validated through:

  • Live research (checked on live servers, e.g Classic WotLK, Retail, etc.)
  • Sniffs (remember to share them with the open source community!)
  • Video evidence, knowledge databases or other public sources (e.g forums, Wowhead, etc.)
  • The changes promoted by this pull request come partially or entirely from another project (cherry-pick). Cherry-picks must be committed using the proper --author tag in order to be accepted, thus crediting the original authors, unless otherwise unable to be found

In the comments are lists of pets that can fetch.

https://www.wowhead.com/item=37431/fetch-ball#comments

Tests Performed:

This PR has been:

  • Tested in-game by the author.
  • Tested in-game by other community members/someone else other than the author/has been live on production servers.
  • This pull request requires further testing and may have edge cases to be tested.

How to Test the Changes:

  • This pull request can be tested by following the reproduction steps provided in the linked issue
  • This pull request requires further testing. Provide steps to test your changes. If it requires any specific setup e.g multiple players please specify it as well.
add fetch item
.add 37431 50
add pets/items that summon companions
.learn 25162
.add 38506

Known Issues and TODO List:

  • [ ]
  • [ ]

How to Test AzerothCore PRs

When a PR is ready to be tested, it will be marked as [WAITING TO BE TESTED].

You can help by testing PRs and writing your feedback here on the PR's page on GitHub. Follow the instructions here:

http://www.azerothcore.org/wiki/How-to-test-a-PR

REMEMBER: when testing a PR that changes something generic (i.e. a part of code that handles more than one specific thing), the tester should not only check that the PR does its job (e.g. fixing spell XXX) but especially check that the PR does not cause any regression (i.e. introducing new bugs).

For example: if a PR fixes spell X by changing a part of code that handles spells X, Y, and Z, we should not only test X, but we should test Y and Z as well.

@github-actions github-actions bot added DB related to the SQL database CORE Related to the core Script file-cpp Used to trigger the matrix build labels May 17, 2024
@sogladev
Copy link
Contributor Author

draft, missing a list of creatureIds of the companions that can/cannot play fetch

@sogladev
Copy link
Contributor Author

added companions https://wowgaming.altervista.org/aowow/?npcs=12, skipped "darkmoon faire" pets from JC trinkets, companions summoned by NPCs, orphans, non-fetch pets like zeppelins/kites

Added entries:

Albino Snapjaw 14633
Ammen Vale Lashling 33205
Ar\\'lia 14143
Baby Blizzard Bear 32841
Baby Murloc 18152
Baby shark 15661
Bananas 23234
Blood Parrot 11236
Blue Baby Murloc 15356
Blue Racer 7563
Bronze Whelpling 7546
Calico Cat 34364
Celestial Dragon 40624
Chilly 31128
Chuck 26056
Cockatiel 7390
Cobra Hatchling 32591
Cockatoo 7388
Core Hound Pup 36871
Cottontail Rabbit 7558
Coyote Spirit 28267
Curious Oracle Hatchling 33530
Curious Wolvar Pup 33529
Darting Hatchling 35396
Dart Frog 7551
Deviate Hatchling 35395
Disgusting Oozeling 15429
Dun Morogh Cub 33194
Durotar Scorpion 33198
Elven Wisp 7570
Elwynn Lamb 33200
Essence of Competition 27346
Ethereal Soul-Trader 27914
Faeling 7548
Farm Chicken 9256
Firefly 21076
Frigid Frostling 40198
Giant Sewer Rat 31575
Golden Pig 25146
Green Baby Murloc 15360
Green Water snake 7569
Grunty 34694
Gryphon Hatchling 36908
Gundrak Hatchling 35400
Gurky 16069
Hawksbill Snapjaw 14632
Hippogryph Hatchling 17255
Island Frog 7552
Jade Panda 35156
Jade Tiger 34930
Kirin Tor Familiar 32643
Leaping Hatchling 35387
Lil\\' K.T. 36979
Lil\\' Smoky 9657
Lil\\' XT 40703
Little Fawn 32939
Lucky 23114
Lucky 23198
Lucky 15358
Macabre Marionette 34770
Mana Spirit 35155
Mini Diablo 11326
Mini Thor 42078
Mini Tyrael 29089
Mojo 24480
Mr. Chilly 29726
Mr. Wiggles 16548
Muckbreath 24389
Mulgore Hatchling 33219
Murki 15361
Murkimus the Gladiator 33578
Murkimus the Gladiator 40721
Murky 15186
Nether Ray Fry 28470
Netherwhelp 18381
Obsidian Hatchling 35399
Onyx Panther 35468
Onyxian Whelpling 36607
Panda Cub 11325
Pandaren Monk 36911
Patchy 27849
Peanut 23266  40634
Perky Pug 37865
Pet Bombling 9656
Pet Skunk 29482
Phoenix Hatchling 26119
Pink Baby Murloc 15359
Pint-Sized Pink Pachyderm 24753
Plagued pet 27865
Plump Turkey 32818
Poley 16456
Prairie Chicken 7392
Purple Baby Murloc 15357
Ravager Hatchling 21266
Ravasaur Hatchling 35397
Razormaw Hatchling 35398
Razzashi  Hatchling 35394
Ribbon Snake 7568
Rocket Chicken 25109
Roo 34531
Ruby Serpent 15944
Scarlet Snake 7566
Scorchling 25706
Sen\\'jin Fetish 33810
Shimmering Wyrmling 34724
Silver Pig 25147
Snarly 26050
Snowy Owl 7554
Spectral Tiger Cub 36511
Spirit of Competition 27217
Spotted Rabbit 7559
Spring Rabbit 32791
Strand Scrawler 33226
Teldrassil Sproutling 33188
Terky 16445
Tiny Blue Dragon 27196
Tiny Gold Dragon 27197
Tiny Green Dragon 14755
Tiny Jade Dragon 35157
Tiny Red Dragon 14756
Tiny Sporebat 25062
Tirisfal Batling 33197
Tranquil Mechanical Yeti 15699
Toothy 24388
Toxic Wasteling 38374
Vampiric Batling 28513
White Plymouth Rock 7393
White Tiger Cub 17254
Willy 23231
Wind Riber Cub 36909
Winter Reindeer 15706
Wolpertinger 22943
Zipao Tiger 36910

@sogladev sogladev marked this pull request as ready for review May 22, 2024 18:32
@Kitzunu Kitzunu merged commit a1ddf6d into azerothcore:master Jun 6, 2024
20 of 21 checks passed
ikkj pushed a commit to ikkj/AzerothCore-wotlk-with-NPCBots that referenced this pull request Jun 10, 2024
* refactor use enum for spellIds

* add sql

* update sql

* enclose Comment with backticks `

* Closes azerothcore#565
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CORE Related to the core DB related to the SQL database file-cpp Used to trigger the matrix build Ready to be Reviewed Script
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants