LyokoWarrior

LyokoWarrior

Lyokowarrior is a class that represents..a Lyokowarrior (I mean, come on).

This object will be passed by LW events. To get the info on a specific LW, use the LyokoWarriors 'enum'-ish class.

Properties

A read-only list of LW_Statuses. Best way to check the specific status of a LW is to use lyokowarrior.Statusses.Contains(LW_Status.VIRTUALIZED)

HP

The int HP ('Health Points') describes the health of the Lyokowarrior. It's a number between 0 and MAX_HP, which is equal to 100.

To see if a LW is dead, it is better to check the Status

CantDevirt

This boolean will return true if the Statuses contains any of the following:

XANAFIED,PERMXANAFIED,LOST,NOEARTHCODE,DNACORRUPTED,FRONTIERED

Xanafied

This boolean will return true if the Statuses contains any of the following:

XANAFIED,PERMXANAFIED

Methods

IsRidingVehicle()

This method returns a boolean. This boolean is true if the warrior is riding an Overvehicle.

GetVehicle()

This method returns the Overvehicle that the Lyokowarrior is riding, or null.

RemoveEarthCode()

This method remove's the LW's Earth Code, so that they can't devirtualize. This is mostly used for Season 1 Aelita, where she is stuck on Lyoko.

It can be removed with the LW_CodeEarthResolvedEvent

Last updated

Was this helpful?