ExtendedInfo
Returns the character’s extended information as a TExtendedInfo record. This data is available only for SE+ (Samurai Empire and later) era servers that send advanced stats.
In Python, this method is named GetExtInfo.
Возвращает расширенную информацию о персонаже в виде записи TExtendedInfo. Данные доступны только для серверов эры SE+ (Samurai Empire и выше), отправляющих расширенную статистику.
В Python метод называется GetExtInfo.
function ExtendedInfo: TExtendedInfo;
Type definition:
TExtendedInfo = packed record
MaxWeight: Word;
Race: Byte;
StatCap: Word;
PetsCurrent: Byte;
PetsMax: Byte;
FireResist: Word;
ColdResist: Word;
PoisonResist: Word;
EnergyResist: Word;
Luck: SmallInt;
DamageMin: Word;
DamageMax: Word;
Tithing_points: Cardinal;
ArmorMax: Word;
// ... and many more advanced combat stats
end;
def GetExtInfo() -> ExtendedInfo: ...
var
Info: TExtendedInfo;
begin
Info := ExtendedInfo;
AddToSystemJournal('Pets: ' + IntToStr(Info.PetsCurrent) + '/' + IntToStr(Info.PetsMax));
AddToSystemJournal('Luck: ' + IntToStr(Info.Luck));
AddToSystemJournal('Damage: ' + IntToStr(Info.DamageMin) + '-' + IntToStr(Info.DamageMax));
end.
info = GetExtInfo()
AddToSystemJournal(f'Pets: {info.PetsCurrent}/{info.PetsMax}')
AddToSystemJournal(f'Luck: {info.Luck}')
AddToSystemJournal(f'Damage: {info.DamageMin}-{info.DamageMax}')