Armor
Returns the character’s physical armor value (the “Armor” property displayed in the character status).
Returns 0 if the character is not connected to the UO server.
Возвращает значение физической брони персонажа (свойство «Armor», отображаемое в статусе персонажа).
Возвращает 0, если персонаж не подключён к серверу UO.
function Armor: SmallInt;
def Armor() -> int: ...
begin
AddToSystemJournal('Current armor: ' + IntToStr(Armor));
if Armor < 30 then
AddToSystemJournal('Warning: low armor value!');
end.
AddToSystemJournal(f'Current armor: {Armor()}')
if Armor() < 30:
AddToSystemJournal('Warning: low armor value!')