863×269px

Happy 2nd Anniversary! Check out the Character Models page for the new faces & hairstyles, available via the brand new Barbershop!

Please help to contribute towards the Anniversary 2024 page!


Talk:Fisherman's Belt

From HorizonXI Wiki
Revision as of 03:06, 7 January 2025 by Raegn (talk | contribs) (Created page with "''' -1 Bite Time is not attached to enchantment '''<br> Below is a code snippet from ASB that indicates the belt must only be equipped to get the -1 bite time. I updated the wiki to more plainly state this feature. <pre> uint16 GetHookTime(CCharEntity* PChar) { uint16 waitTime = 13; uint8 moonPhase = GetMoonPhase(); uint8 hour = (uint8)CVanaTime::getInstance()->getHour(); fishing_gear_t gear = Get...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

-1 Bite Time is not attached to enchantment
Below is a code snippet from ASB that indicates the belt must only be equipped to get the -1 bite time. I updated the wiki to more plainly state this feature.

uint16 GetHookTime(CCharEntity* PChar)
    {
        uint16         waitTime  = 13;
        uint8          moonPhase = GetMoonPhase();
        uint8          hour      = (uint8)CVanaTime::getInstance()->getHour();
        fishing_gear_t gear      = GetFishingGear(PChar);

        if (moonPhase == MOONPHASE_NEW || moonPhase == MOONPHASE_FULL)
        {
            waitTime -= 4;
        }

        if (hour == 5 || hour == 17)
        {
            waitTime -= 1;
        }

        if (gear.waist == FISHERMANS_BELT)
        {
            waitTime -= 1;
        }

        return std::max<uint16>(7, waitTime);
    }

Thanks to Liljack (Discord ajland) in HXI Discord Fishing channel for the info! --Raegn (talk) 03:05, 7 January 2025 (UTC)