From Stealth Client

Jump to: navigation, search
m (1 revision)
m
Line 5: Line 5:
[[Category:Character]]
[[Category:Character]]
</noinclude>
</noinclude>
-
 
== Armor ==
== Armor ==
-
<source lang="pascal">function Armor() : Word</source>
+
<source lang="pascal">function Armor():Word</source>
-
Возвращает параметр чара - ''кол-во "единиц" брони'' (Armor).
+
Returns the char -'' number of "units" of armor''(Armor).
-
В случае, если отсутствует соединение с UO сервером - вернет 0.  
+
If there is no connection to the UO server - returns 0.  
-
'''Пример:'''
+
'''Example:'''
<source lang="pascal">
<source lang="pascal">
-
   AddToSystemJournal('Armor rate: ' + IntToStr(Armor))
+
   AddToSystemJournal('Armor rate:' + IntToStr(Armor))
</source>
</source>

Revision as of 21:39, 15 February 2012


Armor

function Armor():Word

Returns the char - number of "units" of armor(Armor).

If there is no connection to the UO server - returns 0.

Example:

  AddToSystemJournal('Armor rate:' + IntToStr(Armor))