Armor resistances
The resistances a worn piece of armor gives, by the graphic of the piece, for the resistances. They count only while resistances = true in [ultima.combat]. The file may be
missing: no armor resists then.
The file is generated by tools/gen_armor_resistances.py from ModernUO’s armor classes; edit the script, not the file.
[[armor]]graphics = [0x0283, 0x0284, 0x0285, 0x0286, 0x0287, 0x0288, 0x0289, 0x028A]physical = 6fire = 6cold = 4poison = 8energy = 6| Field | Meaning |
|---|---|
graphics |
the graphics of the pieces that give these numbers (0 to 65535, none twice in the file) |
physical, fire, cold, poison, energy |
the resistance of each element, in percent, -100 to 100 |
A graphic shared by two armor classes (daemon bone and bone) takes the numbers of the first class. A wrong value stops the server at startup with the row named.
Made with ❤️ by Tom
