Taming has couple small issues as well

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

Taming has couple small issues as well

Post by dragon slayer »

we have this
        if( !skillToTame )
        {
            pSock.SysMessage( GetDictionaryEntry( 1593, pLanguage ) ); // You can't tame that creature
            return;
        }
well it checks the

this code
var skillToTame = ourObj.skillToTame;
I am thinking that checks the TOTAME on the npc well cats our 0 skill to tame and i can't tame them.

so any animal with 0 skill to tame wont tame at all. if i change the TOTAME to TOTAME=1 i can tame them.
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 »

I think the fix here is to just give the animals that are supposed to be tameable at 0, a TOTAME value of 1, just like you did. Being unable to tame something with TOTAME=0 is a feature, and not a bug, because it prevents the player from being able to tame all the NPCs in the game that don't have a TOTAME value setup at all. :3

Because of how skills get bonuses from stats, the player will never actually have exactly 0 taming skill either, so taming an NPC that requires 0.01 taming skill shouldn't be a problem. *fingers crossed*
-= Ho Eyo He Hum =-
Post Reply