Page 1 of 1

Animal Lore bug

Posted: Thu May 04, 2023 2:06 am
by dragon slayer
in animal lore skill this line has to much skill points
            if( pUser.skills.animallore < 1000 && !ourObj.tamed )
            {
                // At your skill level, you can only lore tamed creatures.
                pSock.SysMessage( GetDictionaryEntry( 2132, pSock.language ));
                return;
            }
            else if( pUser.skills.animallore < 1100 && !ourObj.skillToTame )
            {
                // At your skill level, you can only lore tamed or tameable creatures.
                pSock.SysMessage( GetDictionaryEntry( 2133, pSock.language ));
                return;
            }
should be
            if( pUser.skills.animallore < 100 && !ourObj.tamed )
            {
                // At your skill level, you can only lore tamed creatures.
                pSock.SysMessage( GetDictionaryEntry( 2132, pSock.language ));
                return;
            }
            else if( pUser.skills.animallore < 110 && !ourObj.skillToTame )
            {
                // At your skill level, you can only lore tamed or tameable creatures.
                pSock.SysMessage( GetDictionaryEntry( 2133, pSock.language ));
                return;
            }

Re: Animal Lore bug

Posted: Thu May 04, 2023 4:41 am
by Xuri
For this one, I think it should be working as intended. The way the feature is supposed to work (AFAIK) is:
  • With less than 100.0 animal lore skill, the player can only use animal lore on already tamed creatures. Trying it on non-tamed creatures will not work.
  • With between 100 and 110 animal lore skill, player can use it on both already tamed AND non-tamed (but tameable) creatures.
This is also dependent on an AoS flag at top of script (which should probably be updated to check coreshardera setting instead).