TL2User = class(TL2Char)

Class describing our char

Name Result Description Code Params Examples
CanCryst Boolean Returns true if our char can crystallize items
function CanCryst: Boolean;
There are no arguments
if (User.CanCryst) then Engine.CrystalItem(6579);  // Crystallization of Arcana Mace, if we can crystallize items
Charges Cardinal Number of charges (glad/tyrant)
function Charges: Cardinal;
There are no arguments Examples not found
WeightPenalty Cardinal Weight penalty
function WeightPenalty: Cardinal;
There are no arguments Examples not found
WeapPenalty Cardinal Penalty for wearing the wrong grade weapon
function WeapPenalty: Cardinal;
There are no arguments Examples not found
ArmorPenalty Cardinal Penalty for wearing the wrong grade armor
function ArmorPenalty: Cardinal;
There are no arguments Examples not found
DeathPenalty Cardinal Death penalty
function DeathPenalty: Cardinal;
There are no arguments Examples not found
Souls Cardinal Number of souls (kamael)
function Souls: Cardinal;
There are no arguments Examples not found
STR Cardinal
function STR: Cardinal;
There are no arguments Examples not found
DEX Cardinal
function DEX: Cardinal;
There are no arguments Examples not found
CON Cardinal
function CON: Cardinal;
There are no arguments Examples not found
INT Cardinal
function INT: Cardinal;
There are no arguments Examples not found
WIT Cardinal
function WIT: Cardinal;
There are no arguments Examples not found
MEN Cardinal
function MEN: Cardinal;
There are no arguments Examples not found
PAtk Cardinal
function PAtk: Cardinal;
There are no arguments Examples not found
PASpd Cardinal
function PASpd: Cardinal;
There are no arguments Examples not found
PDef Cardinal
function PDef: Cardinal;
There are no arguments Examples not found
Evasion Cardinal
function Evasion: Cardinal;
There are no arguments Examples not found
Accuracy Cardinal
function Accuracy: Cardinal;
There are no arguments Examples not found
CritHit Cardinal
function CritHit: Cardinal;
There are no arguments Examples not found
MAtk Cardinal
function MAtk: Cardinal;
There are no arguments Examples not found
MDef Cardinal
function MDef: Cardinal;
There are no arguments Examples not found
MAccuracy Cardinal
function MAccuracy: Cardinal;
There are no arguments Examples not found
MEvasioon Cardinal
function MEvasioon: Cardinal;
There are no arguments Examples not found
MCritical Cardinal
function MCritical: Cardinal;
There are no arguments Examples not found

Objects

Name Class Description
User TL2User User control object

Methods

Name Result Description
TL2Control.GetUser TL2User Gets user object (TL2User) from another account