[Quest] Bones tell the Future should be repeatable

Issue #102 resolved
Master Toma repo owner created an issue

Bones tell the Future [id 320] quest should be repeatable, but it has one-time-quest check in tetrarch_kaitar.ais, which leads to Bit flag index overflow errors in L2NPC.

This code has to be removed

            if (HaveMemo(talker, @bones_tell_future) == 0 && GetOneTimeQuestFlag(talker, @bones_tell_future) == 1)
            {
                _choiceN = _choiceN + 1;
                _code = 1;
                AddChoice(1, "Hear about the Goddess Shilen");
            }

together with finish-page

            case 1:
                if (_from_choice == 0 || HaveMemo(talker, @bones_tell_future) == 0 && GetOneTimeQuestFlag(talker, @bones_tell_future) == 1)
                {
                    ShowPage(talker, "finishedquest.htm");
                }

                break;

Check, maybe something else has to be cleaned here

Comments (2)

  1. Log in to comment