azerothcore-wotlk icon indicating copy to clipboard operation
azerothcore-wotlk copied to clipboard

fix(core/quest): improved egg collection

Open grimgravy opened this issue 2 years ago • 5 comments

Changes Proposed:

  • Fix condition
  • Fix item collected dragon egg
  • improved PR #9039

Issues Addressed:

  • Closes

SOURCE:

Tests Performed:

  • was performed windows 7 64bits. Not a single error was found and it is Functional

How to Test the Changes:

1.add the quest with command: 2.quest add 4735

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.

grimgravy avatar Aug 05 '22 22:08 grimgravy

Tested with https://github.com/azerothcore/azerothcore-wotlk/pull/12575:

  • [X] Can't collect eggs unfreeze
  • [X] Can collect eggs freeze
  • [X] Can finish the quest

ghost avatar Aug 07 '22 10:08 ghost

ok... someone able to tell me what the heck this error is suppose to imply? image

acidmanifesto avatar Aug 07 '22 20:08 acidmanifesto

Please use the spellcorrections cpp file to make dbc changes

Nyeriah avatar Aug 27 '22 01:08 Nyeriah

Please use the spellcorrections cpp file to make dbc changes

why this change?

grimgravy avatar Aug 27 '22 12:08 grimgravy

Please use the spellcorrections cpp file to make dbc changes

why this change?

The spell_dbc database table is designed for:

  1. server side spells (changing those is fine)
  2. custom scripting (pretty much only modules should do this)

We use the CPP file to alter clientside spells because otherwise we incur the risk of overriding fields we don't intend to, and considering how many fields that table has, it is almost impossible to review new inserts 👍

Nyeriah avatar Aug 27 '22 13:08 Nyeriah

Merge Conflicts

acidmanifesto avatar Sep 21 '22 17:09 acidmanifesto

Thanks for the PR ✌️

Nyeriah avatar Sep 25 '22 13:09 Nyeriah