Animal Lore bug

Found a bug in UOX3? Or experienced a server crash? Perhaps you've noticed a broken feature? Post the details here!
Post Reply
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

Animal Lore bug

Post 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;
            }
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post 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).
-= Ho Eyo He Hum =-
Post Reply