Controlling Pets: Difference between revisions
From Ultima Online Forever Wiki
mNo edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
(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.) | ||
=== Related Skills === | |||
[[Animal Lore]] | |||
[[Animal Taming]] |
Revision as of 00:47, 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.)