Page 1 of 1

Taming has couple small issues as well

Posted: Thu May 04, 2023 2:07 am
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.

Re: Taming has couple small issues as well

Posted: Thu May 04, 2023 4:05 am
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*