Toggle menu
278
2.4K
503
11.4K
Ultima Online Forever Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Controlling Pets: Difference between revisions

From Ultima Online Forever Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
__TOC__
__TOC__


'''The chance to controll a pet is calculated with an algorithm like this:'''  
'''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  
     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  
     Bonus = (((Taming * 4 + Lore) / 5) * 10) - (minSkillToTame * 10) // Taming and Lore are weighted  
Line 11: Line 14:
     Chance = Chance - (maxLoyalty - petLoyalty) * 10 // where loyalty is a value from 0 to 100  
     Chance = Chance - (maxLoyalty - petLoyalty) * 10 // where loyalty is a value from 0 to 100  
     Chance / 10 would give now the chance to controll in percent.
     Chance / 10 would give now the chance to controll in percent.


====Loyalty Gains and Decreases====
====Loyalty Gains and Decreases====
Line 17: Line 22:


:Feeding a pet has a chance of 50% to raise the pet's loyalty level - "You pet looks happier."
:Feeding a pet has a chance of 50% to raise the pet's loyalty level - "You pet looks happier."


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

Revision as of 01:43, 19 September 2014


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% - loyalty pentalties (see below) 
   If Chance > 990 then Chance = 990 // We cannot get higher than 99% 
   Chance = Chance - (maxLoyalty - petLoyalty) * 10 // where loyalty is a value from 0 to 100 
   Chance / 10 would give now the chance to controll in percent.


Loyalty Gains and Decreases

Every bad command reduces pet loyalty 1 point, every good command increases loyalty +1.
Once at every hour, pet loyalty is reduced by 10% of the max loyalty. This applies to all moveables at the same time - meaning if you fed your pet to "Wonderfully Happy" (= max) and the update happens 5 seconds later it will be reduced.
Feeding a pet has a chance of 50% to raise the pet's loyalty level - "You pet looks happier."


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