Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

PoisonResist

Returns the character’s poison resistance value.

Returns 0 if the character is not connected.

Возвращает значение сопротивления яду персонажа.

Возвращает 0, если персонаж не подключён.

Pascal

function PoisonResist: Word;

Python

def PoisonResist() -> int: ...

Pascal Example

begin
  AddToSystemJournal('Poison Resist: ' + IntToStr(PoisonResist));
end.

Python Example

AddToSystemJournal(f'Poison Resist: {PoisonResist()}')

See Also

FireResist, ColdResist, EnergyResist, Armor