Re: Armour value discovery [message #67418 is a reply to message #67376] |
Thu, 11 October 2012 08:12   |
 |
primavista
Messages: 30 Registered: June 2012 Location: Scotland
|
|
|
|
Sup, brahs?
Just thought I'd clear this up. Zero would be a multiplier, as the armour values for each piece is decided by multiplying the ArmourPercentage value by a number that is different for each set of armour, which I'm not quite sure where to find yet.
Still, it's simple once you work out the values for each armour set. These are:
No clothing = 384.5
Dress = 416
Villager = 500
Apprentice = 500
Will User = 500
(Fire) Assassin = 500
Bandit = 526
Leather = 666
Guard = 588
Chainmail = 833.3
Platemail = 1000
I still need to check the Archon's armour, but I'm assuming it'll be 1000 like the plate. The various bonus hats that don't have a "set" have various values, I can post them if anyone likes too. 
So, say I wanted all the shirts in the game to have 200 armour, I could use these numbers to sort out the armour values easily. Just take the number value for the armour set you're changing, divide it by the armour value you want in game, and, voila! The result is what you put in the ArmourPercentage array.
So... ArmourPercentage = SetValue/InGameValue
The game always rounds down though, so run your number back through a calculator to make sure it goes above the value you want. Also, some of the armour sets can be a little weird. For example, even though the Platemail set's value is definitely 1000, it sometimes rounds numbers down by an extra digit for some reason.
For example, entering 0.35 for a plate piece should give you 350, but for some reason it gives you 349. Simply enough though, just change it to something like 0.3501, which the game realises is definitely above 350.
Phew, that was long-winded. 
Well, hope this is of some help to people who were a little confused about how the armour values work. If we can just find this SetValue array I'll be happy.
"A humorous anecdote that makes you crease every time you read it."
"Great quote that is both philosophical and quality banter." - Some legendary person
|
|
|