GetDex
Returns the Dexterity stat of the mobile with ObjID.
Unlike Dex (which returns the current character’s own dexterity), this method can query any mobile’s stats.
Возвращает характеристику Ловкость (Dexterity) мобайла с ObjID.
В отличие от Dex (который возвращает ловкость текущего персонажа), этот метод может запрашивать статы любого мобайла.
function GetDex(ObjID: Cardinal): Integer;
Parameters:
- ObjID — ID of the mobile.
def GetDex(ObjID: int) -> int: ...
begin
while GetDex(Self) < 50 do
begin
// use skill for dex increasing
Wait(5000);
end;
end.
while GetDex(Self()) < 50:
Wait(5000)