Controlling Pets

From Ultima Online Forever Wiki
Revision as of 17:39, 18 September 2014 by Tamashii (talk | contribs) (Initial draft of the Pet Controlling Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a first draft of the page!

The chance to controll a pet is calculated with an algorithm like this:

   Chance = 700, Bonus = 0 // This is the base chance and base bonus 
   Bonus = (((Taming * 4 + Lore) / 5) * 10) - (minSkillToTame * 10) // Taming and Lore are weighted 
   If Bonus is <= 0 then Bonus = Bonus * 14 // If we are below the taming requirement it gets much harder 
   Else Bonus = Bonus * 6 // If we are above the taming requirement we get a moderate bonus 
   Chance = Chance + Bonus // Chance is modified by the bonus 
   If Chance >= 0 and < 200 then Chance = 200 // IF we can controll, there is a minimum chance of 20% - loyality pentalties (see below) 
   If Chance > 990 then Chance = 990 // We cannot get higher than 99% 
   Chance = Chance - (maxLoyality - petLoyality) * 10 // where loyality is a value from 0 to 100 
   Chance / 10 would give now the chance to controll in percent.

Loyality gains and decreases:

Every bad command reduces pet loyality 1 point, every good command increases loyalty +1.
Once at every hour, pet loyality is reduced by 10% of the max loyality. This applies to all moveables at the same time - meaning if you fed your pet to wonderfully happy and the update happens 5 seconds later it will be reduced.

(I'll try to get a JavaScript applet in that calculates the controll chances.)